public class PixelItemTier
extends java.lang.Object
implements net.minecraft.item.IItemTier
Constructor and Description |
---|
PixelItemTier(int enchantability,
java.util.function.Supplier<net.minecraft.item.crafting.Ingredient> repairMaterial,
int harvestLevelIn,
int maxUsesIn,
float efficiencyIn,
float attackDamageIn) |
Modifier and Type | Method and Description |
---|---|
float |
getAttackDamageBonus() |
int |
getEnchantmentValue() |
int |
getLevel() |
net.minecraft.item.crafting.Ingredient |
getRepairIngredient() |
float |
getSpeed() |
int |
getUses() |
public PixelItemTier(int enchantability, java.util.function.Supplier<net.minecraft.item.crafting.Ingredient> repairMaterial, int harvestLevelIn, int maxUsesIn, float efficiencyIn, float attackDamageIn)
public int getEnchantmentValue()
getEnchantmentValue
in interface net.minecraft.item.IItemTier
public net.minecraft.item.crafting.Ingredient getRepairIngredient()
getRepairIngredient
in interface net.minecraft.item.IItemTier
public int getUses()
getUses
in interface net.minecraft.item.IItemTier
public float getSpeed()
getSpeed
in interface net.minecraft.item.IItemTier
public float getAttackDamageBonus()
getAttackDamageBonus
in interface net.minecraft.item.IItemTier
public int getLevel()
getLevel
in interface net.minecraft.item.IItemTier