net.minecraft.world.entity.projectile

public abstract class AbstractHurtingProjectile

extends Projectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity

cng
net.minecraft.world.entity.projectile.AbstractHurtingProjectile
net.minecraft.class_1668
net.minecraft.entity.projectile.ExplosiveProjectileEntity
net.minecraft.src.C_1153_
net.minecraft.world.entity.projectile.EntityFireball

Field summary

Modifier and TypeField
public static final double
b
ATTACK_DEFLECTION_SCALE
field_51507
field_51507
f_314176_
public static final double
c
BOUNCE_DEFLECTION_SCALE
field_51508
field_51508
f_314076_
public double
d
xPower
field_7601
powerX
f_36813_
public double
e
yPower
field_7600
powerY
f_36814_
public double
f
zPower
field_7599
powerZ
f_36815_

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractHurtingProjectile> p_36834_, Level arg1)
protected (EntityType<? extends AbstractHurtingProjectile> type, double x, double y, double z, Level world)
public (EntityType<? extends AbstractHurtingProjectile> type, double x, double y, double z, double directionX, double directionY, double directionZ, Level world)
public (EntityType<? extends AbstractHurtingProjectile> type, LivingEntity owner, double directionX, double directionY, double directionZ, Level world)

Method summary

Modifier and TypeMethod
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
protected ClipContext$Block
af_()
getClipType()
method_55053()
getRaycastShapeType()
m_306485_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public boolean
a(brp arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_36840_, float arg1)
protected boolean
b(bsw arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
canHit(Entity arg0)
m_5603_(C_507_ arg0)
protected boolean
u()
shouldBurn()
method_7468()
isBurning()
m_5931_()
protected ParticleOptions
v()
getTrailParticle()
method_7467()
getParticleType()
m_5967_()
protected float
w()
getInertia()
method_7466()
getDrag()
m_6884_()
protected float
x()
getLiquidInertia()
method_55583()
getDragInWater()
m_307145_()
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public float
bt()
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
m_213856_()
public Packet<ClientGamePacketListener>
dl()
getAddEntityPacket()
method_18002()
createSpawnPacket()
m_5654_()
public void
a(acj arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
private void
q(double arg0, double arg1, double arg2)
assignPower(double arg0, double arg1, double arg2)
method_58184(double arg0, double arg1, double arg2)
setPower(double velocityX, double velocityY, double velocityZ)
m_319987_(double p_331475_, double arg1, double arg2)
protected void
b(bsw arg0, boolean arg1)
onDeflection(Entity arg0, boolean arg1)
method_59525(class_1297 arg0, boolean arg1)
onDeflected(Entity arg0, boolean arg1)
m_318614_(C_507_ p_331188_, boolean arg1)