Class SeedBankMenu

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
nokunami.floral_warfare.common.inventory.menu.SeedBankMenu

public class SeedBankMenu 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
    Modifier
    Constructor
    Description
    protected
    SeedBankMenu(@Nullable net.minecraft.world.inventory.MenuType<?> pMenuType, int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.Container container, int rows)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.Container
     
    int
     
    @NotNull net.minecraft.world.item.ItemStack
    quickMoveStack(@NotNull net.minecraft.world.entity.player.Player player, int pIndex)
     
    void
    removed(net.minecraft.world.entity.player.Player player)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player pPlayer)
     

    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

    Methods inherited from class java.lang.Object

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

    • SeedBankMenu

      protected SeedBankMenu(@Nullable @Nullable net.minecraft.world.inventory.MenuType<?> pMenuType, int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.Container container, int rows)
  • Method Details

    • quickMoveStack

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

      public boolean stillValid(net.minecraft.world.entity.player.Player pPlayer)
      Specified by:
      stillValid 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
    • getBankContainer

      public net.minecraft.world.Container getBankContainer()
    • getRowCount

      public int getRowCount()