net.minecraft.world.item.component

public record BlocksAttacks$DamageReduction

dbo$a
net.minecraft.world.item.component.BlocksAttacks$DamageReduction
net.minecraft.class_10707$class_10708
net.minecraft.component.type.BlocksAttacksComponent$DamageReduction

Field summary

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

Constructor summary

ModifierConstructor
public (float arg0, Optional<HolderSet<DamageType>> arg1, float arg2, float arg3)

Method summary

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