net.minecraft.world.entity.projectile

public abstract class AbstractArrow

extends Projectile

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bnv
net.minecraft.world.entity.projectile.AbstractArrow
net.minecraft.class_1665
net.minecraft.unmapped.C_gstiksvs
net.minecraft.entity.projectile.PersistentProjectileEntity
net.minecraft.src.C_1151_
net.minecraft.world.entity.projectile.EntityArrow

Field summary

Modifier and TypeField
private static final double
f
ARROW_BASE_DAMAGE
field_30657
f_qazfvpcx
field_30657
f_150120_
private static final EntityDataAccessor<Byte>
ap
ID_FLAGS
field_7573
f_umpvtnwi
PROJECTILE_FLAGS
f_36707_
private static final EntityDataAccessor<Byte>
aq
PIERCE_LEVEL
field_7589
f_pqiurqmt
PIERCE_LEVEL
f_36708_
private static final int
ar
FLAG_CRIT
field_30654
f_pnuxpkjk
CRITICAL_FLAG
f_150117_
private static final int
as
FLAG_NOPHYSICS
field_30655
f_cqdzcrjf
NO_CLIP_FLAG
f_150118_
private static final int
at
FLAG_CROSSBOW
field_30656
f_srfdhjfx
SHOT_FROM_CROSSBOW_FLAG
f_150119_
private BlockState
au
lastState
field_7586
f_ncskhrlt
inBlockState
f_36696_
protected boolean
b
inGround
field_7588
f_lginejtm
inGround
f_36703_
protected int
c
inGroundTime
field_7576
f_edvgavkm
inGroundTime
f_36704_
public AbstractArrow$Pickup
d
pickup
field_7572
f_igmdnyfz
pickupType
f_36705_
public int
e
shakeTime
field_7574
f_wgfwlrwg
shake
f_36706_
private int
av
life
field_7578
f_csdzamsu
life
f_36697_
private double
aw
baseDamage
field_7571
f_wuzchbwg
damage
f_36698_
private int
ax
knockback
field_7575
f_fjxiwzib
punch
f_36699_
private SoundEvent
ay
soundEvent
field_7584
f_chigjmmi
sound
f_36700_
private it.unimi.dsi.fastutil.ints.IntOpenHashSet
az
piercingIgnoreEntityIds
field_7590
f_juvjveta
piercedEntities
f_36701_
private List<Entity>
aA
piercedAndKilledEntities
field_7579
f_etnylbxa
piercingKilledEntities
f_36702_

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractArrow> p_36722_, Level arg1)
protected (EntityType<? extends AbstractArrow> type, double x, double y, double z, Level world)
protected (EntityType<? extends AbstractArrow> type, LivingEntity owner, Level world)

Method summary

