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 bjxintermediary net/minecraft/class_1708named net/minecraft/screen/BrewingStandScreenHandler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classBrewingStandScreenHandler.FuelSlot(package private) static classBrewingStandScreenHandler.IngredientSlot(package private) static classBrewingStandScreenHandler.PotionSlot -
Field Summary
Fields Modifier and Type Field Description private SlotingredientSlotprivate Inventoryinventoryprivate PropertyDelegatepropertyDelegateFields 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 booleancanUse(PlayerEntity player)intgetBrewTime()intgetFuel()ItemStacktransferSlot(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 cLbjx;c:Lapk;intermediary field_7788Lnet/minecraft/class_1708;field_7788:Lnet/minecraft/class_1263;named inventoryLnet/minecraft/screen/BrewingStandScreenHandler;inventory:Lnet/minecraft/inventory/Inventory;
-
propertyDelegate
- Mappings:
Namespace Name Mixin selector official dLbjx;d:Lbkc;intermediary field_17292Lnet/minecraft/class_1708;field_17292:Lnet/minecraft/class_3913;named propertyDelegateLnet/minecraft/screen/BrewingStandScreenHandler;propertyDelegate:Lnet/minecraft/screen/PropertyDelegate;
-
ingredientSlot
- Mappings:
Namespace Name Mixin selector official eLbjx;e:Lbli;intermediary field_7787Lnet/minecraft/class_1708;field_7787:Lnet/minecraft/class_1735;named ingredientSlotLnet/minecraft/screen/BrewingStandScreenHandler;ingredientSlot:Lnet/minecraft/screen/slot/Slot;
-
-
Constructor Details
-
BrewingStandScreenHandler
- Mappings:
Namespace Name Mixin selector official <init>Lbjx;<init>(ILbhl;)Vintermediary <init>Lnet/minecraft/class_1708;<init>(ILnet/minecraft/class_1661;)Vnamed <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>Lbjx;<init>(ILbhl;Lapk;Lbkc;)Vintermediary <init>Lnet/minecraft/class_1708;<init>(ILnet/minecraft/class_1661;Lnet/minecraft/class_1263;Lnet/minecraft/class_3913;)Vnamed <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:
canUsein classScreenHandler- Mappings:
Namespace Name Mixin selector official aLbjs;a(Lbhm;)Zintermediary method_7597Lnet/minecraft/class_1703;method_7597(Lnet/minecraft/class_1657;)Znamed canUseLnet/minecraft/screen/ScreenHandler;canUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
transferSlot
- Overrides:
transferSlotin classScreenHandler- Mappings:
Namespace Name Mixin selector official bLbjs;b(Lbhm;I)Lbnw;intermediary method_7601Lnet/minecraft/class_1703;method_7601(Lnet/minecraft/class_1657;I)Lnet/minecraft/class_1799;named transferSlotLnet/minecraft/screen/ScreenHandler;transferSlot(Lnet/minecraft/entity/player/PlayerEntity;I)Lnet/minecraft/item/ItemStack;
-
getFuel
- Mappings:
Namespace Name Mixin selector official eLbjx;e()Iintermediary method_17377Lnet/minecraft/class_1708;method_17377()Inamed getFuelLnet/minecraft/screen/BrewingStandScreenHandler;getFuel()I
-
getBrewTime
- Mappings:
Namespace Name Mixin selector official fLbjx;f()Iintermediary method_17378Lnet/minecraft/class_1708;method_17378()Inamed getBrewTimeLnet/minecraft/screen/BrewingStandScreenHandler;getBrewTime()I
-