Package hiiragi283.core.api.item.alchemy
Enum HTBottleType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable,net.minecraft.util.StringRepresentable,net.minecraft.world.level.ItemLike
public enum HTBottleType extends Enum<HTBottleType> implements ItemLike, StringRepresentable
ポーション瓶の種類を管理するクラスです。
- Since:
0.10.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classHTBottleType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<HTBottleType>entriesprivate final StringserializedName
-
Method Summary
Modifier and Type Method Description ItemasItem()StringgetSerializedName()final Array<HTBottleType>values()Returns an array containing the constants of this enum type, in the order they're declared. final HTBottleTypevalueOf(String value)Returns the enum constant of this type with the specified name. final StringgetName()final IntegergetOrdinal()final EnumEntries<HTBottleType>getEntries()-
-
Method Detail
-
asItem
Item asItem()
-
getSerializedName
String getSerializedName()
-
values
final Array<HTBottleType> 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 HTBottleType 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.)
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<HTBottleType> getEntries()
-
-
-
-