History - net.minecraft.world.item.component.BlocksAttacks

25w04a

Names

dat

net.minecraft.world.item.component.BlocksAttacks

net.minecraft.class_10707

net.minecraft.class_10707

Fields

float: c, blockDelaySeconds, comp_3586, blockDelaySeconds

float: d, disableCooldownScale, comp_3587, disableCooldownScale

List<BlocksAttacks$DamageReduction>: e, damageReductions, comp_3588, damageReductions

BlocksAttacks$ItemDamageFunction: f, itemDamage, comp_3589, itemDamage

Optional<Holder<SoundEvent>>: g, blockSound, comp_3590, blockSound

Optional<Holder<SoundEvent>>: h, disableSound, comp_3591, disableSound

com.mojang.serialization.Codec<BlocksAttacks>: a, CODEC, field_56301, field_56301

StreamCodec<RegistryFriendlyByteBuf, BlocksAttacks>: b, STREAM_CODEC, field_56302, field_56302

Constructors

(float, float, List<BlocksAttacks$DamageReduction>, BlocksAttacks$ItemDamageFunction, Optional<Holder<SoundEvent>>, Optional<Holder<SoundEvent>>)

Methods

void (ServerLevel, LivingEntity): a, onBlocked, method_67199, method_67199

void (ServerLevel, LivingEntity, float, ItemStack): a, disable, method_67200, method_67200

void (Level, ItemStack, LivingEntity, InteractionHand, float): a, hurtBlockingItem, method_67204, method_67204

int (float): a, disableBlockingForTicks, method_67198, method_67198

int (): a, blockDelayTicks, method_67197, method_67197

float (DamageSource, float): a, resolveBlockedDamage, method_67202, method_67202

float (): b, blockDelaySeconds, comp_3586, blockDelaySeconds

float (): c, disableCooldownScale, comp_3587, disableCooldownScale

List<BlocksAttacks$DamageReduction> (): d, damageReductions, comp_3588, damageReductions

BlocksAttacks$ItemDamageFunction (): e, itemDamage, comp_3589, itemDamage

Optional<Holder<SoundEvent>> (): f, blockSound, comp_3590, blockSound

Optional<Holder<SoundEvent>> (): g, disableSound, comp_3591, disableSound