Class MachineIndustrialTurbineMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.hbm_m.inventory.menu.MachineIndustrialTurbineMenu

public class MachineIndustrialTurbineMenu extends net.minecraft.world.inventory.AbstractContainerMenu
  • Field Summary

    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
    MachineIndustrialTurbineMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, MachineIndustrialTurbineBlockEntity blockEntity, net.minecraft.world.inventory.ContainerData data)
     
    MachineIndustrialTurbineMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf extraData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
    int
     
    int
     
    int
     
    int
     
    boolean
     
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player player, int index)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player player)
     

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

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

    Methods inherited from class java.lang.Object

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

    • MachineIndustrialTurbineMenu

      public MachineIndustrialTurbineMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf extraData)
    • MachineIndustrialTurbineMenu

      public MachineIndustrialTurbineMenu(int id, net.minecraft.world.entity.player.Inventory playerInventory, MachineIndustrialTurbineBlockEntity blockEntity, net.minecraft.world.inventory.ContainerData data)
  • Method Details

    • getSteamAmount

      public int getSteamAmount()
    • getSteamCapacity

      public int getSteamCapacity()
    • getSpentAmount

      public int getSpentAmount()
    • getSpentCapacity

      public int getSpentCapacity()
    • isActive

      public boolean isActive()
    • getEnergyStoredLong

      public long getEnergyStoredLong()
    • getMaxEnergyStoredLong

      public long getMaxEnergyStoredLong()
    • quickMoveStack

      public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int index)
      Specified by:
      quickMoveStack in class net.minecraft.world.inventory.AbstractContainerMenu
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player player)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu