Class PokeBagContainer
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.pixelmonmod.pixelmon.container.PokeBagContainer
public class PokeBagContainer
extends net.minecraft.world.inventory.AbstractContainerMenu
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, containerListeners, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
-
Constructor Summary
ConstructorDescriptionPokeBagContainer
(int windowId, net.minecraft.world.entity.player.Inventory inventoryPlayer, PokeBagItem.PokeBag pokeBag) PokeBagContainer
(int windowId, net.minecraft.world.entity.player.Inventory inventoryPlayer, net.minecraft.network.FriendlyByteBuf buffer) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemStack
quickMoveStack
(net.minecraft.world.entity.player.Player p_82846_1_, int p_82846_2_) void
removed
(net.minecraft.world.entity.player.Player p_75134_1_) boolean
stillValid
(net.minecraft.world.entity.player.Player p_75145_1_) 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, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Constructor Details
-
PokeBagContainer
public PokeBagContainer(int windowId, net.minecraft.world.entity.player.Inventory inventoryPlayer, PokeBagItem.PokeBag pokeBag) -
PokeBagContainer
public PokeBagContainer(int windowId, net.minecraft.world.entity.player.Inventory inventoryPlayer, net.minecraft.network.FriendlyByteBuf buffer)
-
-
Method Details
-
stillValid
public boolean stillValid(net.minecraft.world.entity.player.Player p_75145_1_) - Specified by:
stillValid
in classnet.minecraft.world.inventory.AbstractContainerMenu
-
quickMoveStack
public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player p_82846_1_, int p_82846_2_) - Specified by:
quickMoveStack
in classnet.minecraft.world.inventory.AbstractContainerMenu
-
removed
public void removed(net.minecraft.world.entity.player.Player p_75134_1_) - Overrides:
removed
in classnet.minecraft.world.inventory.AbstractContainerMenu
-