History - net.minecraft.world.item.component.BlocksAttacks
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_
net.minecraft.world.item.component.BlocksAttacks
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_