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.CODECprivate final List<BlocksAttacksComponent.DamageReduction> BlocksAttacksComponent.damageReductionsThe field for thedamageReductionsrecord component.static final PacketCodec<RegistryByteBuf, BlocksAttacksComponent.DamageReduction> BlocksAttacksComponent.DamageReduction.PACKET_CODECMethods in net.minecraft.component.type that return types with arguments of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionBlocksAttacksComponent.damageReductions()Returns the value of thedamageReductionsrecord component.Constructor parameters in net.minecraft.component.type with type arguments of type BlocksAttacksComponent.DamageReductionModifierConstructorDescriptionBlocksAttacksComponent(float blockDelaySeconds, float disableCooldownScale, List<BlocksAttacksComponent.DamageReduction> damageReductions, BlocksAttacksComponent.ItemDamage itemDamage, Optional<TagKey<DamageType>> bypassedBy, Optional<RegistryEntry<SoundEvent>> blockSound, Optional<RegistryEntry<SoundEvent>> disableSound) Creates an instance of aBlocksAttacksComponentrecord class.