net.minecraft.world.entity.projectile

public abstract class Projectile

extends Entity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bku
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(atg arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
setOwner(Entity entity)
m_5602_(C_507_ arg0)
setShooter(Entity arg0)
public Entity
w()
getOwner()
method_24921()
getOwner()
m_37282_()
getShooter()
public Entity
x()
getEffectSource()
method_37225()
getEffectCause()
m_150173_()
protected void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
protected boolean
d(atg arg0)
ownedBy(Entity arg0)
method_34714(class_1297 arg0)
isOwner(Entity entity)
m_150171_(C_507_ arg0)
protected void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
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)
shoot(double arg0, double arg1, double arg2, float arg3, float arg4)
public void
a(atg 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)
setProperties(Entity user, float pitch, float yaw, float roll, float modifierZ, float modifierXYZ)
m_37251_(C_507_ p_37253_, float p_37254_, float p_37255_, float p_37256_, float p_37257_, float arg5)
protected void
a(dmy arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult hitResult)
m_6532_(C_3043_ arg0)
protected void
a(dmx arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult entityHitResult)
m_5790_(C_3042_ arg0)
protected void
a(dmw 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(atg 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<?>
P()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_5654_()
getPacket()
public void
a(po arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
public boolean
a(bwq arg0, gg 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)