Class ExprSlotIndex

All Implemented Interfaces:
Converter<Slot,​Long>, Debuggable, Expression<Long>, SyntaxElement

@Name("Slot Index") @Description("Index of an an inventory slot. Other types of slots may or may not have indices. Note that comparing slots with numbers is also possible; if index of slot is same as the number, comparisonsucceeds. This expression is mainly for the cases where you must for some reason save the slot numbers.") @Examples({"if index of event-slot is 10:","\tsend \"You bought a pie!\""}) @Since("2.2-dev35") public class ExprSlotIndex extends SimplePropertyExpression<Slot,​Long>