Class PixelItemTier

java.lang.Object
com.pixelmonmod.pixelmon.items.tools.PixelItemTier
All Implemented Interfaces:
net.minecraft.world.item.Tier

public class PixelItemTier extends Object implements net.minecraft.world.item.Tier
  • 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 interface net.minecraft.world.item.Tier
    • getRepairIngredient

      public net.minecraft.world.item.crafting.Ingredient getRepairIngredient()
      Specified by:
      getRepairIngredient in interface net.minecraft.world.item.Tier
    • getUses

      public int getUses()
      Specified by:
      getUses in interface net.minecraft.world.item.Tier
    • getSpeed

      public float getSpeed()
      Specified by:
      getSpeed in interface net.minecraft.world.item.Tier
    • getAttackDamageBonus

      public float getAttackDamageBonus()
      Specified by:
      getAttackDamageBonus in interface net.minecraft.world.item.Tier
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in interface net.minecraft.world.item.Tier