net.minecraft.world.item

public record ToolMaterial

cyh
net.minecraft.world.item.ToolMaterial
net.minecraft.class_9886
net.minecraft.item.ToolMaterial
net.minecraft.world.item.ToolMaterial

Field summary

Modifier and TypeField
private final TagKey<Block>
g
incorrectBlocksForDrops
comp_2930
incorrectBlocksForDrops
private final int
h
durability
comp_2931
durability
private final float
i
speed
comp_2932
speed
private final float
j
attackDamageBonus
comp_2933
attackDamageBonus
private final int
k
enchantmentValue
comp_2934
enchantmentValue
private final TagKey<Item>
l
repairItems
comp_2935
repairItems
public static final ToolMaterial
a
WOOD
field_52585
WOOD
public static final ToolMaterial
b
STONE
field_52586
STONE
public static final ToolMaterial
c
IRON
field_52587
IRON
public static final ToolMaterial
d
DIAMOND
field_52588
DIAMOND
public static final ToolMaterial
e
GOLD
field_52589
GOLD
public static final ToolMaterial
f
NETHERITE
field_52590
NETHERITE

Constructor summary

ModifierConstructor
public (TagKey<Block> arg0, int arg1, float arg2, float arg3, int arg4, TagKey<Item> arg5)

Method summary

Modifier and TypeMethod
private Item$Properties
a(cwm$a arg0)
applyCommonProperties(Item$Properties arg0)
method_61661(class_1792$class_1793 arg0)
applyBaseSettings(Item$Settings settings)
public Item$Properties
a(cwm$a arg0, axf<djn> arg1, float arg2, float arg3)
applyToolProperties(Item$Properties arg0, TagKey<Block> arg1, float arg2, float arg3)
method_61663(class_1792$class_1793 arg0, class_6862<class_2248> arg1, float arg2, float arg3)
applyToolSettings(Item$Settings settings, TagKey<Block> effectiveBlocks, float attackDamage, float attackSpeed)
private ItemAttributeModifiers
a(float arg0, float arg1)
createToolAttributes(float arg0, float arg1)
method_61660(float arg0, float arg1)
createToolAttributeModifiers(float attackDamage, float attackSpeed)
public Item$Properties
a(cwm$a arg0, float arg1, float arg2)
applySwordProperties(Item$Properties arg0, float arg1, float arg2)
method_61662(class_1792$class_1793 arg0, float arg1, float arg2)
applySwordSettings(Item$Settings settings, float attackDamage, float attackSpeed)
private ItemAttributeModifiers
b(float arg0, float arg1)
createSwordAttributes(float arg0, float arg1)
method_61664(float arg0, float arg1)
createSwordAttributeModifiers(float attackDamage, float attackSpeed)
public TagKey<Block>
a()
incorrectBlocksForDrops()
comp_2930()
incorrectBlocksForDrops()
public int
b()
durability()
comp_2931()
durability()
public float
c()
speed()
comp_2932()
speed()
public float
d()
attackDamageBonus()
comp_2933()
attackDamageBonus()
public int
e()
enchantmentValue()
comp_2934()
enchantmentValue()
public TagKey<Item>
f()
repairItems()
comp_2935()
repairItems()