Package hiiragi283.core.setup
Enum HCToolMaterials
-
- All Implemented Interfaces:
-
hiiragi283.core.api.item.equipment.HTEquipmentMaterial,hiiragi283.core.api.item.tool.HTToolMaterial,java.io.Serializable,kotlin.Comparable,net.minecraft.world.item.Tier
public enum HCToolMaterials extends Enum<HCToolMaterials> implements HTToolMaterial
- Since:
0.9.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<HCToolMaterials>entriesprivate final IntegerenchantmentValueprivate final Floatspeedprivate final Integerusesprivate final FloatattackDamageBonusprivate final TagKey<Block>incorrectBlocksForDropsprivate final IngredientrepairIngredient
-
Enum Constant Summary
Enum Constants Enum Constant Description STEELBRONZEAZURE_STEEL
-
Method Summary
Modifier and Type Method Description FloatgetAxeDamage()FloatgetAxeAttackSpeed()IntegergetEnchantmentValue()この素材のエンチャント値を取得します。 IngredientgetRepairIngredient()この素材の修理に必要な材料を取得します。 IntegergetUses()FloatgetSpeed()FloatgetAttackDamageBonus()TagKey<Block>getIncorrectBlocksForDrops()final Array<HCToolMaterials>values()Returns an array containing the constants of this enum type, in the order they're declared. final HCToolMaterialsvalueOf(String value)Returns the enum constant of this type with the specified name. final StringgetName()final IntegergetOrdinal()final EnumEntries<HCToolMaterials>getEntries()-
Methods inherited from class hiiragi283.core.api.item.tool.HTToolMaterial
getHoeAttackSpeed, getHoeDamage, getPickaxeAttackSpeed, getPickaxeDamage, getShovelAttackSpeed, getShovelDamage, getSwordAttackSpeed, getSwordDamage -
Methods inherited from class net.minecraft.world.item.Tier
createToolProperties -
Methods inherited from class hiiragi283.core.setup.HCToolMaterials
getAttackDamageBonus, getEnchantmentValue, getIncorrectBlocksForDrops, getRepairIngredient, getSpeed, getUses -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAxeDamage
Float getAxeDamage()
-
getAxeAttackSpeed
Float getAxeAttackSpeed()
-
getEnchantmentValue
Integer getEnchantmentValue()
この素材のエンチャント値を取得します。
-
getRepairIngredient
Ingredient getRepairIngredient()
この素材の修理に必要な材料を取得します。
-
getAttackDamageBonus
Float getAttackDamageBonus()
-
getIncorrectBlocksForDrops
TagKey<Block> getIncorrectBlocksForDrops()
-
values
final Array<HCToolMaterials> 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 HCToolMaterials 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<HCToolMaterials> getEntries()
-
-
-
-