net.minecraft.entity.projectile

public abstract class ProjectileEntity

extends Entity implements Projectile

All mapped superinterfaces:

Nameable, CommandOutput, Projectile

ayk
net.minecraft.world.entity.projectile.AbstractArrow
net.minecraft.class_1665
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.unmapped.C_gstiksvs
net.minecraft.entity.projectile.AbstractArrowEntity
net.minecraft.entity.projectile.AbstractArrowEntity

Field summary

Modifier and TypeField
private static final TrackedData<Byte>
ao
ID_FLAGS
field_7573
PROJECTILE_FLAGS
f_umpvtnwi
field_184554_g
CRITICAL
protected static final TrackedData<Optional<UUID>>
b
DATA_OWNERUUID_ID
field_7580
OPTIONAL_UUID
f_pkaqxpqv
field_212362_a
field_212362_a
private static final TrackedData<Byte>
ap
PIERCE_LEVEL
field_7589
PIERCE_LEVEL
f_pqiurqmt
field_213876_as
PIERCE_LEVEL
private BlockState
aq
lastState
field_7586
inBlockState
f_ncskhrlt
field_195056_av
inBlockState
protected boolean
c
inGround
field_7588
inGround
f_lginejtm
field_70254_i
inGround
protected int
d
inGroundTime
field_7576
inGroundTime
f_edvgavkm
field_184552_b
timeInGround
public ProjectileEntity$PickupPermission
e
pickup
field_7572
pickupType
f_igmdnyfz
field_70251_a
pickupStatus
public int
f
shakeTime
field_7574
shake
f_wgfwlrwg
field_70249_b
arrowShake
public UUID
g
ownerUUID
field_7587
ownerUuid
f_twxlgcct
field_70250_c
shootingEntity
private int
ar
life
field_7578
life
f_csdzamsu
field_70252_j
ticksInGround
private int
as
flightTime
field_7577
flyingTick
f_fkqhuwnd
field_70257_an
ticksInAir
private double
at
baseDamage
field_7571
damage
f_wuzchbwg
field_70255_ao
damage
private int
au
knockback
field_7575
punch
f_fjxiwzib
field_70256_ap
knockbackStrength
private SoundEvent
av
soundEvent
field_7584
sound
f_chigjmmi
field_213877_ay
hitSound
private it.unimi.dsi.fastutil.ints.IntOpenHashSet
aw
piercingIgnoreEntityIds
field_7590
piercedEntities
f_juvjveta
field_213878_az
piercedEntities
private List<Entity>
ax
piercedAndKilledEntities
field_7579
piercingKilledEntities
f_etnylbxa
field_213875_aA
hitEntities

Constructor summary

ModifierConstructor
protected (EntityType<? extends ProjectileEntity> type, World arg1)
protected (EntityType<? extends ProjectileEntity> type, double x, double y, double z, World world)
protected (EntityType<? extends ProjectileEntity> type, LivingEntity owner, World world)

Method summary

