Class ForgeTier

java.lang.Object
net.minecraftforge.common.ForgeTier
All Implemented Interfaces:
Tier

public final class ForgeTier extends Object implements Tier
Helper class to define a custom tier
  • Field Details

    • 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

      @Nonnull private final Tag<Block> tag
    • repairIngredient

      @Nonnull private final Supplier<Ingredient> repairIngredient
  • Constructor Details

    • ForgeTier

      public ForgeTier(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, @Nonnull Tag<Block> tag, @Nonnull Supplier<Ingredient> repairIngredient)
  • Method Details