net.minecraft.world.entity.projectile

public abstract class Projectile

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

boh
net.minecraft.world.entity.projectile.Projectile
net.minecraft.class_1676
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.src.C_1167_
net.minecraft.world.entity.projectile.IProjectile

Field summary

Modifier and TypeField
private UUID
b
ownerUUID
field_22478
ownerUuid
f_37244_
private Entity
c
cachedOwner
field_33399
owner
f_150163_
private boolean
d
leftOwner
field_23740
leftOwner
f_37246_
private boolean
e
hasBeenShot
field_28646
shot
f_150164_

Constructor summary

ModifierConstructor
(EntityType<? extends Projectile> p_37249_, Level arg1)

Method summary

Modifier and TypeMethod
public void
b(awt arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
setOwner(Entity entity)
m_5602_(C_507_ arg0)
public Entity
x()
getOwner()
method_24921()
getOwner()
m_37282_()
public Entity
y()
getEffectSource()
method_37225()
getEffectCause()
m_150173_()
protected void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
protected boolean
d(awt arg0)
ownedBy(Entity arg0)
method_34714(class_1297 arg0)
isOwner(Entity entity)
m_150171_(C_507_ arg0)
protected void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
private boolean
i()
checkLeftOwner()
method_26961()
shouldLeaveOwner()
m_37276_()
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 x, double y, double z, float speed, float divergence)
m_6686_(double p_37267_, double p_37269_, double arg2, float arg3, float arg4)
public void
a(awt 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_24919(class_1297 arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
setVelocity(Entity shooter, float pitch, float yaw, float roll, float speed, float divergence)
m_37251_(C_507_ p_37253_, float p_37254_, float p_37255_, float p_37256_, float p_37257_, float arg5)
protected void
a(dok arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult hitResult)
m_6532_(C_3043_ arg0)
protected void
a(doj arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult entityHitResult)
m_5790_(C_3042_ arg0)
protected void
a(doi arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult blockHitResult)
m_8060_(C_3041_ arg0)
public void
k(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_6001_(double p_37280_, double arg1, double arg2)
protected boolean
a(awt arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
canHit(Entity entity)
m_5603_(C_507_ arg0)
protected void
z()
updateRotation()
method_26962()
updateRotation()
m_37283_()
protected static float
d(float arg0, float arg1)
lerpRotation(float arg0, float arg1)
method_26960(float arg0, float arg1)
updateRotation(float prevRot, float newRot)
m_37273_(float p_37274_, float p_37275_)
public Packet<?>
S()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_5654_()
public void
a(qv arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
public boolean
a(cad arg0, gh arg1)
mayInteract(Level arg0, BlockPos arg1)
method_36971(class_1937 arg0, class_2338 arg1)
canModifyAt(World arg0, BlockPos arg1)
m_142265_(C_1596_ p_150168_, C_4675_ arg1)