History - net.minecraft.component.type.BlocksAttacksComponent
26.3-snapshot-3
Names
Fields
Constructors
Methods
26.3-snapshot-2
Names
Fields
Constructors
Methods
26.3-snapshot-1
Names
Fields
Constructors
Methods
26.2
Names
Fields
Constructors
Methods
26.1.2
Names
Fields
Constructors
Methods
26.1.1
Names
Fields
Constructors
Methods
26.1
Names
Fields
Constructors
Methods
void (ServerWorld, LivingEntity, RegistryEntry): lambda$disable$2, method_67201, method_67201
void (ServerWorld, LivingEntity, RegistryEntry): lambda$disable$0, method_67201, method_67201
void (ServerWorld, LivingEntity, RegistryEntry): lambda$onBlocked$1, method_67205, method_67205
void (ServerWorld, LivingEntity, RegistryEntry): lambda$onBlocked$0, method_67205, method_67205
1.21.11_unobfuscated
Names
net.minecraft.world.item.component.BlocksAttacks
net.minecraft.class_10707
net.minecraft.component.type.BlocksAttacksComponent
Fields
float: blockDelaySeconds, comp_3586, blockDelaySeconds
float: disableCooldownScale, comp_3587, disableCooldownScale
List<BlocksAttacksComponent$DamageReduction>: damageReductions, comp_3588, damageReductions
BlocksAttacksComponent$ItemDamage: itemDamage, comp_3589, itemDamage
Optional<TagKey<DamageType>>: bypassedBy, comp_3637, bypassedBy
Optional<RegistryEntry<SoundEvent>>: blockSound, comp_3590, blockSound
Optional<RegistryEntry<SoundEvent>>: disableSound, comp_3591, disableSound
com.mojang.serialization.Codec<BlocksAttacksComponent>: CODEC, field_56301, CODEC
PacketCodec<RegistryByteBuf, BlocksAttacksComponent>: STREAM_CODEC, field_56302, PACKET_CODEC
Constructors
(float, float, List<BlocksAttacksComponent$DamageReduction>, BlocksAttacksComponent$ItemDamage, Optional<TagKey<DamageType>>, Optional<RegistryEntry<SoundEvent>>, Optional<RegistryEntry<SoundEvent>>)
Methods
void (ServerWorld, LivingEntity): onBlocked, method_67199, playBlockSound
void (ServerWorld, LivingEntity, float, ItemStack): disable, method_67200, applyShieldCooldown
void (World, ItemStack, LivingEntity, Hand, float): hurtBlockingItem, method_67204, onShieldHit
int (float): disableBlockingForTicks, method_67198, convertCooldownToTicks
int (): blockDelayTicks, method_67197, getBlockDelayTicks
float (DamageSource, float, double): resolveBlockedDamage, method_67202, getDamageReductionAmount
float (): blockDelaySeconds, comp_3586, blockDelaySeconds
float (): disableCooldownScale, comp_3587, disableCooldownScale
List<BlocksAttacksComponent$DamageReduction> (): damageReductions, comp_3588, damageReductions
BlocksAttacksComponent$ItemDamage (): itemDamage, comp_3589, itemDamage
Optional<TagKey<DamageType>> (): bypassedBy, comp_3637, bypassedBy
Optional<RegistryEntry<SoundEvent>> (): blockSound, comp_3590, blockSound
Optional<RegistryEntry<SoundEvent>> (): disableSound, comp_3591, disableSound
void (ServerWorld, LivingEntity, RegistryEntry): lambda$disable$2, method_67201, method_67201
void (ServerWorld, LivingEntity, RegistryEntry): lambda$onBlocked$1, method_67205, method_67205
com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_67203, method_67203