net.minecraft.world.entity.projectile

public abstract class AbstractHurtingProjectile

extends Projectile

All mapped superinterfaces:

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

cvc
net.minecraft.world.entity.projectile.AbstractHurtingProjectile
net.minecraft.class_1668
net.minecraft.entity.projectile.ExplosiveProjectileEntity

Field summary

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

Constructor summary

ModifierConstructor
protected (EntityType<? extends AbstractHurtingProjectile> arg0, 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, Vec3 velocity, Level world)
public (EntityType<? extends AbstractHurtingProjectile> type, LivingEntity owner, Vec3 velocity, Level world)

Method summary

Modifier and TypeMethod
protected void
a(all$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
protected ClipContext$Block
ai_()
getClipType()
method_55053()
getRaycastShapeType()
public void
g()
tick()
method_5773()
tick()
private void
n()
applyInertia()
method_63671()
applyDrag()
private void
q()
createParticleTrail()
method_63672()
addParticles()
public boolean
a(aub arg0, byb arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected boolean
b(bzm arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
canHit(Entity arg0)
protected boolean
f()
shouldBurn()
method_7468()
isBurning()
protected ParticleOptions
i()
getTrailParticle()
method_7467()
getParticleType()
protected float
l()
getInertia()
method_7466()
getDrag()
protected float
m()
getLiquidInertia()
method_55583()
getDragInWater()
protected void
a(fdc arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
a(fda arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public float
bB()
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
private void
a(fis arg0, double arg1)
assignDirectionalMovement(Vec3 arg0, double arg1)
method_60499(class_243 arg0, double arg1)
setVelocityWithAcceleration(Vec3d velocity, double accelerationPower)
protected void
c(bzm arg0, boolean arg1)
onDeflection(Entity arg0, boolean arg1)
method_59525(class_1297 arg0, boolean arg1)
onDeflected(Entity arg0, boolean arg1)