net.minecraft.world.item.component

public record BlocksAttacks$DamageReduction

dbe$a
net.minecraft.world.item.component.BlocksAttacks$DamageReduction
net.minecraft.class_10707$class_10708
net.minecraft.unmapped.C_tnxfkkew$C_gkroextw
net.minecraft.component.type.BlocksAttacksComponent$DamageReduction
net.minecraft.unmapped.C_tnxfkkew$C_gkroextw

Field summary

Modifier and TypeField
private final float
c
horizontalBlockingAngle
comp_3638
f_lovkjesg
horizontalBlockingAngle
horizontalBlockingAngle
private final Optional<HolderSet<DamageType>>
d
type
comp_3592
f_mzjijkpt
type
type
private final float
e
base
comp_3593
f_rzsgdtdt
base
base
private final float
f
factor
comp_3594
f_izssjtlj
factor
factor
public static final com.mojang.serialization.Codec<BlocksAttacks$DamageReduction>
a
CODEC
field_56303
f_gfqtdozd
CODEC
CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, BlocksAttacks$DamageReduction>
b
STREAM_CODEC
field_56304
f_gtywanlo
PACKET_CODEC
PACKET_CODEC

Constructor summary

ModifierConstructor
public (float horizontalBlockingAngle, Optional<HolderSet<DamageType>> type, float base, float factor)

Method summary

Modifier and TypeMethod
public float
a(buu arg0, float arg1, double arg2)
resolve(DamageSource arg0, float arg1, double arg2)
method_67206(class_1282 arg0, float arg1, double arg2)
m_izmzcujr(C_sbxfkpyv arg0, float arg1, double arg2)
getReductionAmount(DamageSource source, float damage, double angle)
public float
a()
horizontalBlockingAngle()
comp_3638()
m_mwmlffhi()
horizontalBlockingAngle()
horizontalBlockingAngle()
public Optional<HolderSet<DamageType>>
b()
type()
comp_3592()
m_cbbydqid()
type()
type()
public float
c()
base()
comp_3593()
m_fxsvbwgq()
base()
base()
public float
d()
factor()
comp_3594()
m_ctiouofo()
factor()
factor()