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

    • uses

      private final int uses
    • speed

      private final float speed
    • attackDamageBonus

      private final float attackDamageBonus
    • enchantmentValue

      private final int enchantmentValue
    • tag

      @NotNull private final @NotNull TagKey<Block> tag
    • repairIngredient

      @NotNull private final @NotNull Supplier<Ingredient> repairIngredient
    • incorrectBlocks

      @NotNull public final @NotNull TagKey<Block> incorrectBlocks
  • Constructor Details

    • ForgeTier

      public ForgeTier(int uses, float speed, float attackDamageBonus, int enchantmentValue, @NotNull @NotNull TagKey<Block> tag, @NotNull @NotNull Supplier<Ingredient> repairIngredient, @NotNull @NotNull TagKey<Block> incorrectBlocks)
  • Method Details