net.minecraft.world.entity.projectile

public abstract class AbstractHurtingProjectile

extends Projectile

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity

cqf
net.minecraft.world.entity.projectile.AbstractHurtingProjectile
net.minecraft.class_1668
net.minecraft.entity.projectile.ExplosiveProjectileEntity
net.minecraft.world.entity.projectile.EntityFireball

Field summary

Modifier and TypeField
public static final double
a
INITAL_ACCELERATION_POWER
field_51891
field_51891
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(alg$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
al_()
getClipType()
method_55053()
getRaycastShapeType()
public void
h()
tick()
method_5773()
tick()
private void
v()
applyInertia()
method_63671()
applyDrag()
private void
w()
createParticleTrail()
method_63672()
addParticles()
public boolean
a(ash arg0, bua 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(bvk arg0)
canHitEntity(Entity arg0)
method_26958(class_1297 arg0)
canHit(Entity arg0)
protected boolean
m()
shouldBurn()
method_7468()
isBurning()
protected ParticleOptions
s()
getTrailParticle()
method_7467()
getParticleType()
protected float
t()
getInertia()
method_7466()
getDrag()
protected float
u()
getLiquidInertia()
method_55583()
getDragInWater()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public float
by()
getLightLevelDependentMagicValue()
method_5718()
getBrightnessAtEyes()
public Packet<ClientGamePacketListener>
a(asf arg0)
getAddEntityPacket(ServerEntity arg0)
method_18002(class_3231 arg0)
createSpawnPacket(EntityTrackerEntry arg0)
public void
a(acs arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
private void
a(fby arg0, double arg1)
assignDirectionalMovement(Vec3 arg0, double arg1)
method_60499(class_243 arg0, double arg1)
setVelocityWithAcceleration(Vec3d velocity, double accelerationPower)
protected void
b(bvk arg0, boolean arg1)
onDeflection(Entity arg0, boolean arg1)
method_59525(class_1297 arg0, boolean arg1)
onDeflected(Entity arg0, boolean arg1)