Package net.minecraft.screen
Class ScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
- Direct Known Subclasses:
CraftingScreenHandler,DispenserScreenHandler,FurnaceScreenHandler,GenericContainerScreenHandler,PlayerScreenHandler
- Mappings:
Namespace Name intermediary net/minecraft/class_71glue class_94server clclient dwnamed net/minecraft/screen/ScreenHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ScreenHandlerListener listener) protected voidbooleancanOpen(PlayerEntity player) abstract booleancanUse(PlayerEntity player) getSlot(int index) protected voidinsertItem(ItemStack stack, int startIndex, int endIndex, boolean fromLast) shortnextRevision(PlayerInventory inventory) voidonAcknowledgementAccepted(short actionType) voidonAcknowledgementDenied(short actionType) voidonClosed(PlayerEntity player) onSlotClick(int index, int button, boolean shift, PlayerEntity player) voidonSlotUpdate(Inventory inventory) quickMove(int slot) voidvoidsetProperty(int id, int value) voidsetStackInSlot(int index, ItemStack stack) voidupdatePlayerList(PlayerEntity player, boolean remove) voidupdateSlotStacks(ItemStack[] stacks)
-
Field Details
-
trackedStacks
- Mappings:
Namespace Name Mixin selector intermediary field_2733Lnet/minecraft/class_71;field_2733:Ljava/util/List;glue field_207Lclass_94;field_207:Ljava/util/List;server dLcl;d:Ljava/util/List;client dLdw;d:Ljava/util/List;named trackedStacksLnet/minecraft/screen/ScreenHandler;trackedStacks:Ljava/util/List;
-
slots
- Mappings:
Namespace Name Mixin selector intermediary field_2734Lnet/minecraft/class_71;field_2734:Ljava/util/List;glue field_208Lclass_94;field_208:Ljava/util/List;server eLcl;e:Ljava/util/List;client eLdw;e:Ljava/util/List;named slotsLnet/minecraft/screen/ScreenHandler;slots:Ljava/util/List;
-
syncId
public int syncId- Mappings:
Namespace Name Mixin selector intermediary field_2735Lnet/minecraft/class_71;field_2735:Iglue field_209Lclass_94;field_209:Iserver fLcl;f:Iclient fLdw;f:Inamed syncIdLnet/minecraft/screen/ScreenHandler;syncId:I
-
revision
private short revision- Mappings:
Namespace Name Mixin selector intermediary field_2731Lnet/minecraft/class_71;field_2731:Sglue field_205Lclass_94;field_205:Sserver aLcl;a:Sclient aLdw;a:Snamed revisionLnet/minecraft/screen/ScreenHandler;revision:S
-
listeners
- Mappings:
Namespace Name Mixin selector intermediary field_2736Lnet/minecraft/class_71;field_2736:Ljava/util/List;glue field_210Lclass_94;field_210:Ljava/util/List;server gLcl;g:Ljava/util/List;client gLdw;g:Ljava/util/List;named listenersLnet/minecraft/screen/ScreenHandler;listeners:Ljava/util/List;
-
players
Players which have this screen open Used in Multiplayer- Mappings:
Namespace Name Mixin selector intermediary field_2732Lnet/minecraft/class_71;field_2732:Ljava/util/Set;glue field_206Lclass_94;field_206:Ljava/util/Set;server bLcl;b:Ljava/util/Set;client bLdw;b:Ljava/util/Set;named playersLnet/minecraft/screen/ScreenHandler;players:Ljava/util/Set;
-
-
Constructor Details
-
ScreenHandler
public ScreenHandler()
-
-
Method Details
-
addSlot
- Mappings:
Namespace Name Mixin selector intermediary method_2079Lnet/minecraft/class_71;method_2079(Lnet/minecraft/class_133;)Vglue method_289Lclass_94;method_289(Lclass_170;)Vserver aLcl;a(Lel;)Vclient aLdw;a(Lgp;)Vnamed addSlotLnet/minecraft/screen/ScreenHandler;addSlot(Lnet/minecraft/screen/slot/Slot;)V
-
addListener
- Mappings:
Namespace Name Mixin selector intermediary method_2076Lnet/minecraft/class_71;method_2076(Lnet/minecraft/class_633;)Vglue method_105Lclass_94;method_105(Lclass_99;)Vserver aLcl;a(Lcp;)Vclient method_2076Ldw;method_2076(Lec;)Vnamed addListenerLnet/minecraft/screen/ScreenHandler;addListener(Lnet/minecraft/screen/ScreenHandlerListener;)V
-
getStacks
- Mappings:
Namespace Name Mixin selector intermediary method_2083Lnet/minecraft/class_71;method_2083()Ljava/util/List;glue method_293Lclass_94;method_293()Ljava/util/List;server bLcl;b()Ljava/util/List;client method_2083Ldw;method_2083()Ljava/util/List;named getStacksLnet/minecraft/screen/ScreenHandler;getStacks()Ljava/util/List;
-
sendContentUpdates
public void sendContentUpdates()- Mappings:
Namespace Name Mixin selector intermediary method_2075Lnet/minecraft/class_71;method_2075()Vglue method_104Lclass_94;method_104()Vserver aLcl;a()Vclient aLdw;a()Vnamed sendContentUpdatesLnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
-
getSlot
- Mappings:
Namespace Name Mixin selector intermediary method_2082Lnet/minecraft/class_71;method_2082(Lnet/minecraft/class_134;I)Lnet/minecraft/class_133;glue method_292Lclass_94;method_292(Lclass_287;I)Lclass_170;server aLcl;a(Lhp;I)Lel;client method_2082Ldw;method_2082(Llw;I)Lgp;named getSlotLnet/minecraft/screen/ScreenHandler;getSlot(Lnet/minecraft/inventory/Inventory;I)Lnet/minecraft/screen/slot/Slot;
-
getSlot
- Mappings:
Namespace Name Mixin selector intermediary method_2084Lnet/minecraft/class_71;method_2084(I)Lnet/minecraft/class_133;glue method_294Lclass_94;method_294(I)Lclass_170;server bLcl;b(I)Lel;client bLdw;b(I)Lgp;named getSlotLnet/minecraft/screen/ScreenHandler;getSlot(I)Lnet/minecraft/screen/slot/Slot;
-
quickMove
- Mappings:
Namespace Name Mixin selector intermediary method_2086Lnet/minecraft/class_71;method_2086(I)Lnet/minecraft/class_31;glue method_5Lclass_94;method_5(I)Lclass_224;server aLcl;a(I)Lfy;client aLdw;a(I)Liz;named quickMoveLnet/minecraft/screen/ScreenHandler;quickMove(I)Lnet/minecraft/item/ItemStack;
-
onSlotClick
- Mappings:
Namespace Name Mixin selector intermediary method_2078Lnet/minecraft/class_71;method_2078(IIZLnet/minecraft/class_54;)Lnet/minecraft/class_31;glue method_288Lclass_94;method_288(IIZLclass_172;)Lclass_224;server aLcl;a(IIZLem;)Lfy;client aLdw;a(IIZLgs;)Liz;named onSlotClickLnet/minecraft/screen/ScreenHandler;onSlotClick(IIZLnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
-
onClosed
- Mappings:
Namespace Name Mixin selector intermediary method_2087Lnet/minecraft/class_71;method_2087(Lnet/minecraft/class_54;)Vglue method_6Lclass_94;method_6(Lclass_172;)Vserver aLcl;a(Lem;)Vclient aLdw;a(Lgs;)Vnamed onClosedLnet/minecraft/screen/ScreenHandler;onClosed(Lnet/minecraft/entity/player/PlayerEntity;)V
-
onSlotUpdate
- Mappings:
Namespace Name Mixin selector intermediary method_2088Lnet/minecraft/class_71;method_2088(Lnet/minecraft/class_134;)Vglue method_7Lclass_94;method_7(Lclass_287;)Vserver aLcl;a(Lhp;)Vclient aLdw;a(Llw;)Vnamed onSlotUpdateLnet/minecraft/screen/ScreenHandler;onSlotUpdate(Lnet/minecraft/inventory/Inventory;)V
-
setStackInSlot
- Mappings:
Namespace Name Mixin selector intermediary method_2089Lnet/minecraft/class_71;method_2089(ILnet/minecraft/class_31;)Vglue method_712Lclass_94;method_712(ILclass_224;)Vserver method_2089Lcl;method_2089(ILfy;)Vclient aLdw;a(ILiz;)Vnamed setStackInSlotLnet/minecraft/screen/ScreenHandler;setStackInSlot(ILnet/minecraft/item/ItemStack;)V
-
updateSlotStacks
- Mappings:
Namespace Name Mixin selector intermediary method_2092Lnet/minecraft/class_71;method_2092([Lnet/minecraft/class_31;)Vglue method_715Lclass_94;method_715([Lclass_224;)Vserver method_2092Lcl;method_2092([Lfy;)Vclient aLdw;a([Liz;)Vnamed updateSlotStacksLnet/minecraft/screen/ScreenHandler;updateSlotStacks([Lnet/minecraft/item/ItemStack;)V
-
setProperty
- Mappings:
Namespace Name Mixin selector intermediary method_2077Lnet/minecraft/class_71;method_2077(II)Vglue method_192Lclass_94;method_192(II)Vserver method_2077Lcl;method_2077(II)Vclient aLdw;a(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
nextRevision
- Mappings:
Namespace Name Mixin selector intermediary method_2090Lnet/minecraft/class_71;method_2090(Lnet/minecraft/class_136;)Sglue method_713Lclass_94;method_713(Lclass_223;)Sserver method_2090Lcl;method_2090(Lfx;)Sclient aLdw;a(Lix;)Snamed nextRevisionLnet/minecraft/screen/ScreenHandler;nextRevision(Lnet/minecraft/entity/player/PlayerInventory;)S
-
onAcknowledgementAccepted
- Mappings:
Namespace Name Mixin selector intermediary method_2091Lnet/minecraft/class_71;method_2091(S)Vglue method_714Lclass_94;method_714(S)Vserver method_2091Lcl;method_2091(S)Vclient aLdw;a(S)Vnamed onAcknowledgementAcceptedLnet/minecraft/screen/ScreenHandler;onAcknowledgementAccepted(S)V
-
onAcknowledgementDenied
- Mappings:
Namespace Name Mixin selector intermediary method_2093Lnet/minecraft/class_71;method_2093(S)Vglue method_716Lclass_94;method_716(S)Vserver method_2093Lcl;method_2093(S)Vclient bLdw;b(S)Vnamed onAcknowledgementDeniedLnet/minecraft/screen/ScreenHandler;onAcknowledgementDenied(S)V
-
canOpen
- Mappings:
Namespace Name Mixin selector intermediary method_2085Lnet/minecraft/class_71;method_2085(Lnet/minecraft/class_54;)Zglue method_295Lclass_94;method_295(Lclass_172;)Zserver cLcl;c(Lem;)Zclient method_2085Ldw;method_2085(Lgs;)Znamed canOpenLnet/minecraft/screen/ScreenHandler;canOpen(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
updatePlayerList
- Mappings:
Namespace Name Mixin selector intermediary method_2080Lnet/minecraft/class_71;method_2080(Lnet/minecraft/class_54;Z)Vglue method_290Lclass_94;method_290(Lclass_172;Z)Vserver aLcl;a(Lem;Z)Vclient method_2080Ldw;method_2080(Lgs;Z)Vnamed updatePlayerListLnet/minecraft/screen/ScreenHandler;updatePlayerList(Lnet/minecraft/entity/player/PlayerEntity;Z)V
-
canUse
- Mappings:
Namespace Name Mixin selector intermediary method_2094Lnet/minecraft/class_71;method_2094(Lnet/minecraft/class_54;)Zglue method_8Lclass_94;method_8(Lclass_172;)Zserver bLcl;b(Lem;)Zclient bLdw;b(Lgs;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
insertItem
- Mappings:
Namespace Name Mixin selector intermediary method_2081Lnet/minecraft/class_71;method_2081(Lnet/minecraft/class_31;IIZ)Vglue method_291Lclass_94;method_291(Lclass_224;IIZ)Vserver aLcl;a(Lfy;IIZ)Vclient aLdw;a(Liz;IIZ)Vnamed insertItemLnet/minecraft/screen/ScreenHandler;insertItem(Lnet/minecraft/item/ItemStack;IIZ)V
-