Class MinigunMagazineMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
me.desht.pneumaticcraft.common.inventory.AbstractPneumaticCraftMenu<AbstractPneumaticCraftBlockEntity>
me.desht.pneumaticcraft.common.inventory.MinigunMagazineMenu
- All Implemented Interfaces:
IGUIButtonSensitive
public class MinigunMagazineMenu
extends AbstractPneumaticCraftMenu<AbstractPneumaticCraftBlockEntity>
-
Field Summary
Fields inherited from class me.desht.pneumaticcraft.common.inventory.AbstractPneumaticCraftMenu
teFields 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
ConstructorsConstructorDescriptionMinigunMagazineMenu(int i, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer) MinigunMagazineMenu(int windowId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.InteractionHand hand) -
Method Summary
Modifier and TypeMethodDescriptionvoidclicked(int slotId, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player) net.minecraft.world.InteractionHandgetHand()voidremoved(net.minecraft.world.entity.player.Player playerIn) booleanstillValid(net.minecraft.world.entity.player.Player player) Methods inherited from class me.desht.pneumaticcraft.common.inventory.AbstractPneumaticCraftMenu
addPlayerSlots, addPlayerSlots, addUpgradeSlots, broadcastChanges, handleGUIButtonPress, moveItemStackTo, putHand, quickMoveStack, updateFieldMethods 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, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Constructor Details
-
MinigunMagazineMenu
public MinigunMagazineMenu(int i, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer) -
MinigunMagazineMenu
public MinigunMagazineMenu(int windowId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.InteractionHand hand)
-
-
Method Details
-
removed
public void removed(net.minecraft.world.entity.player.Player playerIn) - Overrides:
removedin classnet.minecraft.world.inventory.AbstractContainerMenu
-
stillValid
public boolean stillValid(net.minecraft.world.entity.player.Player player) - Overrides:
stillValidin classAbstractPneumaticCraftMenu<AbstractPneumaticCraftBlockEntity>
-
clicked
@Nonnull public void clicked(int slotId, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player) - Overrides:
clickedin classAbstractPneumaticCraftMenu<AbstractPneumaticCraftBlockEntity>
-
getHand
public net.minecraft.world.InteractionHand getHand()
-