Class Generic3X3Container


public class Generic3X3Container extends Container
  • Constructor Details

    • Generic3X3Container

      public Generic3X3Container(String title, int id, int size, com.github.steveice10.mc.protocol.data.game.inventory.ContainerType containerType, PlayerInventory playerInventory)
  • Method Details

    • setUsingRealBlock

      public void setUsingRealBlock(boolean usingRealBlock, String javaBlockId)
      Description copied from class: Container
      Will be overwritten for droppers.
      Overrides:
      setUsingRealBlock in class Container
      Parameters:
      usingRealBlock - whether this container is using a real container or not
      javaBlockId - the Java block string of the block, if real
    • isDropper

      public boolean isDropper()
      Whether we need to set the container type as ContainerType.DROPPER. Used at Generic3X3InventoryTranslator.openInventory(GeyserSession, Inventory)