CLASS net/minecraft/class_1735 net/minecraft/screen/slot/Slot COMMENT A slot of a screen handler that holds an item stack. A slot is temporary COMMENT holder that holds the stack for the lifetime of the screen handler. They are backed COMMENT by an inventory, which implements the persistent storage if necessary. COMMENT COMMENT

To add slots, call {@link net.minecraft.screen.ScreenHandler#addSlot} inside COMMENT the screen handler's constructor. FIELD field_7871 inventory Lnet/minecraft/class_1263; FIELD field_7872 y I FIELD field_7873 x I FIELD field_7874 id I FIELD field_7875 index I METHOD (Lnet/minecraft/class_1263;III)V ARG 1 inventory ARG 2 index ARG 3 x ARG 4 y METHOD method_32753 takeStackRange (IILnet/minecraft/class_1657;)Lnet/minecraft/class_1799; ARG 1 min ARG 2 max ARG 3 player METHOD method_32754 canTakePartial (Lnet/minecraft/class_1657;)Z ARG 1 player METHOD method_32755 insertStack (Lnet/minecraft/class_1799;I)Lnet/minecraft/class_1799; ARG 1 stack ARG 2 count METHOD method_32756 insertStack (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799; ARG 1 stack METHOD method_34264 tryTakeStackRange (IILnet/minecraft/class_1657;)Ljava/util/Optional; ARG 1 min ARG 2 max ARG 3 player METHOD method_34265 (Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V ARG 2 stack METHOD method_34266 getIndex ()I METHOD method_48931 setStack (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V COMMENT Sets the slot's stack to {@code stack} and marks the slot as dirty. Subclasses COMMENT may override this method to perform additional operations. ARG 1 stack ARG 2 previousStack METHOD method_51306 canBeHighlighted ()Z METHOD method_53512 setStack (Lnet/minecraft/class_1799;)V ARG 1 stack METHOD method_55059 disablesDynamicDisplay ()Z COMMENT {@return {@code true} to disable dynamic display for clocks and compasses} METHOD method_7667 onTakeItem (Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V ARG 1 player ARG 2 stack METHOD method_7668 markDirty ()V METHOD method_7669 onCrafted (Lnet/minecraft/class_1799;)V ARG 1 stack METHOD method_7670 onQuickTransfer (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V ARG 1 newItem ARG 2 original METHOD method_7671 takeStack (I)Lnet/minecraft/class_1799; ARG 1 amount METHOD method_7672 onTake (I)V ARG 1 amount METHOD method_7673 setStackNoCallbacks (Lnet/minecraft/class_1799;)V ARG 1 stack METHOD method_7674 canTakeItems (Lnet/minecraft/class_1657;)Z ARG 1 playerEntity METHOD method_7675 getMaxItemCount ()I METHOD method_7676 getMaxItemCount (Lnet/minecraft/class_1799;)I ARG 1 stack METHOD method_7677 getStack ()Lnet/minecraft/class_1799; METHOD method_7678 onCrafted (Lnet/minecraft/class_1799;I)V ARG 1 stack ARG 2 amount METHOD method_7679 getBackgroundSprite ()Lcom/mojang/datafixers/util/Pair; METHOD method_7680 canInsert (Lnet/minecraft/class_1799;)Z ARG 1 stack METHOD method_7681 hasStack ()Z METHOD method_7682 isEnabled ()Z