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 bjwintermediary 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 cLbjw;c:Lapj;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 dLbjw;d:Lbkb;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 eLbjw;e:Lblh;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>Lbjw;<init>(ILbhk;)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>Lbjw;<init>(ILbhk;Lapj;Lbkb;)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 aLbjr;a(Lbhl;)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 bLbjr;b(Lbhl;I)Lbnv;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 eLbjw;e()Iintermediary method_17377Lnet/minecraft/class_1708;method_17377()Inamed getFuelLnet/minecraft/screen/BrewingStandScreenHandler;getFuel()I
-
getBrewTime
- Mappings:
Namespace Name Mixin selector official fLbjw;f()Iintermediary method_17378Lnet/minecraft/class_1708;method_17378()Inamed getBrewTimeLnet/minecraft/screen/BrewingStandScreenHandler;getBrewTime()I
-