Class ScreenHandler

java.lang.Object
net.minecraft.screen.ScreenHandler
Direct Known Subclasses:
AbstractRecipeScreenHandler, BeaconScreenHandler, BrewingStandScreenHandler, CartographyTableScreenHandler, CreativeInventoryScreen.CreativeScreenHandler, EnchantmentScreenHandler, ForgingScreenHandler, Generic3x3ContainerScreenHandler, GenericContainerScreenHandler, GrindstoneScreenHandler, HopperScreenHandler, HorseScreenHandler, LecternScreenHandler, LoomScreenHandler, MerchantScreenHandler, ShulkerBoxScreenHandler, StonecutterScreenHandler

public abstract class ScreenHandler extends Object
Mappings:
Namespace Name
official bpx
intermediary net/minecraft/class_1703
named net/minecraft/screen/ScreenHandler
  • Field Details

    • EMPTY_SPACE_SLOT_INDEX

      public static final int EMPTY_SPACE_SLOT_INDEX
      A special slot index value (-999) indicating that the player has clicked outside the main panel of a screen. Used for dropping the cursor stack.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a:I
      intermediary field_30730 Lnet/minecraft/class_1703;field_30730:I
      named EMPTY_SPACE_SLOT_INDEX Lnet/minecraft/screen/ScreenHandler;EMPTY_SPACE_SLOT_INDEX:I
    • field_30731

      public static final int field_30731
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b:I
      intermediary field_30731 Lnet/minecraft/class_1703;field_30731:I
      named field_30731 Lnet/minecraft/screen/ScreenHandler;field_30731:I
    • field_30732

      public static final int field_30732
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c:I
      intermediary field_30732 Lnet/minecraft/class_1703;field_30732:I
      named field_30732 Lnet/minecraft/screen/ScreenHandler;field_30732:I
    • field_30733

      public static final int field_30733
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbpx;d:I
      intermediary field_30733 Lnet/minecraft/class_1703;field_30733:I
      named field_30733 Lnet/minecraft/screen/ScreenHandler;field_30733:I
    • field_30734

      public static final int field_30734
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbpx;e:I
      intermediary field_30734 Lnet/minecraft/class_1703;field_30734:I
      named field_30734 Lnet/minecraft/screen/ScreenHandler;field_30734:I
    • field_30735

      public static final int field_30735
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbpx;f:I
      intermediary field_30735 Lnet/minecraft/class_1703;field_30735:I
      named field_30735 Lnet/minecraft/screen/ScreenHandler;field_30735:I
    • field_30736

      public static final int field_30736
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbpx;g:I
      intermediary field_30736 Lnet/minecraft/class_1703;field_30736:I
      named field_30736 Lnet/minecraft/screen/ScreenHandler;field_30736:I
    • field_30737

      public static final int field_30737
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lbpx;h:I
      intermediary field_30737 Lnet/minecraft/class_1703;field_30737:I
      named field_30737 Lnet/minecraft/screen/ScreenHandler;field_30737:I
    • trackedStacks

      private final DefaultedList<ItemStack> trackedStacks
      A list of item stacks that is used for tracking changes in sendContentUpdates().
      Mappings:
      Namespace Name Mixin selector
      official k Lbpx;k:Lgt;
      intermediary field_7764 Lnet/minecraft/class_1703;field_7764:Lnet/minecraft/class_2371;
      named trackedStacks Lnet/minecraft/screen/ScreenHandler;trackedStacks:Lnet/minecraft/util/collection/DefaultedList;
    • slots

      public final DefaultedList<Slot> slots
      Mappings:
      Namespace Name Mixin selector
      official i Lbpx;i:Lgt;
      intermediary field_7761 Lnet/minecraft/class_1703;field_7761:Lnet/minecraft/class_2371;
      named slots Lnet/minecraft/screen/ScreenHandler;slots:Lnet/minecraft/util/collection/DefaultedList;
    • properties

      private final List<Property> properties
      Mappings:
      Namespace Name Mixin selector
      official l Lbpx;l:Ljava/util/List;
      intermediary field_17285 Lnet/minecraft/class_1703;field_17285:Ljava/util/List;
      named properties Lnet/minecraft/screen/ScreenHandler;properties:Ljava/util/List;
    • cursorStack

      private ItemStack cursorStack
      Mappings:
      Namespace Name Mixin selector
      official m Lbpx;m:Lbue;
      intermediary field_29205 Lnet/minecraft/class_1703;field_29205:Lnet/minecraft/class_1799;
      named cursorStack Lnet/minecraft/screen/ScreenHandler;cursorStack:Lnet/minecraft/item/ItemStack;
    • previousTrackedStacks

      private final DefaultedList<ItemStack> previousTrackedStacks
      Mappings:
      Namespace Name Mixin selector
      official n Lbpx;n:Lgt;
      intermediary field_29206 Lnet/minecraft/class_1703;field_29206:Lnet/minecraft/class_2371;
      named previousTrackedStacks Lnet/minecraft/screen/ScreenHandler;previousTrackedStacks:Lnet/minecraft/util/collection/DefaultedList;
    • trackedPropertyValues

      private final IntList trackedPropertyValues
      Mappings:
      Namespace Name Mixin selector
      official o Lbpx;o:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_29559 Lnet/minecraft/class_1703;field_29559:Lit/unimi/dsi/fastutil/ints/IntList;
      named trackedPropertyValues Lnet/minecraft/screen/ScreenHandler;trackedPropertyValues:Lit/unimi/dsi/fastutil/ints/IntList;
    • previousCursorStack

      private ItemStack previousCursorStack
      Mappings:
      Namespace Name Mixin selector
      official p Lbpx;p:Lbue;
      intermediary field_29207 Lnet/minecraft/class_1703;field_29207:Lnet/minecraft/class_1799;
      named previousCursorStack Lnet/minecraft/screen/ScreenHandler;previousCursorStack:Lnet/minecraft/item/ItemStack;
    • revision

      private int revision
      Mappings:
      Namespace Name Mixin selector
      official q Lbpx;q:I
      intermediary field_34024 Lnet/minecraft/class_1703;field_34024:I
      named revision Lnet/minecraft/screen/ScreenHandler;revision:I
    • type

      @Nullable private final @Nullable ScreenHandlerType<?> type
      Mappings:
      Namespace Name Mixin selector
      official r Lbpx;r:Lbrb;
      intermediary field_17493 Lnet/minecraft/class_1703;field_17493:Lnet/minecraft/class_3917;
      named type Lnet/minecraft/screen/ScreenHandler;type:Lnet/minecraft/screen/ScreenHandlerType;
    • syncId

      public final int syncId
      Mappings:
      Namespace Name Mixin selector
      official j Lbpx;j:I
      intermediary field_7763 Lnet/minecraft/class_1703;field_7763:I
      named syncId Lnet/minecraft/screen/ScreenHandler;syncId:I
    • quickCraftButton

      private int quickCraftButton
      Mappings:
      Namespace Name Mixin selector
      official s Lbpx;s:I
      intermediary field_7762 Lnet/minecraft/class_1703;field_7762:I
      named quickCraftButton Lnet/minecraft/screen/ScreenHandler;quickCraftButton:I
    • quickCraftStage

      private int quickCraftStage
      Mappings:
      Namespace Name Mixin selector
      official t Lbpx;t:I
      intermediary field_7759 Lnet/minecraft/class_1703;field_7759:I
      named quickCraftStage Lnet/minecraft/screen/ScreenHandler;quickCraftStage:I
    • quickCraftSlots

      private final Set<Slot> quickCraftSlots
      Mappings:
      Namespace Name Mixin selector
      official u Lbpx;u:Ljava/util/Set;
      intermediary field_7757 Lnet/minecraft/class_1703;field_7757:Ljava/util/Set;
      named quickCraftSlots Lnet/minecraft/screen/ScreenHandler;quickCraftSlots:Ljava/util/Set;
    • listeners

      private final List<ScreenHandlerListener> listeners
      Mappings:
      Namespace Name Mixin selector
      official v Lbpx;v:Ljava/util/List;
      intermediary field_7765 Lnet/minecraft/class_1703;field_7765:Ljava/util/List;
      named listeners Lnet/minecraft/screen/ScreenHandler;listeners:Ljava/util/List;
    • syncHandler

      Mappings:
      Namespace Name Mixin selector
      official w Lbpx;w:Lbqk;
      intermediary field_29208 Lnet/minecraft/class_1703;field_29208:Lnet/minecraft/class_5916;
      named syncHandler Lnet/minecraft/screen/ScreenHandler;syncHandler:Lnet/minecraft/screen/ScreenHandlerSyncHandler;
    • disableSync

      private boolean disableSync
      Mappings:
      Namespace Name Mixin selector
      official x Lbpx;x:Z
      intermediary field_29209 Lnet/minecraft/class_1703;field_29209:Z
      named disableSync Lnet/minecraft/screen/ScreenHandler;disableSync:Z
  • Constructor Details

    • ScreenHandler

      protected ScreenHandler(@Nullable @Nullable ScreenHandlerType<?> type, int syncId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpx;<init>(Lbrb;I)V
      intermediary <init> Lnet/minecraft/class_1703;<init>(Lnet/minecraft/class_3917;I)V
      named <init> Lnet/minecraft/screen/ScreenHandler;<init>(Lnet/minecraft/screen/ScreenHandlerType;I)V
  • Method Details

    • canUse

      protected static boolean canUse(ScreenHandlerContext context, PlayerEntity player, Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbqi;Lbnr;Lccy;)Z
      intermediary method_17695 Lnet/minecraft/class_1703;method_17695(Lnet/minecraft/class_3914;Lnet/minecraft/class_1657;Lnet/minecraft/class_2248;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/screen/ScreenHandlerContext;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/block/Block;)Z
    • getType

      public ScreenHandlerType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a()Lbrb;
      intermediary method_17358 Lnet/minecraft/class_1703;method_17358()Lnet/minecraft/class_3917;
      named getType Lnet/minecraft/screen/ScreenHandler;getType()Lnet/minecraft/screen/ScreenHandlerType;
    • checkSize

      protected static void checkSize(Inventory inventory, int expectedSize)
      Checks that the size of the provided inventory is at least as large as the expectedSize.
      Throws:
      IllegalArgumentException - if the inventory size is smaller than expectedSize
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lavj;I)V
      intermediary method_17359 Lnet/minecraft/class_1703;method_17359(Lnet/minecraft/class_1263;I)V
      named checkSize Lnet/minecraft/screen/ScreenHandler;checkSize(Lnet/minecraft/inventory/Inventory;I)V
    • checkDataCount

      protected static void checkDataCount(PropertyDelegate data, int expectedCount)
      Checks that the size of the data is at least as large as the expectedCount.
      Throws:
      IllegalArgumentException - if the data has a smaller size than expectedCount
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbqh;I)V
      intermediary method_17361 Lnet/minecraft/class_1703;method_17361(Lnet/minecraft/class_3913;I)V
      named checkDataCount Lnet/minecraft/screen/ScreenHandler;checkDataCount(Lnet/minecraft/screen/PropertyDelegate;I)V
    • addSlot

      protected Slot addSlot(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbro;)Lbro;
      intermediary method_7621 Lnet/minecraft/class_1703;method_7621(Lnet/minecraft/class_1735;)Lnet/minecraft/class_1735;
      named addSlot Lnet/minecraft/screen/ScreenHandler;addSlot(Lnet/minecraft/screen/slot/Slot;)Lnet/minecraft/screen/slot/Slot;
    • addProperty

      protected Property addProperty(Property property)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbqn;)Lbqn;
      intermediary method_17362 Lnet/minecraft/class_1703;method_17362(Lnet/minecraft/class_3915;)Lnet/minecraft/class_3915;
      named addProperty Lnet/minecraft/screen/ScreenHandler;addProperty(Lnet/minecraft/screen/Property;)Lnet/minecraft/screen/Property;
    • addProperties

      protected void addProperties(PropertyDelegate propertyDelegate)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbqh;)V
      intermediary method_17360 Lnet/minecraft/class_1703;method_17360(Lnet/minecraft/class_3913;)V
      named addProperties Lnet/minecraft/screen/ScreenHandler;addProperties(Lnet/minecraft/screen/PropertyDelegate;)V
    • addListener

      public void addListener(ScreenHandlerListener listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbqj;)V
      intermediary method_7596 Lnet/minecraft/class_1703;method_7596(Lnet/minecraft/class_1712;)V
      named addListener Lnet/minecraft/screen/ScreenHandler;addListener(Lnet/minecraft/screen/ScreenHandlerListener;)V
    • updateSyncHandler

      public void updateSyncHandler(ScreenHandlerSyncHandler handler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbqk;)V
      intermediary method_34248 Lnet/minecraft/class_1703;method_34248(Lnet/minecraft/class_5916;)V
      named updateSyncHandler Lnet/minecraft/screen/ScreenHandler;updateSyncHandler(Lnet/minecraft/screen/ScreenHandlerSyncHandler;)V
    • syncState

      public void syncState()
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b()V
      intermediary method_34252 Lnet/minecraft/class_1703;method_34252()V
      named syncState Lnet/minecraft/screen/ScreenHandler;syncState()V
    • removeListener

      public void removeListener(ScreenHandlerListener listener)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lbqj;)V
      intermediary method_7603 Lnet/minecraft/class_1703;method_7603(Lnet/minecraft/class_1712;)V
      named removeListener Lnet/minecraft/screen/ScreenHandler;removeListener(Lnet/minecraft/screen/ScreenHandlerListener;)V
    • getStacks

      public DefaultedList<ItemStack> getStacks()
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c()Lgt;
      intermediary method_7602 Lnet/minecraft/class_1703;method_7602()Lnet/minecraft/class_2371;
      named getStacks Lnet/minecraft/screen/ScreenHandler;getStacks()Lnet/minecraft/util/collection/DefaultedList;
    • sendContentUpdates

      public void sendContentUpdates()
      Sends updates to listeners if any properties or slot stacks have changed.
      Mappings:
      Namespace Name Mixin selector
      official d Lbpx;d()V
      intermediary method_7623 Lnet/minecraft/class_1703;method_7623()V
      named sendContentUpdates Lnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
    • updateToClient

      public void updateToClient()
      Mappings:
      Namespace Name Mixin selector
      official e Lbpx;e()V
      intermediary method_37420 Lnet/minecraft/class_1703;method_37420()V
      named updateToClient Lnet/minecraft/screen/ScreenHandler;updateToClient()V
    • notifyPropertyUpdate

      private void notifyPropertyUpdate(int index, int value)
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c(II)V
      intermediary method_37419 Lnet/minecraft/class_1703;method_37419(II)V
      named notifyPropertyUpdate Lnet/minecraft/screen/ScreenHandler;notifyPropertyUpdate(II)V
    • updateTrackedSlot

      private void updateTrackedSlot(int slot, ItemStack stack, Supplier<ItemStack> copySupplier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(ILbue;Ljava/util/function/Supplier;)V
      intermediary method_34246 Lnet/minecraft/class_1703;method_34246(ILnet/minecraft/class_1799;Ljava/util/function/Supplier;)V
      named updateTrackedSlot Lnet/minecraft/screen/ScreenHandler;updateTrackedSlot(ILnet/minecraft/item/ItemStack;Ljava/util/function/Supplier;)V
    • checkSlotUpdates

      private void checkSlotUpdates(int slot, ItemStack stack, Supplier<ItemStack> copySupplier)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(ILbue;Ljava/util/function/Supplier;)V
      intermediary method_34253 Lnet/minecraft/class_1703;method_34253(ILnet/minecraft/class_1799;Ljava/util/function/Supplier;)V
      named checkSlotUpdates Lnet/minecraft/screen/ScreenHandler;checkSlotUpdates(ILnet/minecraft/item/ItemStack;Ljava/util/function/Supplier;)V
    • checkPropertyUpdates

      private void checkPropertyUpdates(int id, int value)
      Mappings:
      Namespace Name Mixin selector
      official d Lbpx;d(II)V
      intermediary method_34715 Lnet/minecraft/class_1703;method_34715(II)V
      named checkPropertyUpdates Lnet/minecraft/screen/ScreenHandler;checkPropertyUpdates(II)V
    • checkCursorStackUpdates

      private void checkCursorStackUpdates()
      Mappings:
      Namespace Name Mixin selector
      official l Lbpx;l()V
      intermediary method_34258 Lnet/minecraft/class_1703;method_34258()V
      named checkCursorStackUpdates Lnet/minecraft/screen/ScreenHandler;checkCursorStackUpdates()V
    • setPreviousTrackedSlot

      public void setPreviousTrackedSlot(int slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(ILbue;)V
      intermediary method_34245 Lnet/minecraft/class_1703;method_34245(ILnet/minecraft/class_1799;)V
      named setPreviousTrackedSlot Lnet/minecraft/screen/ScreenHandler;setPreviousTrackedSlot(ILnet/minecraft/item/ItemStack;)V
    • setPreviousTrackedSlotMutable

      public void setPreviousTrackedSlotMutable(int slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(ILbue;)V
      intermediary method_37449 Lnet/minecraft/class_1703;method_37449(ILnet/minecraft/class_1799;)V
      named setPreviousTrackedSlotMutable Lnet/minecraft/screen/ScreenHandler;setPreviousTrackedSlotMutable(ILnet/minecraft/item/ItemStack;)V
    • setPreviousCursorStack

      public void setPreviousCursorStack(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbue;)V
      intermediary method_34250 Lnet/minecraft/class_1703;method_34250(Lnet/minecraft/class_1799;)V
      named setPreviousCursorStack Lnet/minecraft/screen/ScreenHandler;setPreviousCursorStack(Lnet/minecraft/item/ItemStack;)V
    • onButtonClick

      public boolean onButtonClick(PlayerEntity player, int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbnr;I)Z
      intermediary method_7604 Lnet/minecraft/class_1703;method_7604(Lnet/minecraft/class_1657;I)Z
      named onButtonClick Lnet/minecraft/screen/ScreenHandler;onButtonClick(Lnet/minecraft/entity/player/PlayerEntity;I)Z
    • getSlot

      public Slot getSlot(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(I)Lbro;
      intermediary method_7611 Lnet/minecraft/class_1703;method_7611(I)Lnet/minecraft/class_1735;
      named getSlot Lnet/minecraft/screen/ScreenHandler;getSlot(I)Lnet/minecraft/screen/slot/Slot;
    • transferSlot

      public ItemStack transferSlot(PlayerEntity player, int index)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lbnr;I)Lbue;
      intermediary method_7601 Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
      named transferSlot Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
    • onSlotClick

      public void onSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player)
      Performs a slot click. This can behave in many different ways depending mainly on the action type.
      Parameters:
      actionType - the type of slot click, check the docs for each SlotActionType value for details
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(IILbqg;Lbnr;)V
      intermediary method_7593 Lnet/minecraft/class_1703;method_7593(IILnet/minecraft/class_1713;Lnet/minecraft/class_1657;)V
      named onSlotClick Lnet/minecraft/screen/ScreenHandler;onSlotClick(IILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/entity/player/PlayerEntity;)V
    • internalOnSlotClick

      private void internalOnSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player)
      The actual logic that handles a slot click. Called by (int, int, SlotActionType, PlayerEntity) in a try-catch block that wraps exceptions from this method into a crash report.
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(IILbqg;Lbnr;)V
      intermediary method_30010 Lnet/minecraft/class_1703;method_30010(IILnet/minecraft/class_1713;Lnet/minecraft/class_1657;)V
      named internalOnSlotClick Lnet/minecraft/screen/ScreenHandler;internalOnSlotClick(IILnet/minecraft/screen/slot/SlotActionType;Lnet/minecraft/entity/player/PlayerEntity;)V
    • getCursorStackReference

      private StackReference getCursorStackReference()
      Mappings:
      Namespace Name Mixin selector
      official m Lbpx;m()Laxy;
      intermediary method_34259 Lnet/minecraft/class_1703;method_34259()Lnet/minecraft/class_5630;
      named getCursorStackReference Lnet/minecraft/screen/ScreenHandler;getCursorStackReference()Lnet/minecraft/inventory/StackReference;
    • canInsertIntoSlot

      public boolean canInsertIntoSlot(ItemStack stack, Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbue;Lbro;)Z
      intermediary method_7613 Lnet/minecraft/class_1703;method_7613(Lnet/minecraft/class_1799;Lnet/minecraft/class_1735;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/item/ItemStack;Lnet/minecraft/screen/slot/Slot;)Z
    • close

      public void close(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lbnr;)V
      intermediary method_7595 Lnet/minecraft/class_1703;method_7595(Lnet/minecraft/class_1657;)V
      named close Lnet/minecraft/screen/ScreenHandler;close(Lnet/minecraft/entity/player/PlayerEntity;)V
    • dropInventory

      protected void dropInventory(PlayerEntity player, Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbnr;Lavj;)V
      intermediary method_7607 Lnet/minecraft/class_1703;method_7607(Lnet/minecraft/class_1657;Lnet/minecraft/class_1263;)V
      named dropInventory Lnet/minecraft/screen/ScreenHandler;dropInventory(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/Inventory;)V
    • onContentChanged

      public void onContentChanged(Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lavj;)V
      intermediary method_7609 Lnet/minecraft/class_1703;method_7609(Lnet/minecraft/class_1263;)V
      named onContentChanged Lnet/minecraft/screen/ScreenHandler;onContentChanged(Lnet/minecraft/inventory/Inventory;)V
    • setStackInSlot

      public void setStackInSlot(int slot, int revision, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(IILbue;)V
      intermediary method_7619 Lnet/minecraft/class_1703;method_7619(IILnet/minecraft/class_1799;)V
      named setStackInSlot Lnet/minecraft/screen/ScreenHandler;setStackInSlot(IILnet/minecraft/item/ItemStack;)V
    • updateSlotStacks

      public void updateSlotStacks(int revision, List<ItemStack> stacks, ItemStack cursorStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(ILjava/util/List;Lbue;)V
      intermediary method_7610 Lnet/minecraft/class_1703;method_7610(ILjava/util/List;Lnet/minecraft/class_1799;)V
      named updateSlotStacks Lnet/minecraft/screen/ScreenHandler;updateSlotStacks(ILjava/util/List;Lnet/minecraft/item/ItemStack;)V
    • setProperty

      public void setProperty(int id, int value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(II)V
      intermediary method_7606 Lnet/minecraft/class_1703;method_7606(II)V
      named setProperty Lnet/minecraft/screen/ScreenHandler;setProperty(II)V
    • canUse

      public abstract boolean canUse(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbnr;)Z
      intermediary method_7597 Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
      named canUse Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • insertItem

      protected boolean insertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbue;IIZ)Z
      intermediary method_7616 Lnet/minecraft/class_1703;method_7616(Lnet/minecraft/class_1799;IIZ)Z
      named insertItem Lnet/minecraft/screen/ScreenHandler;insertItem(Lnet/minecraft/item/ItemStack;IIZ)Z
    • unpackQuickCraftButton

      public static int unpackQuickCraftButton(int quickCraftData)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(I)I
      intermediary method_7620 Lnet/minecraft/class_1703;method_7620(I)I
      named unpackQuickCraftButton Lnet/minecraft/screen/ScreenHandler;unpackQuickCraftButton(I)I
    • unpackQuickCraftStage

      public static int unpackQuickCraftStage(int quickCraftData)
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c(I)I
      intermediary method_7594 Lnet/minecraft/class_1703;method_7594(I)I
      named unpackQuickCraftStage Lnet/minecraft/screen/ScreenHandler;unpackQuickCraftStage(I)I
    • packQuickCraftData

      public static int packQuickCraftData(int quickCraftStage, int buttonId)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(II)I
      intermediary method_7591 Lnet/minecraft/class_1703;method_7591(II)I
      named packQuickCraftData Lnet/minecraft/screen/ScreenHandler;packQuickCraftData(II)I
    • shouldQuickCraftContinue

      public static boolean shouldQuickCraftContinue(int stage, PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(ILbnr;)Z
      intermediary method_7600 Lnet/minecraft/class_1703;method_7600(ILnet/minecraft/class_1657;)Z
      named shouldQuickCraftContinue Lnet/minecraft/screen/ScreenHandler;shouldQuickCraftContinue(ILnet/minecraft/entity/player/PlayerEntity;)Z
    • endQuickCraft

      protected void endQuickCraft()
      Mappings:
      Namespace Name Mixin selector
      official f Lbpx;f()V
      intermediary method_7605 Lnet/minecraft/class_1703;method_7605()V
      named endQuickCraft Lnet/minecraft/screen/ScreenHandler;endQuickCraft()V
    • canInsertItemIntoSlot

      public static boolean canInsertItemIntoSlot(@Nullable @Nullable Slot slot, ItemStack stack, boolean allowOverflow)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbro;Lbue;Z)Z
      intermediary method_7592 Lnet/minecraft/class_1703;method_7592(Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;Z)Z
      named canInsertItemIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertItemIntoSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/item/ItemStack;Z)Z
    • calculateStackSize

      public static void calculateStackSize(Set<Slot> slots, int mode, ItemStack stack, int stackSize)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Ljava/util/Set;ILbue;I)V
      intermediary method_7617 Lnet/minecraft/class_1703;method_7617(Ljava/util/Set;ILnet/minecraft/class_1799;I)V
      named calculateStackSize Lnet/minecraft/screen/ScreenHandler;calculateStackSize(Ljava/util/Set;ILnet/minecraft/item/ItemStack;I)V
    • canInsertIntoSlot

      public boolean canInsertIntoSlot(Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lbro;)Z
      intermediary method_7615 Lnet/minecraft/class_1703;method_7615(Lnet/minecraft/class_1735;)Z
      named canInsertIntoSlot Lnet/minecraft/screen/ScreenHandler;canInsertIntoSlot(Lnet/minecraft/screen/slot/Slot;)Z
    • calculateComparatorOutput

      public static int calculateComparatorOutput(@Nullable @Nullable BlockEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lclz;)I
      intermediary method_7608 Lnet/minecraft/class_1703;method_7608(Lnet/minecraft/class_2586;)I
      named calculateComparatorOutput Lnet/minecraft/screen/ScreenHandler;calculateComparatorOutput(Lnet/minecraft/block/entity/BlockEntity;)I
    • calculateComparatorOutput

      public static int calculateComparatorOutput(@Nullable @Nullable Inventory inventory)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lavj;)I
      intermediary method_7618 Lnet/minecraft/class_1703;method_7618(Lnet/minecraft/class_1263;)I
      named calculateComparatorOutput Lnet/minecraft/screen/ScreenHandler;calculateComparatorOutput(Lnet/minecraft/inventory/Inventory;)I
    • setCursorStack

      public void setCursorStack(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lbue;)V
      intermediary method_34254 Lnet/minecraft/class_1703;method_34254(Lnet/minecraft/class_1799;)V
      named setCursorStack Lnet/minecraft/screen/ScreenHandler;setCursorStack(Lnet/minecraft/item/ItemStack;)V
    • getCursorStack

      public ItemStack getCursorStack()
      Mappings:
      Namespace Name Mixin selector
      official g Lbpx;g()Lbue;
      intermediary method_34255 Lnet/minecraft/class_1703;method_34255()Lnet/minecraft/class_1799;
      named getCursorStack Lnet/minecraft/screen/ScreenHandler;getCursorStack()Lnet/minecraft/item/ItemStack;
    • disableSyncing

      public void disableSyncing()
      Mappings:
      Namespace Name Mixin selector
      official h Lbpx;h()V
      intermediary method_34256 Lnet/minecraft/class_1703;method_34256()V
      named disableSyncing Lnet/minecraft/screen/ScreenHandler;disableSyncing()V
    • enableSyncing

      public void enableSyncing()
      Mappings:
      Namespace Name Mixin selector
      official i Lbpx;i()V
      intermediary method_34257 Lnet/minecraft/class_1703;method_34257()V
      named enableSyncing Lnet/minecraft/screen/ScreenHandler;enableSyncing()V
    • copySharedSlots

      public void copySharedSlots(ScreenHandler handler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpx;)V
      intermediary method_34247 Lnet/minecraft/class_1703;method_34247(Lnet/minecraft/class_1703;)V
      named copySharedSlots Lnet/minecraft/screen/ScreenHandler;copySharedSlots(Lnet/minecraft/screen/ScreenHandler;)V
    • getSlotIndex

      public OptionalInt getSlotIndex(Inventory inventory, int index)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lavj;I)Ljava/util/OptionalInt;
      intermediary method_37418 Lnet/minecraft/class_1703;method_37418(Lnet/minecraft/class_1263;I)Ljava/util/OptionalInt;
      named getSlotIndex Lnet/minecraft/screen/ScreenHandler;getSlotIndex(Lnet/minecraft/inventory/Inventory;I)Ljava/util/OptionalInt;
    • getRevision

      public int getRevision()
      Mappings:
      Namespace Name Mixin selector
      official j Lbpx;j()I
      intermediary method_37421 Lnet/minecraft/class_1703;method_37421()I
      named getRevision Lnet/minecraft/screen/ScreenHandler;getRevision()I
    • nextRevision

      public int nextRevision()
      Mappings:
      Namespace Name Mixin selector
      official k Lbpx;k()I
      intermediary method_37422 Lnet/minecraft/class_1703;method_37422()I
      named nextRevision Lnet/minecraft/screen/ScreenHandler;nextRevision()I