Class AbstractPneumaticCraftMenu<T extends AbstractPneumaticCraftBlockEntity>

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
me.desht.pneumaticcraft.common.inventory.AbstractPneumaticCraftMenu<T>
All Implemented Interfaces:
IGUIButtonSensitive
Direct Known Subclasses:
Abstract4SlotMenu, AirCannonMenu, AirCompressorMenu, AmadronAddTradeMenu, AmadronMenu, AssemblyControllerMenu, ChargingStationMenu, ChargingStationUpgradeManagerMenu, CreativeCompressedIronBlockMenu, CreativeCompressorMenu, ElevatorMenu, EtchingTankMenu, FluidMixerMenu, FluidTankMenu, GasLiftMenu, JackhammerSetupMenu, KeroseneLampMenu, LiquidCompressorMenu, LiquidHopperMenu, LogisticsMenu, MinigunMagazineMenu, OmnidirectionalHopperMenu, PneumaticDoorBaseMenu, PressureChamberInterfaceMenu, PressureChamberValveMenu, PressurizedSpawnerMenu, ProgrammableControllerMenu, ProgrammerMenu, RefineryMenu, ReinforcedChestMenu, RemoteMenu, SecurityStationHackingMenu, SecurityStationMainMenu, SentryTurretMenu, SmartChestMenu, SpawnerExtractorMenu, TagWorkbenchMenu, ThermalCompressorMenu, ThermopneumaticProcessingPlantMenu, UniversalSensorMenu, UVLightBoxMenu, VacuumPumpMenu, VacuumTrapMenu

public abstract class AbstractPneumaticCraftMenu<T extends AbstractPneumaticCraftBlockEntity> extends net.minecraft.world.inventory.AbstractContainerMenu implements IGUIButtonSensitive
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final T
     

    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
    AbstractPneumaticCraftMenu(net.minecraft.world.inventory.MenuType type, int windowId, net.minecraft.world.entity.player.Inventory invPlayer)
     
    AbstractPneumaticCraftMenu(net.minecraft.world.inventory.MenuType type, int windowId, net.minecraft.world.entity.player.Inventory invPlayer, net.minecraft.core.BlockPos tilePos)
     
    AbstractPneumaticCraftMenu(net.minecraft.world.inventory.MenuType type, int windowId, net.minecraft.world.entity.player.Inventory invPlayer, net.minecraft.network.FriendlyByteBuf extraData)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addPlayerSlots(net.minecraft.world.entity.player.Inventory inventoryPlayer, int yOffset)
     
    protected void
    addPlayerSlots(net.minecraft.world.entity.player.Inventory inventoryPlayer, int xOffset, int yOffset)
     
    protected void
    addUpgradeSlots(int xBase, int yBase)
     
    void
     
    void
    clicked(int slotId, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player)
     
    void
    handleGUIButtonPress(String tag, boolean shiftHeld, net.minecraft.server.level.ServerPlayer player)
     
    protected boolean
    moveItemStackTo(net.minecraft.world.item.ItemStack stack, int startIndex, int endIndex, boolean reverseDirection)
     
    static void
    putHand(net.minecraft.network.FriendlyByteBuf buf, net.minecraft.world.InteractionHand hand)
     
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player player, int slot)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player player)
     
    void
    updateField(int index, Object value)
     

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

    addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, 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
  • Field Details

  • Constructor Details

    • AbstractPneumaticCraftMenu

      public AbstractPneumaticCraftMenu(net.minecraft.world.inventory.MenuType type, int windowId, net.minecraft.world.entity.player.Inventory invPlayer, net.minecraft.network.FriendlyByteBuf extraData)
    • AbstractPneumaticCraftMenu

      public AbstractPneumaticCraftMenu(net.minecraft.world.inventory.MenuType type, int windowId, net.minecraft.world.entity.player.Inventory invPlayer)
    • AbstractPneumaticCraftMenu

      public AbstractPneumaticCraftMenu(net.minecraft.world.inventory.MenuType type, int windowId, net.minecraft.world.entity.player.Inventory invPlayer, net.minecraft.core.BlockPos tilePos)
  • Method Details

    • putHand

      public static void putHand(net.minecraft.network.FriendlyByteBuf buf, net.minecraft.world.InteractionHand hand)
    • updateField

      public void updateField(int index, Object value)
    • stillValid

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

      public void broadcastChanges()
      Overrides:
      broadcastChanges in class net.minecraft.world.inventory.AbstractContainerMenu
    • addPlayerSlots

      protected void addPlayerSlots(net.minecraft.world.entity.player.Inventory inventoryPlayer, int yOffset)
    • addPlayerSlots

      protected void addPlayerSlots(net.minecraft.world.entity.player.Inventory inventoryPlayer, int xOffset, int yOffset)
    • addUpgradeSlots

      protected void addUpgradeSlots(int xBase, int yBase)
    • quickMoveStack

      @Nonnull public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player player, int slot)
      Overrides:
      quickMoveStack in class net.minecraft.world.inventory.AbstractContainerMenu
    • moveItemStackTo

      protected boolean moveItemStackTo(net.minecraft.world.item.ItemStack stack, int startIndex, int endIndex, boolean reverseDirection)
      Overrides:
      moveItemStackTo in class net.minecraft.world.inventory.AbstractContainerMenu
    • clicked

      @Nonnull public void clicked(int slotId, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player)
      Overrides:
      clicked in class net.minecraft.world.inventory.AbstractContainerMenu
    • handleGUIButtonPress

      public void handleGUIButtonPress(String tag, boolean shiftHeld, net.minecraft.server.level.ServerPlayer player)
      Specified by:
      handleGUIButtonPress in interface IGUIButtonSensitive