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.CODEC
private final List
<BlocksAttacks.DamageReduction> BlocksAttacks.damageReductions
The field for thedamageReductions
record component.static final StreamCodec
<RegistryFriendlyByteBuf, BlocksAttacks.DamageReduction> BlocksAttacks.DamageReduction.STREAM_CODEC
Methods in net.minecraft.world.item.component that return types with arguments of type BlocksAttacks.DamageReductionModifier and TypeMethodDescriptionBlocksAttacks.damageReductions()
Returns the value of thedamageReductions
record 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 aBlocksAttacks
record class.