Package net.minecraft.screen
Class BrewingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingScreenHandler
- Mappings:
Namespace Name official ykintermediary net/minecraft/class_1003named net/minecraft/screen/BrewingScreenHandler
-
Field Summary
FieldsFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
ConstructorsConstructorDescriptionBrewingScreenHandler(PlayerInventory playerInventory, BrewingStandBlockEntity brewingStandBlockEntity) -
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, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, close, endQuickCraft, getNextActionId, getSlot, getStacks, insertItem, isNotRestricted, method_3255, method_5455, onButtonClick, onContentChanged, onSlotClick, onSlotClick, packClickData, removeListener, setPlayerRestriction, setStackInSlot, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
field_4092
- Mappings:
Namespace Name Mixin selector official aLyk;a:Lang;intermediary field_4092Lnet/minecraft/class_1003;field_4092:Lnet/minecraft/class_215;named field_4092Lnet/minecraft/screen/BrewingScreenHandler;field_4092:Lnet/minecraft/block/entity/BrewingStandBlockEntity;
-
ingredientSlot
- Mappings:
Namespace Name Mixin selector official fLyk;f:Lzj;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 gLyk;g:Iintermediary field_4094Lnet/minecraft/class_1003;field_4094:Inamed field_4094Lnet/minecraft/screen/BrewingScreenHandler;field_4094:I
-
-
Constructor Details
-
BrewingScreenHandler
public BrewingScreenHandler(PlayerInventory playerInventory, BrewingStandBlockEntity brewingStandBlockEntity)
-
-
Method Details
-
addListener
- Overrides:
addListenerin classScreenHandler- Mappings:
Namespace Name Mixin selector official aLyd;a(Lyn;)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 bLyd;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 bLyd;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 aLyd;a(Lxk;)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 bLyd;b(Lxk;I)Labo;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;
-