net.minecraft.world.entity.projectile

public abstract class AbstractHurtingProjectile

extends Projectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, TraceableEntity

cth
net.minecraft.world.entity.projectile.AbstractHurtingProjectile
net.minecraft.class_1668

Field summary

Modifier and TypeField
public static final double
a
INITAL_ACCELERATION_POWER
field_51891
public static final double
b
DEFLECTION_SCALE
field_51892
public double
c
accelerationPower
field_51893

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractHurtingProjectile> arg0, Level arg1)
protected (EntityType<? extends AbstractHurtingProjectile> arg0, double arg1, double arg2, double arg3, Level arg4)
public (EntityType<? extends AbstractHurtingProjectile> arg0, double arg1, double arg2, double arg3, Vec3 arg4, Level arg5)
public (EntityType<? extends AbstractHurtingProjectile> arg0, LivingEntity arg1, Vec3 arg2, Level arg3)

Method summary

Modifier and TypeMethod
protected void
a(ald$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
protected ClipContext$Block
ag_()
getClipType()
method_55053()
public void
g()
tick()
method_5773()
private void
n()
applyInertia()
method_63671()
private void
q()
createParticleTrail()
method_63672()
public boolean
a(asi arg0, bwh arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
protected boolean
b(bxs arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
protected boolean
f()
shouldBurn()
method_7468()
protected ParticleOptions
i()
getTrailParticle()
method_7467()
protected float
l()
getInertia()
method_7466()
protected float
m()
getLiquidInertia()
method_55583()
protected void
a(fbh arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
protected void
a(fbf arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
public float
bz()
getLightLevelDependentMagicValue()
method_5718()
private void
a(fgx arg0, double arg1)
assignDirectionalMovement(Vec3 arg0, double arg1)
method_60499(class_243 arg0, double arg1)
protected void
c(bxs arg0, boolean arg1)
onDeflection(Entity arg0, boolean arg1)
method_59525(class_1297 arg0, boolean arg1)