Package net.neoforged.neoforge.common
Class SimpleTier
java.lang.Object
net.neoforged.neoforge.common.SimpleTier
Helper class to define a custom tier
FIXME: is this still needed?
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private final int
private final net.minecraft.tags.TagKey
<net.minecraft.world.level.block.Block> private final Supplier
<net.minecraft.world.item.crafting.Ingredient> private final float
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleTier
(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 Summary
-
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
-
-
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