Class DeckContainer

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.pixelmonmod.tcg.client.container.DeckContainer

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

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.world.Container
     

    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

    Constructors
    Constructor
    Description
    DeckContainer(int windowId, net.minecraft.world.entity.player.Inventory player, net.minecraft.network.FriendlyByteBuf buffer)
     
    DeckContainer(int containerId, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.player.Inventory invPlayer, DeckItem.Deck deck)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clicked(int slot, int dragType, net.minecraft.world.inventory.ClickType clickType, net.minecraft.world.entity.player.Player player)
     
    protected boolean
    moveItemStackTo(net.minecraft.world.item.ItemStack stack, int start, int end, boolean backwards)
     
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player player, int index)
     
    void
    removed(net.minecraft.world.entity.player.Player player)
     
    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, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, 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

    Methods inherited from class java.lang.Object

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

    • inventory

      public final net.minecraft.world.Container inventory
  • Constructor Details

    • DeckContainer

      public DeckContainer(int containerId, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.player.Inventory invPlayer, DeckItem.Deck deck)
    • DeckContainer

      public DeckContainer(int windowId, net.minecraft.world.entity.player.Inventory player, net.minecraft.network.FriendlyByteBuf buffer)
  • Method Details

    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player player)
      Specified by:
      stillValid in class net.minecraft.world.inventory.AbstractContainerMenu
    • 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
    • clicked

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

      protected boolean moveItemStackTo(net.minecraft.world.item.ItemStack stack, int start, int end, boolean backwards)
      Overrides:
      moveItemStackTo in class net.minecraft.world.inventory.AbstractContainerMenu
    • removed

      public void removed(net.minecraft.world.entity.player.Player player)
      Overrides:
      removed in class net.minecraft.world.inventory.AbstractContainerMenu