Package net.minecraft.screen
Class BrewingStandScreenHandler
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.BrewingStandScreenHandler
public class BrewingStandScreenHandler extends ScreenHandler
- Mappings:
Namespace Name official bjw
intermediary net/minecraft/class_1708
named net/minecraft/screen/BrewingStandScreenHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
BrewingStandScreenHandler.FuelSlot
(package private) static class
BrewingStandScreenHandler.IngredientSlot
(package private) static class
BrewingStandScreenHandler.PotionSlot
-
Field Summary
Fields Modifier and Type Field Description private Slot
ingredientSlot
private Inventory
inventory
private PropertyDelegate
propertyDelegate
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description BrewingStandScreenHandler(int syncId, PlayerInventory playerInventory)
BrewingStandScreenHandler(int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)
-
Method Summary
Modifier and Type Method Description boolean
canUse(PlayerEntity player)
int
getBrewTime()
int
getFuel()
ItemStack
transferSlot(PlayerEntity player, int index)
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector official c
Lbjw;c:Lapj;
intermediary field_7788
Lnet/minecraft/class_1708;field_7788:Lnet/minecraft/class_1263;
named inventory
Lnet/minecraft/screen/BrewingStandScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official d
Lbjw;d:Lbkb;
intermediary field_17292
Lnet/minecraft/class_1708;field_17292:Lnet/minecraft/class_3913;
named propertyDelegate
Lnet/minecraft/screen/BrewingStandScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
ingredientSlot
- Mappings:
Namespace Name Mixin selector official e
Lbjw;e:Lblh;
intermediary field_7787
Lnet/minecraft/class_1708;field_7787:Lnet/minecraft/class_1735;
named ingredientSlot
Lnet/minecraft/screen/BrewingStandScreenHandler;ingredientSlot:Lnet/minecraft/screen/slot/Slot;
-
-
Constructor Details
-
BrewingStandScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lbjw;<init>(ILbhk;)V
intermediary <init>
Lnet/minecraft/class_1708;<init>(ILnet/minecraft/class_1661;)V
named <init>
Lnet/minecraft/screen/BrewingStandScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;)V
-
BrewingStandScreenHandler
public BrewingStandScreenHandler(int syncId, PlayerInventory playerInventory, Inventory inventory, PropertyDelegate propertyDelegate)- Mappings:
Namespace Name Mixin selector official <init>
Lbjw;<init>(ILbhk;Lapj;Lbkb;)V
intermediary <init>
Lnet/minecraft/class_1708;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_1263;Lnet/minecraft/class_3913;)V
named <init>
Lnet/minecraft/screen/BrewingStandScreenHandler;<init>(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/inventory/Inventory;Lnet/minecraft/screen/PropertyDelegate;)V
-
-
Method Details
-
canUse
- Specified by:
canUse
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official a
Lbjr;a(Lbhl;)Z
intermediary method_7597
Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Z
named canUse
Lnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlot
in classScreenHandler
- Mappings:
Namespace Name Mixin selector official b
Lbjr;b(Lbhl;I)Lbnv;
intermediary method_7601
Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;
named transferSlot
Lnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
getFuel
- Mappings:
Namespace Name Mixin selector official e
Lbjw;e()I
intermediary method_17377
Lnet/minecraft/class_1708;method_17377()I
named getFuel
Lnet/minecraft/screen/BrewingStandScreenHandler;getFuel()I
-
getBrewTime
- Mappings:
Namespace Name Mixin selector official f
Lbjw;f()I
intermediary method_17378
Lnet/minecraft/class_1708;method_17378()I
named getBrewTime
Lnet/minecraft/screen/BrewingStandScreenHandler;getBrewTime()I
-