Enum HTSlotInfo
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable,net.minecraft.util.StringRepresentable
public enum HTSlotInfo extends Enum<HTSlotInfo> implements StringRepresentable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTSlotInfo.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleancanInsertprivate final BooleancanExtractprivate final HTDefaultColorcolorprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<HTSlotInfo>entriesprivate final StringserializedName
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTHINPUTOUTPUTEXTRA_INPUTEXTRA_OUTPUTNONE
-
Method Summary
Modifier and Type Method Description final ComponentgetText(Direction side)StringgetSerializedName()final Array<HTSlotInfo>values()Returns an array containing the constants of this enum type, in the order they're declared. final HTSlotInfovalueOf(String value)Returns the enum constant of this type with the specified name. final BooleangetCanInsert()final BooleangetCanExtract()final HTDefaultColorgetColor()final StringgetName()final IntegergetOrdinal()final EnumEntries<HTSlotInfo>getEntries()-
-
Method Detail
-
getText
final Component getText(Direction side)
-
getSerializedName
String getSerializedName()
-
values
final Array<HTSlotInfo> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final HTSlotInfo valueOf(String value)
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.)
-
getCanInsert
final Boolean getCanInsert()
-
getCanExtract
final Boolean getCanExtract()
-
getColor
final HTDefaultColor getColor()
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<HTSlotInfo> getEntries()
-
-
-
-