Package net.minecraft.screen
Class BrewingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingScreenHandler
- Mappings:
Namespace Name official apyintermediary 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
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate final Slotprivate final InventoryFields inherited from class net.minecraft.screen.ScreenHandler
field_15099, listeners, slots, syncId -
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, insertItem, isNotRestricted, method_13641, method_13642, method_14204, method_15965, method_15966, method_3252, method_3255, onButtonClick, onContentChanged, packClickData, removeListener, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLapy;a:Lade;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 fLapy;f:Laqx;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 gLapy;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 hLapy;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>Lapy;<init>(Laof;Lade;)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 aLapv;a(Laqb;)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 bLapv;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 bLapv;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 aLapv;a(Laog;)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 bLapv;b(Laog;I)Late;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;
-