net.minecraft.world.entity.projectile

public abstract class AbstractArrow

extends Projectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, TraceableEntity

ctg
net.minecraft.world.entity.projectile.AbstractArrow
net.minecraft.class_1665

Field summary

Modifier and TypeField
private static final double
d
ARROW_BASE_DAMAGE
field_30657
private static final int
e
SHAKE_TIME
field_54968
private static final float
f
WATER_INERTIA
field_55017
private static final float
g
INERTIA
field_55018
private static final short
h
DEFAULT_LIFE
field_57732
private static final byte
i
DEFAULT_SHAKE
field_57733
private static final boolean
j
DEFAULT_IN_GROUND
field_57734
private static final boolean
k
DEFAULT_CRIT
field_57735
private static final byte
l
DEFAULT_PIERCE_LEVEL
field_57736
private static final EntityDataAccessor<Byte>
m
ID_FLAGS
field_7573
private static final EntityDataAccessor<Byte>
n
PIERCE_LEVEL
field_7589
private static final EntityDataAccessor<Boolean>
o
IN_GROUND
field_54969
private static final int
p
FLAG_CRIT
field_30654
private static final int
q
FLAG_NOPHYSICS
field_30655
private BlockState
r
lastState
field_7586
protected int
a
inGroundTime
field_7576
public AbstractArrow$Pickup
b
pickup
field_7572
public int
c
shakeTime
field_7574
private int
s
life
field_7578
private double
t
baseDamage
field_7571
private SoundEvent
u
soundEvent
field_7584
private it.unimi.dsi.fastutil.ints.IntOpenHashSet
ay
piercingIgnoreEntityIds
field_7590
private List<Entity>
az
piercedAndKilledEntities
field_7579
private ItemStack
aA
pickupItemStack
field_46970
private ItemStack
aB
firedFromWeapon
field_51620

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractArrow> arg0, Level arg1)
protected (EntityType<? extends AbstractArrow> arg0, double arg1, double arg2, double arg3, Level arg4, ItemStack arg5, ItemStack arg6)
protected (EntityType<? extends AbstractArrow> arg0, LivingEntity arg1, Level arg2, ItemStack arg3, ItemStack arg4)

Method summary

Modifier and TypeMethod
public void
b(axf arg0)
setSoundEvent(SoundEvent arg0)
method_7444(class_3414 arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
protected void
a(ald$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
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)
public void
k(double arg0, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_5750(double arg0, double arg1, double arg2)
public void
a(akz<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
public void
g()
tick()
method_5773()
private void
b(fgt arg0)
stepMoveAndHit(BlockHitResult arg0)
method_63670(class_3965 arg0)
private void
b(float arg0)
applyInertia(float arg0)
method_63669(float arg0)
private void
a(fgx arg0)
addBubbleParticles(Vec3 arg0)
method_64646(class_243 arg0)
protected double
be()
getDefaultGravity()
method_7490()
private boolean
x()
shouldFall()
method_26351()
private void
A()
startFalling()
method_26352()
protected boolean
e()
isInGround()
method_65059()
protected void
a(boolean arg0)
setInGround(boolean arg0)
method_65058(boolean arg0)
public boolean
cM()
isPushedByFluid()
method_5675()
public void
a(byw arg0, fgx arg1)
move(MoverType arg0, Vec3 arg1)
method_5784(class_1313 arg0, class_243 arg1)
protected void
f()
tickDespawn()
method_7446()
private void
B()
resetPiercedEntities()
method_7453()
protected void
b(daw arg0)
onItemBreak(Item arg0)
method_61544(class_1792 arg0)
public void
a(boolean arg0, iy arg1)
onAboveBubbleColumn(boolean arg0, BlockPos arg1)
method_5700(boolean arg0, class_2338 arg1)
public void
m(boolean arg0)
onInsideBubbleColumn(boolean arg0)
method_5764(boolean arg0)
public void
i(double arg0, double arg1, double arg2)
push(double arg0, double arg1, double arg2)
method_5762(double arg0, double arg1, double arg2)
protected void
a(fgu arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
protected void
a(bys arg0, bwh arg1)
doKnockback(LivingEntity arg0, DamageSource arg1)
method_59957(class_1309 arg0, class_1282 arg1)
protected void
a(fgt arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
protected void
a(asi arg0, fgt arg1, dba arg2)
hitBlockEnchantmentEffects(ServerLevel arg0, BlockHitResult arg1, ItemStack arg2)
method_59956(class_3218 arg0, class_3965 arg1, class_1799 arg2)
public ItemStack
ee()
getWeaponItem()
method_59958()
protected SoundEvent
i()
getDefaultHitGroundSoundEvent()
method_7440()
protected final SoundEvent
l()
getHitGroundSoundEvent()
method_20011()
protected void
a(bys arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
protected EntityHitResult
b(fgx arg0, fgx arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
protected boolean
b(bxs arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
protected void
a(fbh arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
protected void
a(fbf arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
public void
c(bxs arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
public void
a_(csy arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
protected boolean
a(csy arg0)
tryPickup(Player arg0)
method_34713(class_1657 arg0)
protected ItemStack
m()
getPickupItem()
method_7445()
protected abstract ItemStack
n()
getDefaultPickupItem()
method_57314()
protected Entity$MovementEmission
bh()
getMovementEmission()
method_33570()
public ItemStack
q()
getPickupItemStackOrigin()
method_54759()
public void
h(double arg0)
setBaseDamage(double arg0)
method_7438(double arg0)
public boolean
cE()
isAttackable()
method_5732()
public void
b(boolean arg0)
setCritArrow(boolean arg0)
method_7439(boolean arg0)
private void
a(byte arg0)
setPierceLevel(byte arg0)
method_7451(byte arg0)
private void
a(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_7455(int arg0, boolean arg1)
protected void
a(dba arg0)
setPickupItemStack(ItemStack arg0)
method_57313(class_1799 arg0)
public boolean
s()
isCritArrow()
method_7443()
public byte
t()
getPierceLevel()
method_7447()
public void
a(float arg0)
setBaseDamageFromMob(float arg0)
method_59955(float arg0)
protected float
u()
getWaterInertia()
method_7436()
public void
r(boolean arg0)
setNoPhysics(boolean arg0)
method_7433(boolean arg0)
public boolean
v()
isNoPhysics()
method_7441()
public boolean
bI()
isPickable()
method_5863()
public SlotAccess
a_(int arg0)
getSlot(int arg0)
method_32318(int arg0)
protected boolean
w()
shouldBounceOnWorldBorder()
method_62823()