Package net.minecraft.screen
Class BrewingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingScreenHandler
- Mappings:
Namespace Name official aiiintermediary net/minecraft/class_1003named net/minecraft/screen/BrewingScreenHandler
-
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_3255, onButtonClick, onContentChanged, onSlotClick, onSlotClick, packClickData, removeListener, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLaii;a:Lvq;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 fLaii;f:Lajk;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 gLaii;g:Iintermediary field_4094Lnet/minecraft/class_1003;field_4094:Inamed field_4094Lnet/minecraft/screen/BrewingScreenHandler;field_4094:I
-
-
Constructor Details
-
BrewingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Laii;<init>(Lahb;Lvq;)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 aLaib;a(Lail;)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 bLaib;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 bLaib;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 aLaib;a(Lahd;)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 bLaib;b(Lahd;I)Lamj;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;
-