Uses of Record Class
net.minecraft.world.item.component.BlocksAttacks.DamageReduction
Packages that use BlocksAttacks.DamageReduction
-
Uses of BlocksAttacks.DamageReduction in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type BlocksAttacks.DamageReductionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlocksAttacks.DamageReduction> BlocksAttacks.DamageReduction.CODECprivate final List<BlocksAttacks.DamageReduction> BlocksAttacks.damageReductionsThe field for thedamageReductionsrecord component.static final StreamCodec<RegistryFriendlyByteBuf, BlocksAttacks.DamageReduction> BlocksAttacks.DamageReduction.STREAM_CODECMethods in net.minecraft.world.item.component that return types with arguments of type BlocksAttacks.DamageReductionModifier and TypeMethodDescriptionBlocksAttacks.damageReductions()Returns the value of thedamageReductionsrecord component.Constructor parameters in net.minecraft.world.item.component with type arguments of type BlocksAttacks.DamageReductionModifierConstructorDescriptionBlocksAttacks(float blockDelaySeconds, float disableCooldownScale, List<BlocksAttacks.DamageReduction> damageReductions, BlocksAttacks.ItemDamageFunction itemDamage, Optional<TagKey<DamageType>> bypassedBy, Optional<Holder<SoundEvent>> blockSound, Optional<Holder<SoundEvent>> disableSound) Creates an instance of aBlocksAttacksrecord class.