Class DrinkWorkstationMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.ItemCombinerMenu
ml.pluto7073.pdapi.client.gui.DrinkWorkstationMenu

public class DrinkWorkstationMenu extends net.minecraft.world.inventory.ItemCombinerMenu
  • Field Summary

    Fields inherited from class net.minecraft.world.inventory.ItemCombinerMenu

    access, inputSlots, player, resultSlots

    Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
  • Constructor Summary

    Constructors
    Constructor
    Description
    DrinkWorkstationMenu(int syncId, net.minecraft.world.entity.player.Inventory playerInventory)
     
    DrinkWorkstationMenu(int syncId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.inventory.ContainerLevelAccess context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    canMoveIntoInputSlots(net.minecraft.world.item.ItemStack stack)
     
    boolean
    canTakeItemForPickAll(net.minecraft.world.item.ItemStack stack, net.minecraft.world.inventory.Slot slot)
     
    protected net.minecraft.world.inventory.ItemCombinerMenuSlotDefinition
     
    void
     
    protected boolean
    isValidBlock(net.minecraft.world.level.block.state.BlockState state)
     
    protected boolean
    mayPickup(net.minecraft.world.entity.player.Player player, boolean present)
     
    protected void
    onTake(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)
     

    Methods inherited from class net.minecraft.world.inventory.ItemCombinerMenu

    getResultSlot, getSlotToQuickMoveTo, quickMoveStack, removed, slotsChanged, stillValid

    Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu

    addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, stillValid, suppressRemoteUpdates, transferState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DrinkWorkstationMenu

      public DrinkWorkstationMenu(int syncId, net.minecraft.world.entity.player.Inventory playerInventory)
    • DrinkWorkstationMenu

      public DrinkWorkstationMenu(int syncId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.inventory.ContainerLevelAccess context)
  • Method Details

    • mayPickup

      protected boolean mayPickup(net.minecraft.world.entity.player.Player player, boolean present)
      Specified by:
      mayPickup in class net.minecraft.world.inventory.ItemCombinerMenu
    • onTake

      protected void onTake(net.minecraft.world.entity.player.Player player, net.minecraft.world.item.ItemStack stack)
      Specified by:
      onTake in class net.minecraft.world.inventory.ItemCombinerMenu
    • isValidBlock

      protected boolean isValidBlock(net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      isValidBlock in class net.minecraft.world.inventory.ItemCombinerMenu
    • createResult

      public void createResult()
      Specified by:
      createResult in class net.minecraft.world.inventory.ItemCombinerMenu
    • createInputSlotDefinitions

      protected net.minecraft.world.inventory.ItemCombinerMenuSlotDefinition createInputSlotDefinitions()
      Specified by:
      createInputSlotDefinitions in class net.minecraft.world.inventory.ItemCombinerMenu
    • canMoveIntoInputSlots

      protected boolean canMoveIntoInputSlots(net.minecraft.world.item.ItemStack stack)
      Overrides:
      canMoveIntoInputSlots in class net.minecraft.world.inventory.ItemCombinerMenu
    • canTakeItemForPickAll

      public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack stack, net.minecraft.world.inventory.Slot slot)
      Overrides:
      canTakeItemForPickAll in class net.minecraft.world.inventory.AbstractContainerMenu