Modifier and TypeMethod
public void
a(aah arg0)
setSoundEvent(SoundEvent arg0)
method_7444(class_3414 arg0)
setSound(SoundEvent sound)
m_hfszjmoi(C_avavozay arg0)
func_213869_a(SoundEvent arg0)
setHitSound(SoundEvent soundIn)
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
m_lwugwlsw()
func_70088_a()
registerData()
public void
a(akn 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)
m_byomupex(C_astfners arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
func_184547_a(Entity arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
shoot(Entity shooter, float pitch, float yaw, float arg3, float velocity, float inaccuracy)
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)
m_bzpgfgfy(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()
m_arkgrfeb()
func_70071_h_()
tick()
protected void
i()
tickDespawn()
method_7446()
age()
m_sepatgdc()
func_225516_i_()
func_225516_i_()
protected void
a(cvf arg0)
onHit(HitResult arg0)
method_7457(class_239 arg0)
onHit(HitResult arg0)
m_tffhfskx(C_eetoegzn arg0)
func_184549_a(RayTraceResult arg0)
onHit(RayTraceResult raytraceResultIn)
private void
w()
resetPiercedEntities()
method_7453()
clearPiercingStatus()
m_ehzehefq()
func_213870_w()
func_213870_w()
protected void
a(cve arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_hwuongro(C_wokbhynj arg0)
func_213868_a(EntityRayTraceResult arg0)
onEntityHit(EntityRayTraceResult arg0)
protected SoundEvent
k()
getDefaultHitGroundSoundEvent()
method_7440()
getHitSound()
m_vwewtmfb()
func_213867_k()
getHitEntitySound()
protected final SoundEvent
l()
getHitGroundSoundEvent()
method_20011()
getSound()
m_kntlthra()
func_203050_i()
getHitGroundSound()
protected void
a(akw arg0)
doPostHurtEffects(LivingEntity arg0)
method_7450(class_1309 arg0)
onHit(LivingEntity target)
m_whtcpczr(C_usxaxydn arg0)
func_184548_a(LivingEntity arg0)
arrowHit(LivingEntity living)
protected EntityHitResult
a(cvi arg0, cvi arg1)
findHitEntity(Vec3 arg0, Vec3 arg1)
method_7434(class_243 arg0, class_243 arg1)
getEntityCollision(Vec3d currentPosition, Vec3d nextPosition)
m_kynuhxfa(C_vgpupfxx arg0, C_vgpupfxx arg1)
func_213866_a(Vec3d arg0, Vec3d arg1)
rayTraceEntities(Vec3d startVec, Vec3d endVec)
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
m_xuwbpohg(C_hhlwcnih arg0)
func_213281_b(CompoundNBT arg0)
writeAdditional(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
m_obkzfysl(C_hhlwcnih arg0)
func_70037_a(CompoundNBT arg0)
readAdditional(CompoundNBT arg0)
public void
a(akn arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
setOwner(Entity arg0)
m_iptqqgnb(C_astfners arg0)
func_212361_a(Entity arg0)
setShooter(Entity entityIn)
public Entity
m()
getOwner()
method_7452()
getOwner()
m_wczzhsow()
func_212360_k()
getShooter()
public void
b(ayg arg0)
playerTouch(Player arg0)
method_5694(class_1657 arg0)
onPlayerCollision(PlayerEntity arg0)
m_ghqcprlw(C_jzrpycqo arg0)
func_70100_b_(PlayerEntity arg0)
onCollideWithPlayer(PlayerEntity arg0)
protected abstract ItemStack
n()
getPickupItem()
method_7445()
asItemStack()
m_vscqpbfw()
func_184550_j()
getArrowStack()
protected boolean
at()
isMovementNoisy()
method_5658()
canClimb()
m_wckwuftu()
func_225502_at_()
canTriggerWalking()
public void
h(double arg0)
setBaseDamage(double arg0)
method_7438(double arg0)
setDamage(double damage)
m_izcgrjes(double arg0)
func_70239_b(double arg0)
setDamage(double damageIn)
public double
o()
getBaseDamage()
method_7448()
getDamage()
m_vifaajkb()
func_70242_d()
getDamage()
public void
a(int arg0)
setKnockback(int arg0)
method_7449(int arg0)
setPunch(int punch)
m_zzwlyggx(int arg0)
func_70240_a(int arg0)
setKnockbackStrength(int knockbackStrengthIn)
public boolean
bA()
isAttackable()
method_5732()
isAttackable()
m_kymkfjov()
func_70075_an()
canBeAttackedWithItem()
protected float
a(alg arg0, ako arg1)
getEyeHeight(Pose arg0, EntityDimensions arg1)
method_18378(class_4050 arg0, class_4048 arg1)
getEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_mfupgmuw(C_ufdjspmk arg0, C_sszpscpo arg1)
func_213316_a(Pose arg0, EntitySize arg1)
getEyeHeight(Pose arg0, EntitySize arg1)
public void
a(boolean arg0)
setCritArrow(boolean arg0)
method_7439(boolean arg0)
setCritical(boolean critical)
m_wcqbexjj(boolean arg0)
func_70243_d(boolean arg0)
setIsCritical(boolean critical)
public void
b(byte arg0)
setPierceLevel(byte arg0)
method_7451(byte arg0)
setPierceLevel(byte level)
m_clbqtpac(byte arg0)
func_213872_b(byte arg0)
setPierceLevel(byte level)
private void
a(int arg0, boolean arg1)
setFlag(int arg0, boolean arg1)
method_7455(int arg0, boolean arg1)
setProjectileFlag(int index, boolean flag)
m_qnxttchu(int arg0, boolean arg1)
func_203049_a(int arg0, boolean arg1)
setArrowFlag(int arg0, boolean arg1)
public boolean
q()
isCritArrow()
method_7443()
isCritical()
m_xnefdmre()
func_70241_g()
getIsCritical()
public boolean
r()
shotFromCrossbow()
method_7456()
isShotFromCrossbow()
m_auqbucik()
func_213873_r()
getShotFromCrossbow()
public byte
s()
getPierceLevel()
method_7447()
getPierceLevel()
m_sxxslcng()
func_213874_s()
getPierceLevel()
public void
a(akw arg0, float arg1)
setEnchantmentEffectsFromEntity(LivingEntity arg0, float arg1)
method_7435(class_1309 arg0, float arg1)
applyEnchantmentEffects(LivingEntity arg0, float damageModifier)
m_uirchdjo(C_usxaxydn arg0, float arg1)
func_190547_a(LivingEntity arg0, float arg1)
setEnchantmentEffectsFromEntity(LivingEntity arg0, float arg1)
protected float
u()
getWaterInertia()
method_7436()
getDragInWater()
m_wrkmrnze()
func_203044_p()
getWaterDrag()
public void
n(boolean arg0)
setNoPhysics(boolean arg0)
method_7433(boolean arg0)
setNoClip(boolean noClip)
m_heweaind(boolean arg0)
func_203045_n(boolean arg0)
setNoClip(boolean noClipIn)
public boolean
v()
isNoPhysics()
method_7441()
isNoClip()
m_utnhoeqp()
func_203047_q()
getNoClip()
public void
o(boolean arg0)
setShotFromCrossbow(boolean arg0)
method_7442(boolean arg0)
setShotFromCrossbow(boolean shotFromCrossbow)
m_onvcgtem(boolean arg0)
func_213865_o(boolean arg0)
setShotFromCrossbow(boolean fromCrossbow)
public Packet<?>
L()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_tugxrexj()
func_213297_N()
createSpawnPacket()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
m_foqrqvze(double arg0)
func_70112_a(double arg0)
isInRangeToRenderDist(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)
m_fepbvbrn(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)
setPositionAndRotationDirect(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)
m_onpbziok(double arg0, double arg1, double arg2)
func_70016_h(double arg0, double arg1, double arg2)
setVelocity(double arg0, double arg1, double arg2)