Class CartographyInventoryImpl

java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.CartographyTableMenu
de.studiocode.inventoryaccess.r8.inventory.CartographyInventoryImpl
All Implemented Interfaces:
de.studiocode.inventoryaccess.abstraction.inventory.CartographyInventory

public class CartographyInventoryImpl extends net.minecraft.world.inventory.CartographyTableMenu implements de.studiocode.inventoryaccess.abstraction.inventory.CartographyInventory
  • Field Summary

    Fields inherited from class net.minecraft.world.inventory.CartographyTableMenu

    ADDITIONAL_SLOT, container, MAP_SLOT, RESULT_SLOT

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

    CARRIED_SLOT_SIZE, checkReachable, containerId, lastSlots, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, remoteSlots, SLOT_CLICKED_OUTSIDE, slots
  • Constructor Summary

    Constructors
    Constructor
    Description
    CartographyInventoryImpl(net.minecraft.server.level.ServerPlayer player, net.minecraft.network.chat.Component title)
     
    CartographyInventoryImpl(org.bukkit.entity.Player player, @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canTakeItemForPickAll(net.minecraft.world.item.ItemStack itemstack, net.minecraft.world.inventory.Slot slot)
     
    protected void
    clearContainer(net.minecraft.world.entity.player.Player entityhuman, net.minecraft.world.Container container)
     
    org.bukkit.inventory.Inventory
     
    org.bukkit.craftbukkit.v1_18_R1.inventory.CraftInventoryView
     
    boolean
     
    void
     
    net.minecraft.world.item.ItemStack
    quickMoveStack(net.minecraft.world.entity.player.Player entityhuman, int i)
     
    void
    sendItem(int slot)
     
    void
    setItem(int slot, net.minecraft.world.item.ItemStack item)
     
    void
    setItem(int slot, org.bukkit.inventory.ItemStack itemStack)
     
    void
    slotsChanged(net.minecraft.world.Container container)
     
    boolean
    stillValid(net.minecraft.world.entity.player.Player entityhuman)
     

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

    removed

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

    addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastCarriedItem, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clicked, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getTitle, getType, incrementStateId, initializeContents, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, setTitle, stillValid, suppressRemoteUpdates, transferState, transferTo

    Methods inherited from class java.lang.Object

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

    • CartographyInventoryImpl

      public CartographyInventoryImpl(org.bukkit.entity.Player player, @NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent[] title)
    • CartographyInventoryImpl

      public CartographyInventoryImpl(net.minecraft.server.level.ServerPlayer player, net.minecraft.network.chat.Component title)
  • Method Details

    • open

      public void open()
      Specified by:
      open in interface de.studiocode.inventoryaccess.abstraction.inventory.CartographyInventory
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface de.studiocode.inventoryaccess.abstraction.inventory.CartographyInventory
    • sendItem

      public void sendItem(int slot)
    • setItem

      public void setItem(int slot, net.minecraft.world.item.ItemStack item)
    • setItem

      public void setItem(int slot, org.bukkit.inventory.ItemStack itemStack)
      Specified by:
      setItem in interface de.studiocode.inventoryaccess.abstraction.inventory.CartographyInventory
    • getBukkitInventory

      public org.bukkit.inventory.Inventory getBukkitInventory()
      Specified by:
      getBukkitInventory in interface de.studiocode.inventoryaccess.abstraction.inventory.CartographyInventory
    • getBukkitView

      public org.bukkit.craftbukkit.v1_18_R1.inventory.CraftInventoryView getBukkitView()
      Overrides:
      getBukkitView in class net.minecraft.world.inventory.CartographyTableMenu
    • slotsChanged

      public void slotsChanged(net.minecraft.world.Container container)
      Overrides:
      slotsChanged in class net.minecraft.world.inventory.CartographyTableMenu
    • quickMoveStack

      public net.minecraft.world.item.ItemStack quickMoveStack(net.minecraft.world.entity.player.Player entityhuman, int i)
      Overrides:
      quickMoveStack in class net.minecraft.world.inventory.CartographyTableMenu
    • canTakeItemForPickAll

      public boolean canTakeItemForPickAll(net.minecraft.world.item.ItemStack itemstack, net.minecraft.world.inventory.Slot slot)
      Overrides:
      canTakeItemForPickAll in class net.minecraft.world.inventory.CartographyTableMenu
    • stillValid

      public boolean stillValid(net.minecraft.world.entity.player.Player entityhuman)
      Overrides:
      stillValid in class net.minecraft.world.inventory.CartographyTableMenu
    • clearContainer

      protected void clearContainer(net.minecraft.world.entity.player.Player entityhuman, net.minecraft.world.Container container)
      Overrides:
      clearContainer in class net.minecraft.world.inventory.AbstractContainerMenu