net.minecraft.world.item

public record ToolMaterial

cyh
net.minecraft.world.item.ToolMaterial
net.minecraft.class_9886
net.minecraft.unmapped.C_bemqmqey
net.minecraft.item.ToolMaterial
net.minecraft.unmapped.C_bemqmqey
net.minecraft.src.C_345738_
net.minecraft.world.item.ToolMaterial

Field summary

Modifier and TypeField
private final TagKey<Block>
g
incorrectBlocksForDrops
comp_2930
f_omlaacon
incorrectBlocksForDrops
incorrectBlocksForDrops
f_348003_
private final int
h
durability
comp_2931
f_ptjxoojq
durability
durability
f_348224_
private final float
i
speed
comp_2932
f_qhkvhpyi
speed
speed
f_346233_
private final float
j
attackDamageBonus
comp_2933
f_gxwmlonq
attackDamageBonus
attackDamageBonus
f_346491_
private final int
k
enchantmentValue
comp_2934
f_oivinvby
enchantmentValue
enchantmentValue
f_348217_
private final TagKey<Item>
l
repairItems
comp_2935
f_khkjvxeu
repairItems
repairItems
f_348499_
public static final ToolMaterial
a
WOOD
field_52585
f_jiugqecp
WOOD
INCORRECT_FOR_WOODEN_TOOL
f_348940_
public static final ToolMaterial
b
STONE
field_52586
f_jkmmskiu
STONE
INCORRECT_FOR_STONE_TOOL
f_346635_
public static final ToolMaterial
c
IRON
field_52587
f_qvtopxel
IRON
INCORRECT_FOR_IRON_TOOL
f_347024_
public static final ToolMaterial
d
DIAMOND
field_52588
f_yjfibxje
DIAMOND
INCORRECT_FOR_DIAMOND_TOOL
f_348390_
public static final ToolMaterial
e
GOLD
field_52589
f_atgezmuo
GOLD
INCORRECT_FOR_GOLD_TOOL
f_349142_
public static final ToolMaterial
f
NETHERITE
field_52590
f_geskqukn
NETHERITE
INCORRECT_FOR_NETHERITE_TOOL
f_348218_

Constructor summary

ModifierConstructor
public (TagKey<Block> incorrectBlocksForDrops, int durability, float speed, float attackDamageBonus, int enchantmentValue, TagKey<Item> repairItems)

Method summary

Modifier and TypeMethod
private Item$Properties
a(cwm$a arg0)
applyCommonProperties(Item$Properties arg0)
method_61661(class_1792$class_1793 arg0)
m_qsnwuqvs(C_vorddnax$C_bfrytpdl arg0)
applyBaseSettings(Item$Settings settings)
m_qsnwuqvs(Item$Settings settings)
m_352398_(C_1381_$C_1383_ arg0)
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)
m_yvlqvldg(C_vorddnax$C_bfrytpdl arg0, C_ednuhnnn<C_mmxmpdoq> arg1, float arg2, float arg3)
applyToolSettings(Item$Settings settings, TagKey<Block> effectiveBlocks, float attackDamage, float attackSpeed)
m_yvlqvldg(Item$Settings settings, TagKey<Block> tag, float arg2, float value)
m_355746_(C_1381_$C_1383_ p_363347_, C_203208_<C_1706_> p_365658_, float p_368042_, float arg3)
private ItemAttributeModifiers
a(float arg0, float arg1)
createToolAttributes(float arg0, float arg1)
method_61660(float arg0, float arg1)
m_rlewagch(float arg0, float arg1)
createToolAttributeModifiers(float attackDamage, float attackSpeed)
m_rlewagch(float arg0, float value)
m_352497_(float p_360987_, float arg1)
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)
m_furkkmso(C_vorddnax$C_bfrytpdl arg0, float arg1, float arg2)
applySwordSettings(Item$Settings settings, float attackDamage, float attackSpeed)
m_furkkmso(Item$Settings settings, float arg1, float value)
m_355994_(C_1381_$C_1383_ p_363140_, float p_366527_, float arg2)
private ItemAttributeModifiers
b(float arg0, float arg1)
createSwordAttributes(float arg0, float arg1)
method_61664(float arg0, float arg1)
m_mvmollbx(float arg0, float arg1)
createSwordAttributeModifiers(float attackDamage, float attackSpeed)
m_mvmollbx(float arg0, float value)
m_353065_(float p_369087_, float arg1)
public TagKey<Block>
a()
incorrectBlocksForDrops()
comp_2930()
m_thctdvee()
incorrectBlocksForDrops()
incorrectBlocksForDrops()
f_348003_()
public int
b()
durability()
comp_2931()
m_ccwkmjhg()
durability()
durability()
f_348224_()
public float
c()
speed()
comp_2932()
m_nenstklh()
speed()
speed()
f_346233_()
public float
d()
attackDamageBonus()
comp_2933()
m_tmudzcit()
attackDamageBonus()
attackDamageBonus()
f_346491_()
public int
e()
enchantmentValue()
comp_2934()
m_jouxfykv()
enchantmentValue()
enchantmentValue()
f_348217_()
public TagKey<Item>
f()
repairItems()
comp_2935()
m_kundtucb()
repairItems()
repairItems()
f_348499_()