Package hiiragi283.core.common.item
Enum VanillaEquipmentMaterial
-
- All Implemented Interfaces:
-
hiiragi283.core.api.item.armor.HTArmorMaterial,hiiragi283.core.api.item.armor.HTArmorMaterial.Delegated,hiiragi283.core.api.item.equipment.HTEquipmentMaterial,hiiragi283.core.api.item.tool.HTToolMaterial,hiiragi283.core.api.item.tool.HTToolMaterial.Delegated,hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.resource.HTKeyLike,java.io.Serializable,kotlin.Comparable,net.minecraft.world.item.Tier
public enum VanillaEquipmentMaterial extends Enum<VanillaEquipmentMaterial> implements HTArmorMaterial.Delegated, HTToolMaterial.Delegated
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnamespaceprivate final Stringpathprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<VanillaEquipmentMaterial>entriesprivate final Floatspeedprivate final Integerusesprivate final FloatattackDamageBonusprivate final TagKey<Block>incorrectBlocksForDropsprivate final IngredientrepairIngredientprivate final IntegerenchantmentValue
-
Method Summary
Modifier and Type Method Description IntegergetEnchantmentValue()この素材のエンチャント値を取得します。 Holder<ArmorMaterial>getHolder()IntegergetArmorMultiplier()防具の耐久値の倍率を取得します。 TiergetTier()FloatgetAxeDamage()FloatgetAxeAttackSpeed()final Array<VanillaEquipmentMaterial>values()Returns an array containing the constants of this enum type, in the order they're declared. final VanillaEquipmentMaterialvalueOf(String value)Returns the enum constant of this type with the specified name. StringgetNamespace()StringgetPath()final StringgetName()final IntegergetOrdinal()final EnumEntries<VanillaEquipmentMaterial>getEntries()-
Methods inherited from class hiiragi283.core.api.item.armor.HTArmorMaterial.Delegated
getArmorDefence, getEquipSound, getKnockbackResistance, getRepairIngredient, getResourceKey, getToughness -
Methods inherited from class hiiragi283.core.api.resource.HTKeyLike
getId, isOf, isOf -
Methods inherited from class hiiragi283.core.api.item.tool.HTToolMaterial.Delegated
createToolProperties, getAttackDamageBonus, getAttackDamageBonus, getIncorrectBlocksForDrops, getIncorrectBlocksForDrops, getSpeed, getSpeed, getUses, getUses -
Methods inherited from class hiiragi283.core.api.item.tool.HTToolMaterial
getHoeAttackSpeed, getHoeDamage, getPickaxeAttackSpeed, getPickaxeDamage, getShovelAttackSpeed, getShovelDamage, getSwordAttackSpeed, getSwordDamage -
Methods inherited from class hiiragi283.core.common.item.VanillaEquipmentMaterial
getEnchantmentValue, getRepairIngredient -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getEnchantmentValue
Integer getEnchantmentValue()
この素材のエンチャント値を取得します。
-
getHolder
Holder<ArmorMaterial> getHolder()
-
getArmorMultiplier
Integer getArmorMultiplier()
防具の耐久値の倍率を取得します。
-
getTier
Tier getTier()
-
getAxeDamage
Float getAxeDamage()
-
getAxeAttackSpeed
Float getAxeAttackSpeed()
-
values
final Array<VanillaEquipmentMaterial> 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 VanillaEquipmentMaterial 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.)
-
getNamespace
String getNamespace()
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<VanillaEquipmentMaterial> getEntries()
-
-
-
-