Package hiiragi283.core.common.item
Enum VanillaEquipmentMaterial
-
- All Implemented Interfaces:
-
hiiragi283.core.api.item.HTEquipmentMaterial,hiiragi283.core.api.material.HTMaterialLike,java.io.Serializable,kotlin.Comparable,net.minecraft.world.item.Tier
public enum VanillaEquipmentMaterial extends Enum<VanillaEquipmentMaterial> implements HTEquipmentMaterial, HTMaterialLike
-
-
Field Summary
Fields Modifier and Type Field Description private 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 FloatgetAxeDamage()FloatgetAxeAttackSpeed()FloatgetToughness()防具強度の値を取得します。 FloatgetKnockbackResistance()ノックバック耐性の値を取得します。 Holder<SoundEvent>getEquipSound()装備時のSEを取得します。 IntegergetArmorDefence(ArmorItem.Type type)各部位から防御力の値を取得します。 IntegergetArmorMultiplier()防具の耐久値の倍率を取得します。 IntegergetUses()FloatgetSpeed()FloatgetAttackDamageBonus()TagKey<Block>getIncorrectBlocksForDrops()IntegergetEnchantmentValue()IngredientgetRepairIngredient()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. final StringgetName()final IntegergetOrdinal()final EnumEntries<VanillaEquipmentMaterial>getEntries()-
Methods inherited from class hiiragi283.core.api.material.HTMaterialLike
asMaterialKey, asMaterialName, isOf -
Methods inherited from class hiiragi283.core.api.item.HTEquipmentMaterial
getHoeAttackSpeed, getHoeDamage, getPickaxeAttackSpeed, getPickaxeDamage, getShovelAttackSpeed, getShovelDamage, getSwordAttackSpeed, getSwordDamage -
Methods inherited from class net.minecraft.world.item.Tier
createToolProperties -
Methods inherited from class hiiragi283.core.common.item.VanillaEquipmentMaterial
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()
-
getToughness
Float getToughness()
防具強度の値を取得します。
-
getKnockbackResistance
Float getKnockbackResistance()
ノックバック耐性の値を取得します。
-
getEquipSound
Holder<SoundEvent> getEquipSound()
装備時のSEを取得します。
-
getArmorDefence
Integer getArmorDefence(ArmorItem.Type type)
各部位から防御力の値を取得します。
-
getArmorMultiplier
Integer getArmorMultiplier()
防具の耐久値の倍率を取得します。
-
getAttackDamageBonus
Float getAttackDamageBonus()
-
getIncorrectBlocksForDrops
TagKey<Block> getIncorrectBlocksForDrops()
-
getEnchantmentValue
Integer getEnchantmentValue()
-
getRepairIngredient
Ingredient getRepairIngredient()
-
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.)
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<VanillaEquipmentMaterial> getEntries()
-
-
-
-