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

25w45a

Names

djr

dmp

Fields

float: c, blockDelaySeconds, comp_3586, blockDelaySeconds, f_382690_

float: c, blockDelaySeconds, comp_3586, blockDelaySeconds

float: d, disableCooldownScale, comp_3587, disableCooldownScale, f_381580_

float: d, disableCooldownScale, comp_3587, disableCooldownScale

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

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

BlocksAttacks$ItemDamageFunction: f, itemDamage, comp_3589, itemDamage, f_380443_

BlocksAttacks$ItemDamageFunction: f, itemDamage, comp_3589, itemDamage

Optional<TagKey<DamageType>>: g, bypassedBy, comp_3637, bypassedBy, f_382600_

Optional<TagKey<DamageType>>: g, bypassedBy, comp_3637, bypassedBy

Optional<Holder<SoundEvent>>: h, blockSound, comp_3590, blockSound, f_381748_

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

Optional<Holder<SoundEvent>>: i, disableSound, comp_3591, disableSound, f_379800_

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

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

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

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

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

Constructors

Methods

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

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

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

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

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

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

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

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

int (): a, blockDelayTicks, method_67197, getBlockDelayTicks, m_387290_

int (): a, blockDelayTicks, method_67197, getBlockDelayTicks

float (DamageSource, float, double): a, resolveBlockedDamage, method_67202, getDamageReductionAmount, m_388349_

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

float (): b, blockDelaySeconds, comp_3586, blockDelaySeconds, f_382690_

float (): b, blockDelaySeconds, comp_3586, blockDelaySeconds

float (): c, disableCooldownScale, comp_3587, disableCooldownScale, f_381580_

float (): c, disableCooldownScale, comp_3587, disableCooldownScale

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

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

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

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

Optional<TagKey<DamageType>> (): f, bypassedBy, comp_3637, bypassedBy, f_382600_

Optional<TagKey<DamageType>> (): f, bypassedBy, comp_3637, bypassedBy

Optional<Holder<SoundEvent>> (): g, blockSound, comp_3590, blockSound, f_381748_

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

Optional<Holder<SoundEvent>> (): h, disableSound, comp_3591, disableSound, f_379800_

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

1.21.10

Names

Fields

Constructors

Methods

1.21.9

Names

dew

djr

Fields

Constructors

Methods

1.21.8

Names

Fields

Constructors

Methods

1.21.7

Names

Fields

Constructors

Methods

1.21.6

Names

dcl

dew

Fields

Constructors

Methods

1.21.5

Names

dcl

net.minecraft.world.item.component.BlocksAttacks

net.minecraft.class_10707

net.minecraft.component.type.BlocksAttacksComponent

net.minecraft.src.C_379263_

Fields

float: c, blockDelaySeconds, comp_3586, blockDelaySeconds, f_382690_

float: d, disableCooldownScale, comp_3587, disableCooldownScale, f_381580_

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

BlocksAttacks$ItemDamageFunction: f, itemDamage, comp_3589, itemDamage, f_380443_

Optional<TagKey<DamageType>>: g, bypassedBy, comp_3637, bypassedBy, f_382600_

Optional<Holder<SoundEvent>>: h, blockSound, comp_3590, blockSound, f_381748_

Optional<Holder<SoundEvent>>: i, disableSound, comp_3591, disableSound, f_379800_

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

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

Constructors

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

Methods

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

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

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

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

int (): a, blockDelayTicks, method_67197, getBlockDelayTicks, m_387290_

float (DamageSource, float, double): a, resolveBlockedDamage, method_67202, getDamageReductionAmount, m_388349_

float (): b, blockDelaySeconds, comp_3586, blockDelaySeconds, f_382690_

float (): c, disableCooldownScale, comp_3587, disableCooldownScale, f_381580_

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

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

Optional<TagKey<DamageType>> (): f, bypassedBy, comp_3637, bypassedBy, f_382600_

Optional<Holder<SoundEvent>> (): g, blockSound, comp_3590, blockSound, f_381748_

Optional<Holder<SoundEvent>> (): h, disableSound, comp_3591, disableSound, f_379800_