Uses of Record Class
net.minecraft.world.item.component.BlocksAttacks.ItemDamageFunction
Packages that use BlocksAttacks.ItemDamageFunction
-
Uses of BlocksAttacks.ItemDamageFunction in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as BlocksAttacks.ItemDamageFunctionModifier and TypeFieldDescriptionstatic final BlocksAttacks.ItemDamageFunctionBlocksAttacks.ItemDamageFunction.DEFAULTprivate final BlocksAttacks.ItemDamageFunctionBlocksAttacks.itemDamageThe field for theitemDamagerecord component.Fields in net.minecraft.world.item.component with type parameters of type BlocksAttacks.ItemDamageFunctionModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlocksAttacks.ItemDamageFunction> BlocksAttacks.ItemDamageFunction.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, BlocksAttacks.ItemDamageFunction> BlocksAttacks.ItemDamageFunction.STREAM_CODECMethods in net.minecraft.world.item.component that return BlocksAttacks.ItemDamageFunctionModifier and TypeMethodDescriptionBlocksAttacks.itemDamage()Returns the value of theitemDamagerecord component.Constructors in net.minecraft.world.item.component with parameters of type BlocksAttacks.ItemDamageFunctionModifierConstructorDescriptionBlocksAttacks(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.