Enum Class InventoryProperty

java.lang.Object
java.lang.Enum<InventoryProperty>
net.minestom.server.inventory.InventoryProperty
All Implemented Interfaces:
Serializable, Comparable<InventoryProperty>, Constable

public enum InventoryProperty extends Enum<InventoryProperty>
List of inventory property and their ID

See https://wiki.vg/Protocol#Set_Container_Property for more information

  • Enum Constant Details

    • FURNACE_FIRE_ICON

      public static final InventoryProperty FURNACE_FIRE_ICON
    • FURNACE_MAXIMUM_FUEL_BURN_TIME

      public static final InventoryProperty FURNACE_MAXIMUM_FUEL_BURN_TIME
    • FURNACE_PROGRESS_ARROW

      public static final InventoryProperty FURNACE_PROGRESS_ARROW
    • FURNACE_MAXIMUM_PROGRESS

      public static final InventoryProperty FURNACE_MAXIMUM_PROGRESS
    • ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_TOP

      public static final InventoryProperty ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_TOP
    • ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_MIDDLE

      public static final InventoryProperty ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_MIDDLE
    • ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_BOTTOM

      public static final InventoryProperty ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_BOTTOM
    • ENCHANTMENT_TABLE_SEED

      public static final InventoryProperty ENCHANTMENT_TABLE_SEED
    • ENCHANTMENT_TABLE_ENCH_ID_TOP

      public static final InventoryProperty ENCHANTMENT_TABLE_ENCH_ID_TOP
    • ENCHANTMENT_TABLE_ENCH_ID_MIDDLE

      public static final InventoryProperty ENCHANTMENT_TABLE_ENCH_ID_MIDDLE
    • ENCHANTMENT_TABLE_ENCH_ID_BOTTOM

      public static final InventoryProperty ENCHANTMENT_TABLE_ENCH_ID_BOTTOM
    • ENCHANTMENT_TABLE_ENCH_LEVEL_TOP

      public static final InventoryProperty ENCHANTMENT_TABLE_ENCH_LEVEL_TOP
    • ENCHANTMENT_TABLE_ENCH_LEVEL_MIDDLE

      public static final InventoryProperty ENCHANTMENT_TABLE_ENCH_LEVEL_MIDDLE
    • ENCHANTMENT_TABLE_ENCH_LEVEL_BOTTOM

      public static final InventoryProperty ENCHANTMENT_TABLE_ENCH_LEVEL_BOTTOM
    • BEACON_POWER_LEVEL

      public static final InventoryProperty BEACON_POWER_LEVEL
    • BEACON_FIRST_POTION

      public static final InventoryProperty BEACON_FIRST_POTION
    • BEACON_SECOND_POTION

      public static final InventoryProperty BEACON_SECOND_POTION
    • ANVIL_REPAIR_COST

      public static final InventoryProperty ANVIL_REPAIR_COST
    • BREWING_STAND_BREW_TIME

      public static final InventoryProperty BREWING_STAND_BREW_TIME
    • BREWING_STAND_FUEL_TIME

      public static final InventoryProperty BREWING_STAND_FUEL_TIME
    • STONECUTTER_SELECTED_RECIPE

      public static final InventoryProperty STONECUTTER_SELECTED_RECIPE
    • LOOM_SELECTED_PATTERN

      public static final InventoryProperty LOOM_SELECTED_PATTERN
    • LECTERN_PAGE_NUMBER

      public static final InventoryProperty LECTERN_PAGE_NUMBER
  • Method Details

    • values

      public static InventoryProperty[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static InventoryProperty valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getProperty

      public short getProperty()