net.minecraft.component.type

public record WeaponComponent

dgd
net.minecraft.world.item.component.Weapon
net.minecraft.class_10590
net.minecraft.component.type.WeaponComponent
net.minecraft.unmapped.C_jsuianzi
net.minecraft.unmapped.C_jsuianzi
net.minecraft.src.C_379286_

Field summary

Modifier and TypeField
private final int
d
itemDamagePerAttack
comp_3481
itemDamagePerAttack
f_hllepkae
itemDamagePerAttack
f_381054_
private final float
e
disableBlockingForSeconds
comp_3602
disableBlockingForSeconds
f_egrlyrhf
disableBlockingForSeconds
f_380070_
public static final float
a
AXE_DISABLES_BLOCKING_FOR_SECONDS
field_56320
AXE_DISABLE_BLOCKING_FOR_SECONDS
f_mrtxibaa
f_381325_
public static final com.mojang.serialization.Codec<WeaponComponent>
b
CODEC
field_55712
CODEC
f_xlikbjpe
CODEC
f_380686_
public static final PacketCodec<RegistryByteBuf, WeaponComponent>
c
STREAM_CODEC
field_55713
PACKET_CODEC
f_ectabjrh
PACKET_CODEC
f_381182_

Constructor summary

ModifierConstructor
public (int itemDamagePerAttack)
public (int itemDamagePerAttack, float disableBlockingForSeconds)

Method summary

Modifier and TypeMethod
public int
a()
itemDamagePerAttack()
comp_3481()
itemDamagePerAttack()
m_dvesjrrp()
itemDamagePerAttack()
f_381054_()
public float
b()
disableBlockingForSeconds()
comp_3602()
disableBlockingForSeconds()
m_xmqfxcab()
disableBlockingForSeconds()
f_380070_()