Class HTChancedOreResult
-
- All Implemented Interfaces:
@JvmRecord() public final class HTChancedOreResult extends Record
鉱石の粉砕レシピにおける副産物を表すクラスです。
- Since:
0.8.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final HTTagPrefixprefixprivate final HTMaterialKeykeyprivate final Fractionchance
-
Constructor Summary
Constructors Constructor Description HTChancedOreResult(HTTagPrefix prefix, HTMaterialKey key, Fraction chance)
-
Method Summary
Modifier and Type Method Description final HTTagPrefixgetPrefix()final HTMaterialKeygetKey()final FractiongetChance()final HTChancedItemResulttoResult(HTResultCreator creator)HTChancedItemResultに変換します。 -
-
Constructor Detail
-
HTChancedOreResult
HTChancedOreResult(HTTagPrefix prefix, HTMaterialKey key, Fraction chance)
-
-
Method Detail
-
getPrefix
final HTTagPrefix getPrefix()
-
getKey
final HTMaterialKey getKey()
-
getChance
final Fraction getChance()
-
toResult
final HTChancedItemResult toResult(HTResultCreator creator)
HTChancedItemResultに変換します。
-
-
-
-