Uses of Record Class
net.minecraft.component.type.BlocksAttacksComponent.DamageReduction
Packages that use BlocksAttacksComponent.DamageReduction
-
Uses of BlocksAttacksComponent.DamageReduction in net.minecraft.component.type
Fields in net.minecraft.component.type with type parameters of type BlocksAttacksComponent.DamageReductionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlocksAttacksComponent.DamageReduction> BlocksAttacksComponent.DamageReduction.CODEC
private final List
<BlocksAttacksComponent.DamageReduction> BlocksAttacksComponent.damageReductions
The field for thedamageReductions
record component.static final PacketCodec
<RegistryByteBuf, BlocksAttacksComponent.DamageReduction> BlocksAttacksComponent.DamageReduction.PACKET_CODEC
Methods in net.minecraft.component.type that return types with arguments of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionBlocksAttacksComponent.damageReductions()
Returns the value of thedamageReductions
record component.Constructor parameters in net.minecraft.component.type with type arguments of type BlocksAttacksComponent.DamageReductionModifierConstructorDescriptionBlocksAttacksComponent
(float float2, float float3, List<BlocksAttacksComponent.DamageReduction> list, BlocksAttacksComponent.ItemDamage itemDamage, Optional<TagKey<DamageType>> optional, Optional<RegistryEntry<SoundEvent>> optional2, Optional<RegistryEntry<SoundEvent>> optional3)