net.minecraft.entity.projectile

public abstract class ExplosiveProjectileEntity

extends ProjectileEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Ownable

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

Field summary

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

Constructor summary

ModifierConstructor
protected (EntityType<? extends ExplosiveProjectileEntity> type, World level)
protected (EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, World world)
public (EntityType<? extends ExplosiveProjectileEntity> type, double x, double y, double z, Vec3d velocity, World world)
public (EntityType<? extends ExplosiveProjectileEntity> type, LivingEntity owner, Vec3d velocity, World world)

Method summary

Modifier and TypeMethod
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
shouldRenderAtSqrDistance(double distance)
method_5640(double arg0)
shouldRender(double arg0)
protected RaycastContext$ShapeType
getClipType()
method_55053()
getRaycastShapeType()
public void
tick()
method_5773()
tick()
private void
applyInertia()
method_63671()
applyDrag()
private void
createParticleTrail()
method_63672()
addParticles()
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected boolean
canHitEntity(Entity entity)
method_26958(class_1297 arg0)
canHit(Entity arg0)
protected boolean
shouldBurn()
method_7468()
isBurning()
protected ParticleEffect
getTrailParticle()
method_7467()
getParticleType()
protected float
getInertia()
method_7466()
getDrag()
protected float
getLiquidInertia()
method_55583()
getDragInWater()
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public float
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
private void
assignDirectionalMovement(Vec3 direction, double speed)
method_60499(class_243 arg0, double arg1)
setVelocityWithAcceleration(Vec3d velocity, double accelerationPower)
protected void
onDeflection(boolean byAttack)
method_59525(boolean arg0)
onDeflected(boolean arg0)