Interface ExtendedTier

All Superinterfaces:
net.minecraft.world.item.Tier
All Known Implementing Classes:
UExtendedTier

public interface ExtendedTier extends net.minecraft.world.item.Tier
This interface extends the Tier interface for tool materials of vanilla style tools.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Contains all vanilla tools.
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Returns the additional damage that is added to the Tier.getAttackDamageBonus() per given tool.
    float
    Returns the attack speed per given tool.

    Methods inherited from interface net.minecraft.world.item.Tier

    getAttackDamageBonus, getEnchantmentValue, getLevel, getRepairIngredient, getSpeed, getTag, getUses
  • Method Details

    • getAttackDamage

      float getAttackDamage(ExtendedTier.Tools tools)
      Returns the additional damage that is added to the Tier.getAttackDamageBonus() per given tool.
      Parameters:
      tools - The tool
      Returns:
      Attack damage
    • getAttackSpeed

      float getAttackSpeed(ExtendedTier.Tools tools)
      Returns the attack speed per given tool.
      Parameters:
      tools - The tool
      Returns:
      Attack speed