Package net.minecraft.screen
Class BrewingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingScreenHandler
- Mappings:
Namespace Name official aayintermediary net/minecraft/class_1003named net/minecraft/screen/BrewingScreenHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static class -
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(ScreenHandlerListener listener) booleancanUse(PlayerEntity player) voidSends updates to listeners if any properties or slot stacks have changed.voidsetProperty(int id, int value) transferSlot(PlayerEntity player, int invSlot) Methods inherited from class net.minecraft.screen.ScreenHandler
addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, close, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_3252, method_3255, onButtonClick, onContentChanged, onSlotClick, packClickData, removeListener, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLaay;a:Lqg;intermediary field_12141Lnet/minecraft/class_1003;field_12141:Lnet/minecraft/class_849;named inventoryLnet/minecraft/screen/BrewingScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
ingredientSlot
- Mappings:
Namespace Name Mixin selector official fLaay;f:Labt;intermediary field_4093Lnet/minecraft/class_1003;field_4093:Lnet/minecraft/class_1026;named ingredientSlotLnet/minecraft/screen/BrewingScreenHandler;ingredientSlot:Lnet/minecraft/inventory/slot/Slot;
-
field_4094
private int field_4094- Mappings:
Namespace Name Mixin selector official gLaay;g:Iintermediary field_4094Lnet/minecraft/class_1003;field_4094:Inamed field_4094Lnet/minecraft/screen/BrewingScreenHandler;field_4094:I
-
field_12262
private int field_12262- Mappings:
Namespace Name Mixin selector official hLaay;h:Iintermediary field_12262Lnet/minecraft/class_1003;field_12262:Inamed field_12262Lnet/minecraft/screen/BrewingScreenHandler;field_12262:I
-
-
Constructor Details
-
BrewingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Laay;<init>(Lzi;Lqg;)Vintermediary <init>Lnet/minecraft/class_1003;<init>(Lnet/minecraft/class_987;Lnet/minecraft/class_849;)Vnamed <init>Lnet/minecraft/screen/BrewingScreenHandler;<init>(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;)V
-
-
Method Details
-
addListener
- Overrides:
addListenerin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Laba;)Vintermediary method_3260Lnet/minecraft/class_1002;method_3260(Lnet/minecraft/class_1006;)Vnamed addListenerLnet/minecraft/screen/ScreenHandler;addListener(Lnet/minecraft/screen/ScreenHandlerListener;)V
-
sendContentUpdates
public void sendContentUpdates()Sends updates to listeners if any properties or slot stacks have changed.- Overrides:
sendContentUpdatesin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b()Vintermediary method_3264Lnet/minecraft/class_1002;method_3264()Vnamed sendContentUpdatesLnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
-
setProperty
- Overrides:
setPropertyin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b(II)Vintermediary method_3266Lnet/minecraft/class_1002;method_3266(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLaau;a(Lzj;)Zintermediary method_3269Lnet/minecraft/class_1002;method_3269(Lnet/minecraft/class_988;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLaau;b(Lzj;I)Ladq;intermediary method_3265Lnet/minecraft/class_1002;method_3265(Lnet/minecraft/class_988;I)Lnet/minecraft/class_1071;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-