net.minecraft.world.entity.projectile

public abstract class AbstractArrow

extends Projectile

All mapped superinterfaces:

Nameable, CommandSource

beg
net.minecraft.world.entity.projectile.AbstractArrow
net.minecraft.class_1665
net.minecraft.entity.projectile.PersistentProjectileEntity
net.minecraft.entity.projectile.AbstractArrowEntity
net.minecraft.server.v1_16_R1.EntityArrow

Field summary

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

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractArrow> arg0, 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(ack arg0)
setSoundEvent(SoundEvent arg0)
method_7444(class_3414 arg0)
setSound(SoundEvent sound)
func_213869_a(SoundEvent arg0)
protected void
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
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
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private boolean
u()
shouldFall()
method_26351()
method_26351()
func_234593_u_()
private void
z()
startFalling()
method_26352()
method_26352()
func_234594_z_()
public void
a(apd arg0, dem arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
move(MovementType arg0, Vec3d arg1)
func_213315_a(MoverType arg0, Vector3d arg1)
move(EnumMoveType arg0, Vec3D arg1)
protected void
h()
tickDespawn()
method_7446()
age()
func_225516_i_()
private void
A()
resetPiercedEntities()
method_7453()
clearPiercingStatus()
func_213870_w()
protected void
a(dei arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
func_213868_a(EntityRayTraceResult arg0)
protected void
a(deh arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
func_230299_a_(BlockRayTraceResult arg0)
protected SoundEvent
i()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
func_213867_k()
protected final SoundEvent
k()
getHitGroundSoundEvent()
method_20011()
getSound()
func_203050_i()
getSoundHit()
protected void
a(aoy arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity target)
func_184548_a(LivingEntity arg0)
protected EntityHitResult
a(dem arg0, dem arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
func_213866_a(Vector3d arg0, Vector3d arg1)
protected boolean
a(aom arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
method_26958(Entity arg0)
func_230298_a_(Entity arg0)
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
b(aom arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
setOwner(Entity arg0)
func_212361_a(Entity arg0)
setShooter(Entity arg0)
public void
a_(bec arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
func_70100_b_(PlayerEntity arg0)
pickup(EntityHuman arg0)
protected abstract ItemStack
m()
getPickupItem()
method_7445()
asItemStack()
func_184550_j()
getItemStack()
protected boolean
ax()
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
n()
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
bH()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
protected float
a(apj arg0, aon 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
p()
isCritArrow()
method_7443()
isCritical()
func_70241_g()
isCritical()
public boolean
q()
shotFromCrossbow()
method_7456()
isShotFromCrossbow()
func_213873_r()
isShotFromCrossbow()
public byte
r()
getPierceLevel()
method_7447()
getPierceLevel()
func_213874_s()
getPierceLevel()
public void
a(aoy arg0, float arg1)
setEnchantmentEffectsFromEntity(LivingEntity arg0, float arg1)
method_7435(class_1309 arg0, float arg1)
applyEnchantmentEffects(LivingEntity entity, float damageModifier)
func_190547_a(LivingEntity arg0, float arg1)
protected float
s()
getWaterInertia()
method_7436()
getDragInWater()
func_203044_p()
public void
o(boolean arg0)
setNoPhysics(boolean arg0)
method_7433(boolean arg0)
setNoClip(boolean noClip)
func_203045_n(boolean arg0)
public boolean
t()
isNoPhysics()
method_7441()
isNoClip()
func_203047_q()
public void
p(boolean arg0)
setShotFromCrossbow(boolean arg0)
method_7442(boolean arg0)
setShotFromCrossbow(boolean shotFromCrossbow)
func_213865_o(boolean arg0)
setShotFromCrossbow(boolean arg0)
public Packet<?>
O()
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)