net.minecraft.world.item.component

public record BlocksAttacks$ItemDamageFunction

dbo$b
net.minecraft.world.item.component.BlocksAttacks$ItemDamageFunction
net.minecraft.class_10707$class_10709
net.minecraft.component.type.BlocksAttacksComponent$ItemDamage

Field summary

Modifier and TypeField
private final float
d
threshold
comp_3595
threshold
private final float
e
base
comp_3596
base
private final float
f
factor
comp_3597
factor
public static final com.mojang.serialization.Codec<BlocksAttacks$ItemDamageFunction>
a
CODEC
field_56306
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, BlocksAttacks$ItemDamageFunction>
b
STREAM_CODEC
field_56307
PACKET_CODEC
public static final BlocksAttacks$ItemDamageFunction
c
DEFAULT
field_56308
DEFAULT

Constructor summary

ModifierConstructor
public (float arg0, float arg1, float arg2)

Method summary

Modifier and TypeMethod
public int
a(float arg0)
apply(float arg0)
method_67208(float arg0)
calculate(float itemDamage)
public float
a()
threshold()
comp_3595()
threshold()
public float
b()
base()
comp_3596()
base()
public float
c()
factor()
comp_3597()
factor()