net.minecraft.world.entity.projectile

public abstract class AbstractArrow

extends Entity implements Projectile

All mapped superinterfaces:

Nameable, CommandSource, Projectile

ayn
net.minecraft.world.entity.projectile.AbstractArrow
net.minecraft.class_1665
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.AbstractArrowEntity
net.minecraft.server.v1_15_R1.EntityArrow

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Byte>
ao
ID_FLAGS
field_7573
PROJECTILE_FLAGS
field_184554_g
protected static final EntityDataAccessor<Optional<UUID>>
b
DATA_OWNERUUID_ID
field_7580
OPTIONAL_UUID
field_212362_a
private static final EntityDataAccessor<Byte>
ap
PIERCE_LEVEL
field_7589
PIERCE_LEVEL
field_213876_as
private BlockState
aq
lastState
field_7586
inBlockState
field_195056_av
protected boolean
c
inGround
field_7588
inGround
field_70254_i
inGround
protected int
d
inGroundTime
field_7576
inGroundTime
field_184552_b
public AbstractArrow$Pickup
e
pickup
field_7572
pickupType
field_70251_a
fromPlayer
public int
f
shakeTime
field_7574
shake
field_70249_b
shake
public UUID
g
ownerUUID
field_7587
ownerUuid
field_70250_c
shooter
private int
ar
life
field_7578
life
field_70252_j
despawnCounter
private int
as
flightTime
field_7577
flyingTick
field_70257_an
private double
at
baseDamage
field_7571
damage
field_70255_ao
damage
private int
au
knockback
field_7575
punch
field_70256_ap
knockbackStrength
private SoundEvent
av
soundEvent
field_7584
sound
field_213877_ay
private it.unimi.dsi.fastutil.ints.IntOpenHashSet
aw
piercingIgnoreEntityIds
field_7590
piercedEntities
field_213878_az
private List<Entity>
ax
piercedAndKilledEntities
field_7579
piercingKilledEntities
field_213875_aA

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractArrow> type, 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(aah arg0)
setSoundEvent(SoundEvent arg0)
method_7444(class_3414 arg0)
setSound(SoundEvent sound)
func_213869_a(SoundEvent arg0)
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
a(akq arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
shootFromRotation(Entity arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
method_7474(class_1297 arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
setProperties(Entity user, float pitch, float yaw, float roll, float modifierZ, float modifierXYZ)
func_184547_a(Entity arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
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)
setVelocity(double arg0, double arg1, double arg2, float arg3, float arg4)
func_70186_c(double arg0, double arg1, double arg2, float arg3, float arg4)
shoot(double arg0, double arg1, double arg2, float arg3, float arg4)
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
protected void
i()
tickDespawn()
method_7446()
age()
func_225516_i_()
protected void
a(cvi arg0)
onHit(HitResult arg0)
method_7457(class_239 arg0)
onHit(HitResult arg0)
func_184549_a(RayTraceResult arg0)
private void
w()
resetPiercedEntities()
method_7453()
clearPiercingStatus()
func_213870_w()
protected void
a(cvh arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
func_213868_a(EntityRayTraceResult arg0)
protected SoundEvent
k()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
func_213867_k()
protected final SoundEvent
l()
getHitGroundSoundEvent()
method_20011()
getSound()
func_203050_i()
getSoundHit()
protected void
a(akz arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity target)
func_184548_a(LivingEntity arg0)
protected EntityHitResult
a(cvl arg0, cvl arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
func_213866_a(Vec3d arg0, Vec3d arg1)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public void
a(akq arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
setOwner(Entity arg0)
func_212361_a(Entity arg0)
setShooter(Entity arg0)
public Entity
m()
getOwner()
method_7452()
getOwner()
func_212360_k()
getShooter()
public void
b(ayj arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
protected abstract ItemStack
n()
getPickupItem()
method_7445()
asItemStack()
func_184550_j()
getItemStack()
protected boolean
at()
isMovementNoisy()
method_5658()
canClimb()
func_225502_at_()
playStepSound()
public void
h(double arg0)
setBaseDamage(double arg0)
method_7438(double arg0)
setDamage(double damage)
func_70239_b(double arg0)
setDamage(double arg0)
public double
o()
getBaseDamage()
method_7448()
getDamage()
func_70242_d()
getDamage()
public void
a(int arg0)
setKnockback(int arg0)
method_7449(int arg0)
setPunch(int punch)
func_70240_a(int arg0)
setKnockbackStrength(int arg0)
public boolean
bA()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
protected float
a(alj arg0, akr arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
func_213316_a(Pose arg0, EntitySize arg1)
getHeadHeight(EntityPose arg0, EntitySize arg1)
public void
a(boolean arg0)
setCritArrow(boolean arg0)
method_7439(boolean arg0)
setCritical(boolean critical)
func_70243_d(boolean arg0)
setCritical(boolean arg0)
public void
b(byte arg0)
setPierceLevel(byte arg0)
method_7451(byte arg0)
setPierceLevel(byte level)
func_213872_b(byte arg0)
setPierceLevel(byte arg0)
private void
a(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_7455(int arg0, boolean arg1)
setProjectileFlag(int index, boolean flag)
func_203049_a(int arg0, boolean arg1)
public boolean
q()
isCritArrow()
method_7443()
isCritical()
func_70241_g()
isCritical()
public boolean
r()
shotFromCrossbow()
method_7456()
isShotFromCrossbow()
func_213873_r()
public byte
s()
getPierceLevel()
method_7447()
getPierceLevel()
func_213874_s()
getPierceLevel()
public void
a(akz arg0, float arg1)
setEnchantmentEffectsFromEntity(LivingEntity arg0, float arg1)
method_7435(class_1309 arg0, float arg1)
applyEnchantmentEffects(LivingEntity arg0, float damageModifier)
func_190547_a(LivingEntity arg0, float arg1)
protected float
u()
getWaterInertia()
method_7436()
getDragInWater()
func_203044_p()
public void
n(boolean arg0)
setNoPhysics(boolean arg0)
method_7433(boolean arg0)
setNoClip(boolean noClip)
func_203045_n(boolean arg0)
public boolean
v()
isNoPhysics()
method_7441()
isNoClip()
func_203047_q()
public void
o(boolean arg0)
setShotFromCrossbow(boolean arg0)
method_7442(boolean arg0)
setShotFromCrossbow(boolean shotFromCrossbow)
func_213865_o(boolean arg0)
public Packet<?>
L()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
func_70112_a(double arg0)
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)
updateTrackedPositionAndAngles(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
func_180426_a(double arg0, double arg1, double arg2, float arg3, float arg4, int arg5, boolean arg6)
public void
j(double arg0, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_5750(double arg0, double arg1, double arg2)
setVelocityClient(double arg0, double arg1, double arg2)
func_70016_h(double arg0, double arg1, double arg2)