net.minecraft.world.entity.projectile

public abstract class Projectile

extends Entity

All mapped superinterfaces:

Nameable, CommandSource

bgj
net.minecraft.world.entity.projectile.Projectile
net.minecraft.class_1676
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.entity.projectile.ProjectileEntity
net.minecraft.server.v1_16_R2.IProjectile

Field summary

Modifier and TypeField
private UUID
b
ownerUUID
field_22478
ownerUuid
field_234609_b_
shooter
private int
c
ownerNetworkId
field_23739
ownerEntityId
field_234610_c_
private boolean
d
leftOwner
field_23740
leftOwner
field_234611_d_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
b(apx arg0)
setOwner(Entity arg0)
method_7432(class_1297 arg0)
setOwner(Entity entity)
func_212361_a(Entity arg0)
setShooter(Entity arg0)
public Entity
v()
getOwner()
method_24921()
getOwner()
func_234616_v_()
getShooter()
protected void
b(md arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
protected void
a(md arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private boolean
h()
checkLeftOwner()
method_26961()
method_26961()
func_234615_h_()
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)
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
a(apx 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)
func_234612_a_(Entity arg0, float arg1, float arg2, float arg3, float arg4, float arg5)
protected void
a(dci arg0)
onHit(HitResult arg0)
method_7488(class_239 arg0)
onCollision(HitResult hitResult)
func_70227_a(RayTraceResult arg0)
protected void
a(dch arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult entityHitResult)
func_213868_a(EntityRayTraceResult arg0)
protected void
a(dcg arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult blockHitResult)
func_230299_a_(BlockRayTraceResult arg0)
protected boolean
a(apx arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
method_26958(Entity arg0)
func_230298_a_(Entity arg0)
protected void
x()
updateRotation()
method_26962()
method_26962()
func_234617_x_()
protected static float
e(float arg0, float arg1)
lerpRotation(float arg0, float arg1)
method_26960(float arg0, float arg1)
updateRotation(float arg0, float arg1)
func_234614_e_(float arg0, float arg1)
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)
func_70016_h(double arg0, double arg1, double arg2)