Class PixelItemTier
java.lang.Object
com.pixelmonmod.pixelmon.items.tools.PixelItemTier
- All Implemented Interfaces:
net.minecraft.world.item.Tier
-
Constructor Summary
ConstructorDescriptionPixelItemTier
(int enchantability, Supplier<net.minecraft.world.item.crafting.Ingredient> repairMaterial, int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.item.Tier
getTag
-
Constructor Details
-
PixelItemTier
public PixelItemTier(int enchantability, Supplier<net.minecraft.world.item.crafting.Ingredient> repairMaterial, int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn)
-
-
Method Details
-
getEnchantmentValue
public int getEnchantmentValue()- Specified by:
getEnchantmentValue
in interfacenet.minecraft.world.item.Tier
-
getRepairIngredient
public net.minecraft.world.item.crafting.Ingredient getRepairIngredient()- Specified by:
getRepairIngredient
in interfacenet.minecraft.world.item.Tier
-
getUses
public int getUses()- Specified by:
getUses
in interfacenet.minecraft.world.item.Tier
-
getSpeed
public float getSpeed()- Specified by:
getSpeed
in interfacenet.minecraft.world.item.Tier
-
getAttackDamageBonus
public float getAttackDamageBonus()- Specified by:
getAttackDamageBonus
in interfacenet.minecraft.world.item.Tier
-
getLevel
public int getLevel()- Specified by:
getLevel
in interfacenet.minecraft.world.item.Tier
-