Package net.minestom.server.inventory
Enum InventoryProperty
java.lang.Object
java.lang.Enum<InventoryProperty>
net.minestom.server.inventory.InventoryProperty
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InventoryProperty>
,java.lang.constant.Constable
public enum InventoryProperty extends java.lang.Enum<InventoryProperty>
List of inventory property and their ID
See https://wiki.vg/Protocol#Window_Property for more information
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description short
getProperty()
static InventoryProperty
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InventoryProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FURNACE_FIRE_ICON
-
FURNACE_MAXIMUM_FUEL_BURN_TIME
-
FURNACE_PROGRESS_ARROW
-
FURNACE_MAXIMUM_PROGRESS
-
ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_TOP
-
ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_MIDDLE
-
ENCHANTMENT_TABLE_LEVEL_REQUIREMENT_BOTTOM
-
ENCHANTMENT_TABLE_SEED
-
ENCHANTMENT_TABLE_ENCH_ID_TOP
-
ENCHANTMENT_TABLE_ENCH_ID_MIDDLE
-
ENCHANTMENT_TABLE_ENCH_ID_BOTTOM
-
ENCHANTMENT_TABLE_ENCH_LEVEL_TOP
-
ENCHANTMENT_TABLE_ENCH_LEVEL_MIDDLE
-
ENCHANTMENT_TABLE_ENCH_LEVEL_BOTTOM
-
BEACON_POWER_LEVEL
-
BEACON_FIRST_POTION
-
BEACON_SECOND_POTION
-
ANVIL_REPAIR_COST
-
BREWING_STAND_BREW_TIME
-
BREWING_STAND_FUEL_TIME
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getProperty
public short getProperty()
-