历史 - net.minecraft.world.item.component.PiercingWeapon
1.21.11
名称
dow
net.minecraft.world.item.component.PiercingWeapon
net.minecraft.class_12125
net.minecraft.component.type.PiercingWeaponComponent
net.minecraft.src.C_432120_
net.minecraft.world.item.component.PiercingWeapon
字段
boolean: c, dealsKnockback, comp_4971, dealsKnockback, f_436980_
boolean: d, dismounts, comp_4972, dismounts, f_436715_
Optional<Holder<SoundEvent>>: e, sound, comp_4973, sound, f_435872_
Optional<Holder<SoundEvent>>: f, hitSound, comp_4974, hitSound, f_436476_
com.mojang.serialization.Codec<PiercingWeapon>: a, CODEC, field_63411, CODEC, f_436537_
StreamCodec<RegistryFriendlyByteBuf, PiercingWeapon>: b, STREAM_CODEC, field_63412, PACKET_CODEC, f_433901_
构造函数
(boolean, boolean, Optional<Holder<SoundEvent>>, Optional<Holder<SoundEvent>>)
方法
void (Entity): a, makeSound, method_75243, playSound, m_439163_
void (Entity): b, makeHitSound, method_75247, playHitSound, m_442673_
boolean (Entity, Entity): a, canHitEntity, method_75244, canHit, m_441870_
void (LivingEntity, EquipmentSlot): a, attack, method_75242, stab, m_441779_
boolean (): a, dealsKnockback, comp_4971, dealsKnockback, f_436980_
boolean (): b, dismounts, comp_4972, dismounts, f_436715_
Optional<Holder<SoundEvent>> (): c, sound, comp_4973, sound, f_435872_
Optional<Holder<SoundEvent>> (): d, hitSound, comp_4974, hitSound, f_436476_