Class SimpleTier

java.lang.Object
net.neoforged.neoforge.common.SimpleTier
All Implemented Interfaces:
Tier

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

    • incorrectBlocksForDrops

      private final TagKey<Block> incorrectBlocksForDrops
    • uses

      private final int uses
    • speed

      private final float speed
    • attackDamageBonus

      private final float attackDamageBonus
    • enchantmentValue

      private final int enchantmentValue
    • repairIngredient

      private final Supplier<Ingredient> repairIngredient
  • Constructor Details

    • SimpleTier

      public SimpleTier(TagKey<Block> incorrectBlocksForDrops, int uses, float speed, float attackDamageBonus, int enchantmentValue, Supplier<Ingredient> repairIngredient)
  • Method Details