public class BrewingStandScreenHandler extends ScreenHandler
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
BrewingStandScreenHandler.FuelSlot |
(package private) static class |
BrewingStandScreenHandler.IngredientSlot |
(package private) static class |
BrewingStandScreenHandler.PotionSlot |
| Modifier and Type | Field and Description |
|---|---|
private Slot |
ingredientSlot |
private Inventory |
inventory |
private PropertyDelegate |
propertyDelegate |
slots, syncId| Constructor and Description |
|---|
BrewingStandScreenHandler(int syncId,
PlayerInventory playerInventory) |
BrewingStandScreenHandler(int syncId,
PlayerInventory playerInventory,
Inventory inventory,
PropertyDelegate propertyDelegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUse(PlayerEntity player) |
int |
getBrewTime() |
int |
getFuel() |
ItemStack |
transferSlot(PlayerEntity player,
int index) |
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canStacksCombine, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacksprivate final Inventory inventory
private final PropertyDelegate propertyDelegate
private final Slot ingredientSlot
public BrewingStandScreenHandler(int syncId,
PlayerInventory playerInventory)
public BrewingStandScreenHandler(int syncId,
PlayerInventory playerInventory,
Inventory inventory,
PropertyDelegate propertyDelegate)
public boolean canUse(PlayerEntity player)
canUse in class ScreenHandlerpublic ItemStack transferSlot(PlayerEntity player, int index)
transferSlot in class ScreenHandler@Environment(value=CLIENT) public int getFuel()
@Environment(value=CLIENT) public int getBrewTime()