Modifier and TypeMethod
public void
a(agu arg0)
setSoundEvent(SoundEvent arg0)
method_7444(class_3414 arg0)
m_hfszjmoi(C_avavozay arg0)
setSound(SoundEvent sound)
m_36740_(C_123_ arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
m_8097_()
public void
c(double arg0, double arg1, double arg2, float arg3, float arg4)
shoot(double arg0, double arg1, double arg2, float arg3, float arg4)
method_7485(double arg0, double arg1, double arg2, float arg3, float arg4)
m_bzpgfgfy(double arg0, double arg1, double arg2, float arg3, float arg4)
setVelocity(double arg0, double arg1, double arg2, float arg3, float arg4)
m_6686_(double p_36776_, double p_36778_, double arg2, float arg3, float arg4)
public void
a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
lerpTo(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
method_5759(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_fepbvbrn(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
m_6453_(double p_36729_, double p_36731_, double p_36733_, float arg3, float arg4, int arg5, boolean arg6)
public void
k(double arg0, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_5750(double arg0, double arg1, double arg2)
m_onpbziok(double arg0, double arg1, double arg2)
setVelocityClient(double arg0, double arg1, double arg2)
m_6001_(double p_36787_, double arg1, double arg2)
public void
k()
tick()
method_5773()
m_arkgrfeb()
tick()
m_8119_()
private boolean
w()
shouldFall()
method_26351()
m_beukkvsr()
shouldFall()
m_36798_()
private void
A()
startFalling()
method_26352()
m_ewfckluc()
fall()
m_36799_()
public void
a(axn arg0, dom arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
m_zcvlfcid(C_eojqvxuw arg0, C_vgpupfxx arg1)
move(MovementType arg0, Vec3d arg1)
m_6478_(C_531_ p_36750_, C_3046_ arg1)
protected void
h()
tickDespawn()
method_7446()
m_sepatgdc()
age()
m_6901_()
private void
C()
resetPiercedEntities()
method_7453()
m_ehzehefq()
clearPiercingStatus()
m_36723_()
protected void
a(doj arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
m_nkpdbvpp(C_wokbhynj arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(doi arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
m_ggjsldmr(C_jdakttms arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
protected SoundEvent
i()
getDefaultHitGroundSoundEvent()
method_7440()
m_vwewtmfb()
getHitSound()
m_7239_()
protected final SoundEvent
j()
getHitGroundSoundEvent()
method_20011()
m_kntlthra()
getSound()
m_36784_()
protected void
a(axh arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
m_whtcpczr(C_usxaxydn arg0)
onHit(LivingEntity target)
m_7761_(C_524_ arg0)
protected EntityHitResult
a(dom arg0, dom arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
m_kynuhxfa(C_vgpupfxx arg0, C_vgpupfxx arg1)
getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
m_6351_(C_3046_ p_36759_, C_3046_ arg1)
protected boolean
a(awt arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
m_jmdjqqjc(C_astfners arg0)
canHit(Entity arg0)
m_5603_(C_507_ arg0)
public void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
b(awt arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
m_wosjyviq(C_astfners arg0)
setOwner(Entity arg0)
m_5602_(C_507_ arg0)
public void
b(bnr arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
m_ghqcprlw(C_jzrpycqo arg0)
onPlayerCollision(PlayerEntity arg0)
m_6123_(C_1141_ arg0)
protected boolean
a(bnr arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
m_ovuszxpo(C_jzrpycqo arg0)
tryPickup(PlayerEntity player)
m_142470_(C_1141_ arg0)
protected abstract ItemStack
l()
getPickupItem()
method_7445()
m_vscqpbfw()
asItemStack()
m_7941_()
protected Entity$MovementEmission
aN()
getMovementEmission()
method_33570()
m_dxohridw()
getMoveEffect()
m_142319_()
public void
h(double arg0)
setBaseDamage(double arg0)
method_7438(double arg0)
m_izcgrjes(double arg0)
setDamage(double damage)
m_36781_(double arg0)
public double
n()
getBaseDamage()
method_7448()
m_vifaajkb()
getDamage()
m_36789_()
public void
a(int arg0)
setKnockback(int arg0)
method_7449(int arg0)
m_zzwlyggx(int arg0)
setPunch(int punch)
m_36735_(int arg0)
public int
o()
getKnockback()
method_35207()
m_vxrkogrt()
getPunch()
m_150123_()
public boolean
cf()
isAttackable()
method_5732()
m_kymkfjov()
isAttackable()
m_6097_()
protected float
a(axt arg0, awu arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
m_mfupgmuw(C_ufdjspmk arg0, C_sszpscpo arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6380_(C_535_ p_36753_, C_510_ arg1)
public void
a(boolean arg0)
setCritArrow(boolean arg0)
method_7439(boolean arg0)
m_wcqbexjj(boolean arg0)
setCritical(boolean critical)
m_36762_(boolean arg0)
public void
b(byte arg0)
setPierceLevel(byte arg0)
method_7451(byte arg0)
m_clbqtpac(byte arg0)
setPierceLevel(byte level)
m_36767_(byte arg0)
private void
a(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_7455(int arg0, boolean arg1)
m_qnxttchu(int arg0, boolean arg1)
setProjectileFlag(int index, boolean flag)
m_36737_(int p_36739_, boolean arg1)
public boolean
q()
isCritArrow()
method_7443()
m_xnefdmre()
isCritical()
m_36792_()
public boolean
r()
shotFromCrossbow()
method_7456()
m_auqbucik()
isShotFromCrossbow()
m_36795_()
public byte
s()
getPierceLevel()
method_7447()
m_sxxslcng()
getPierceLevel()
m_36796_()
public void
a(axh arg0, float arg1)
setEnchantmentEffectsFromEntity(LivingEntity arg0, float arg1)
method_7435(class_1309 arg0, float arg1)
m_uirchdjo(C_usxaxydn arg0, float arg1)
applyEnchantmentEffects(LivingEntity entity, float damageModifier)
m_36745_(C_524_ p_36747_, float arg1)
protected float
t()
getWaterInertia()
method_7436()
m_wrkmrnze()
getDragInWater()
m_6882_()
public void
p(boolean arg0)
setNoPhysics(boolean arg0)
method_7433(boolean arg0)
m_heweaind(boolean arg0)
setNoClip(boolean noClip)
m_36790_(boolean arg0)
public boolean
u()
isNoPhysics()
method_7441()
m_utnhoeqp()
isNoClip()
m_36797_()
public void
q(boolean arg0)
setShotFromCrossbow(boolean arg0)
method_7442(boolean arg0)
m_onvcgtem(boolean arg0)
setShotFromCrossbow(boolean shotFromCrossbow)
m_36793_(boolean arg0)