类 ForgeTier
java.lang.Object
net.minecraftforge.common.ForgeTier
- 所有已实现的接口:
Tier
Helper class to define a custom tier
-
字段概要
字段修饰符和类型字段说明private final float
private final int
private final int
private final @NotNull Supplier<Ingredient>
private final float
private final int
-
构造器概要
构造器构造器说明ForgeTier
(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, @NotNull TagKey<Block> tag, @NotNull Supplier<Ingredient> repairIngredient) -
方法概要
-
字段详细资料
-
level
private final int level -
uses
private final int uses -
speed
private final float speed -
attackDamageBonus
private final float attackDamageBonus -
enchantmentValue
private final int enchantmentValue -
tag
-
repairIngredient
-
-
构造器详细资料
-
ForgeTier
public ForgeTier(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, @NotNull @NotNull TagKey<Block> tag, @NotNull @NotNull Supplier<Ingredient> repairIngredient)
-
-
方法详细资料
-
getUses
public int getUses() -
getSpeed
public float getSpeed() -
getAttackDamageBonus
public float getAttackDamageBonus()- 指定者:
getAttackDamageBonus
在接口中Tier
-
getLevel
public int getLevel() -
getEnchantmentValue
public int getEnchantmentValue()- 指定者:
getEnchantmentValue
在接口中Tier
-
getTag
-
getRepairIngredient
- 指定者:
getRepairIngredient
在接口中Tier
-
toString
-