CLASS net/minecraft/class_5630 net/minecraft/inventory/CommandItemSlot COMMENT Represents an item slot for command access. Usually obtained from entities. COMMENT COMMENT

Some dispenser behaviors also use this to simulate commands' behavior COMMENT of equipping items. COMMENT COMMENT @see net.minecraft.entity.Entity#getCommandItemSlot(int) FIELD field_27860 EMPTY Lnet/minecraft/class_5630; COMMENT An immutable empty slot. METHOD method_32327 get ()Lnet/minecraft/class_1799; COMMENT Gets the current item stack in this slot. METHOD method_32328 of (Lnet/minecraft/class_1263;I)Lnet/minecraft/class_5630; COMMENT Creates a slot backed by an index within an inventory. ARG 0 inventory ARG 1 index METHOD method_32329 of (Lnet/minecraft/class_1263;ILjava/util/function/Predicate;)Lnet/minecraft/class_5630; COMMENT Creates a slot backed by an index within an inventory and guarded by COMMENT a condition for setting stacks into the inventory. ARG 0 inventory ARG 1 index ARG 2 stackFilter COMMENT the condition to guard stack setting METHOD method_32330 of (Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;)Lnet/minecraft/class_5630; COMMENT Creates a slot backed by an equipment slot of an living entity. ARG 0 entity ARG 1 equipmentSlot METHOD method_32331 of (Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;Ljava/util/function/Predicate;)Lnet/minecraft/class_5630; COMMENT Creates a slot backed by an equipment slot of an living entity and guarded by COMMENT a condition for setting stacks into the inventory. ARG 0 entity ARG 1 equipmentSlot ARG 2 stackFilter COMMENT the condition to guard stack setting METHOD method_32332 set (Lnet/minecraft/class_1799;)Z COMMENT Sets the {@code stack} to this slot. COMMENT COMMENT @return {@code true} if the setting is successful, {@code false} if rejected ARG 1 stack COMMENT the item stack to set METHOD method_32333 (Lnet/minecraft/class_1799;)Z ARG 0 stack METHOD method_32334 (Lnet/minecraft/class_1799;)Z ARG 0 stack