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.ItemDamageFunction
BlocksAttacks.ItemDamageFunction.DEFAULT
private final BlocksAttacks.ItemDamageFunction
BlocksAttacks.itemDamage
The field for theitemDamage
record 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.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, BlocksAttacks.ItemDamageFunction> BlocksAttacks.ItemDamageFunction.STREAM_CODEC
Methods in net.minecraft.world.item.component that return BlocksAttacks.ItemDamageFunctionModifier and TypeMethodDescriptionBlocksAttacks.itemDamage()
Returns the value of theitemDamage
record 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 aBlocksAttacks
record class.