}
cond = joinAnd(cond, new ConditionSlotItemId(slot, id, enchant));
}
else if("direction".equalsIgnoreCase(nodeName))
{
TargetDirection Direction = TargetDirection.valueOf(nodeValue.toUpperCase());
cond = joinAnd(cond, new ConditionTargetDirection(Direction));
}
else if("instanceof".equalsIgnoreCase(nodeName))
{
cond = joinAnd(cond, new ConditionInstanceOf(nodeValue, true));