Package hiiragi283.core.api.gui
Enum HTBackgroundType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum HTBackgroundType extends Enum<HTBackgroundType>
スロットやタンクの背景の種類を表すクラスです。
- Since:
0.8.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisInputprivate final BooleanisOutputprivate final ResourceLocationslotTextureprivate final ResourceLocationtankTextureprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<HTBackgroundType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTHINPUTOUTPUTEXTRA_INPUTEXTRA_OUTPUTNONE
-
Method Summary
Modifier and Type Method Description final Array<HTBackgroundType>values()Returns an array containing the constants of this enum type, in the order they're declared. final HTBackgroundTypevalueOf(String value)Returns the enum constant of this type with the specified name. final BooleanisInput()final BooleanisOutput()final ResourceLocationgetSlotTexture()final ResourceLocationgetTankTexture()final StringgetName()final IntegergetOrdinal()final EnumEntries<HTBackgroundType>getEntries()-
-
Method Detail
-
values
final Array<HTBackgroundType> 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 HTBackgroundType 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.)
-
getSlotTexture
final ResourceLocation getSlotTexture()
-
getTankTexture
final ResourceLocation getTankTexture()
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<HTBackgroundType> getEntries()
-
-
-
-