Class SimpleTier

java.lang.Object
net.neoforged.neoforge.common.SimpleTier

public class SimpleTier extends Object
Helper class to define a custom tier FIXME: is this still needed?
  • Field Details

    • incorrectBlocksForDrops

      private final net.minecraft.tags.TagKey<net.minecraft.world.level.block.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<net.minecraft.world.item.crafting.Ingredient> repairIngredient
  • Constructor Details

    • SimpleTier

      public SimpleTier(net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> incorrectBlocksForDrops, int uses, float speed, float attackDamageBonus, int enchantmentValue, Supplier<net.minecraft.world.item.crafting.Ingredient> repairIngredient)
  • Method Details