Package net.minecraft.screen
Class BrewingScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingScreenHandler
public class BrewingScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official xmintermediary net/minecraft/class_1988named net/minecraft/screen/BrewingScreenHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classBrewingScreenHandler.FuelSlot(package private) static classBrewingScreenHandler.PotionSlot -
Field Summary
Fields Modifier and Type Field Description private intfield_8465private SlotingredientSlotprivate InventoryinventoryFields inherited from class net.minecraft.screen.ScreenHandler
listeners, slots, syncId, trackedStacks -
Constructor Summary
Constructors Constructor Description BrewingScreenHandler(PlayerInventory playerInventory, Inventory inventory) -
Method Summary
Modifier and Type Method Description voidaddListener(ScreenHandlerListener listener)booleancanUse(PlayerEntity player)voidsendContentUpdates()Sends updates to listeners if any properties or slot stacks have changed.voidsetProperty(int id, int value)ItemStacktransferSlot(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_8096, method_8102, onButtonClick, onContentChanged, onSlotClick, packClickData, removeListener, setPlayerRestriction, setStackInSlot, shouldQuickCraftContinue, unpackButtonId, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official aLxm;a:Log;intermediary field_8463Lnet/minecraft/class_1988;field_8463:Lnet/minecraft/class_1718;named inventoryLnet/minecraft/screen/BrewingScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
ingredientSlot
- Mappings:
Namespace Name Mixin selector official fLxm;f:Lyg;intermediary field_8464Lnet/minecraft/class_1988;field_8464:Lnet/minecraft/class_2010;named ingredientSlotLnet/minecraft/screen/BrewingScreenHandler;ingredientSlot:Lnet/minecraft/inventory/slot/Slot;
-
field_8465
private int field_8465- Mappings:
Namespace Name Mixin selector official gLxm;g:Iintermediary field_8465Lnet/minecraft/class_1988;field_8465:Inamed field_8465Lnet/minecraft/screen/BrewingScreenHandler;field_8465:I
-
-
Constructor Details
-
BrewingScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lxm;<init>(Lwm;Log;)Vintermediary <init>Lnet/minecraft/class_1988;<init>(Lnet/minecraft/class_1962;Lnet/minecraft/class_1718;)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 aLxi;a(Lxn;)Vintermediary method_8107Lnet/minecraft/class_1983;method_8107(Lnet/minecraft/class_1991;)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 bLxi;b()Vintermediary method_8113Lnet/minecraft/class_1983;method_8113()Vnamed sendContentUpdatesLnet/minecraft/screen/ScreenHandler;sendContentUpdates()V
-
setProperty
- Overrides:
setPropertyin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLxi;b(II)Vintermediary method_8115Lnet/minecraft/class_1983;method_8115(II)Vnamed setPropertyLnet/minecraft/screen/ScreenHandler;setProperty(II)V
-
canUse
- Specified by:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLxi;a(Lwn;)Zintermediary method_8104Lnet/minecraft/class_1983;method_8104(Lnet/minecraft/class_1963;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLxi;b(Lwn;I)Lzx;intermediary method_8118Lnet/minecraft/class_1983;method_8118(Lnet/minecraft/class_1963;I)Lnet/minecraft/class_2056;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-