Enum HTFluidPart
-
- All Implemented Interfaces:
-
hiiragi283.core.api.material.part.HTPartLike,hiiragi283.core.api.property.HTPropertyMap,java.io.Serializable,kotlin.Comparable
public enum HTFluidPart extends Enum<HTFluidPart> implements HTPartLike, HTPropertyMap
液体向けにHTPartLikeを実装したクラスです。
- Since:
0.12.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<HTFluidPart>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description MOLTEN
-
Method Summary
Modifier and Type Method Description HTPartasPart()HTPartに変換します。 StringasPartName()asPartから部品の名前を取得します。 ResourceLocationcreateId(HTMaterialLike material)指定した素材からIDを生成します。 final TagKey<Fluid>createTagKey(HTMaterialLike material)指定した素材から,液体の共通タグを生成します。 final TagKey<Item>createBucketTag(HTMaterialLike material)指定した素材から,液体バケツの共通タグを生成します。 final Array<HTFluidPart>values()Returns an array containing the constants of this enum type, in the order they're declared. final HTFluidPartvalueOf(String value)Returns the enum constant of this type with the specified name. final StringgetName()final IntegergetOrdinal()final EnumEntries<HTFluidPart>getEntries()-
Methods inherited from class hiiragi283.core.api.property.HTPropertyMap
contains, get, isEmpty -
Methods inherited from class hiiragi283.core.api.material.part.HTPartLike
createKey -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
asPart
@Deprecated(message = "Not Implemented", level = DeprecationLevel.ERROR) HTPart asPart()
HTPartに変換します。
-
asPartName
String asPartName()
asPartから部品の名前を取得します。
-
createId
ResourceLocation createId(HTMaterialLike material)
指定した素材からIDを生成します。
-
createTagKey
final TagKey<Fluid> createTagKey(HTMaterialLike material)
指定した素材から,液体の共通タグを生成します。
-
createBucketTag
final TagKey<Item> createBucketTag(HTMaterialLike material)
指定した素材から,液体バケツの共通タグを生成します。
-
values
final Array<HTFluidPart> 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 HTFluidPart 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<HTFluidPart> getEntries()
-
-
-
-