Enum Class EnderChestSlot
- All Implemented Interfaces:
Serializable
,Comparable<EnderChestSlot>
,Constable
Represents a slot of an
EnderSpectatorInventory
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic EnderChestSlot
byDefaultIndex
(int index) Get the slot given its index in theEnderSpectatorInventory
.int
Get the index of theEnderSpectatorInventory
at which this slot resides.static EnderChestSlot
Returns the enum constant of this class with the specified name.static EnderChestSlot[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTAINER_00
-
CONTAINER_01
-
CONTAINER_02
-
CONTAINER_03
-
CONTAINER_04
-
CONTAINER_05
-
CONTAINER_06
-
CONTAINER_07
-
CONTAINER_08
-
CONTAINER_09
-
CONTAINER_10
-
CONTAINER_11
-
CONTAINER_12
-
CONTAINER_13
-
CONTAINER_14
-
CONTAINER_15
-
CONTAINER_16
-
CONTAINER_17
-
CONTAINER_18
-
CONTAINER_19
-
CONTAINER_20
-
CONTAINER_21
-
CONTAINER_22
-
CONTAINER_23
-
CONTAINER_24
-
CONTAINER_25
-
CONTAINER_26
-
CONTAINER_27
-
CONTAINER_28
-
CONTAINER_29
-
CONTAINER_30
-
CONTAINER_31
-
CONTAINER_32
-
CONTAINER_33
-
CONTAINER_34
-
CONTAINER_35
-
CONTAINER_36
-
CONTAINER_37
-
CONTAINER_38
-
CONTAINER_39
-
CONTAINER_40
-
CONTAINER_41
-
CONTAINER_42
-
CONTAINER_43
-
CONTAINER_44
-
CONTAINER_45
-
CONTAINER_46
-
CONTAINER_47
-
CONTAINER_48
-
CONTAINER_49
-
CONTAINER_50
-
CONTAINER_51
-
CONTAINER_52
-
CONTAINER_53
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
defaultIndex
public int defaultIndex()Get the index of theEnderSpectatorInventory
at which this slot resides. -
byDefaultIndex
Get the slot given its index in theEnderSpectatorInventory
.
-