net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Projectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, TraceableEntity, ItemSupplier

cql
net.minecraft.world.entity.projectile.FireworkRocketEntity
net.minecraft.class_1671
net.minecraft.entity.projectile.FireworkRocketEntity
net.minecraft.world.entity.projectile.EntityFireworks

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
a
DATA_ID_FIREWORKS_ITEM
field_7614
ITEM
private static final EntityDataAccessor<OptionalInt>
b
DATA_ATTACHED_TO_TARGET
field_7611
SHOOTER_ENTITY_ID
private static final EntityDataAccessor<Boolean>
c
DATA_SHOT_AT_ANGLE
field_7615
SHOT_AT_ANGLE
private int
d
life
field_7613
life
private int
e
lifetime
field_7612
lifeTime
private LivingEntity
f
attachedToEntity
field_7616
shooter

Constructor summary

ModifierConstructor
public (EntityType<? extends FireworkRocketEntity> arg0, Level arg1)
public (Level world, double x, double y, double z, ItemStack stack)
public (Level world, Entity entity, double x, double y, double z, ItemStack stack)
public (Level world, ItemStack stack, LivingEntity shooter)
public (Level world, ItemStack stack, double x, double y, double z, boolean shotAtAngle)
public (Level world, ItemStack stack, Entity entity, double x, double y, double z, boolean shotAtAngle)

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)
public boolean
k(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
method_5727(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
public void
h()
tick()
method_5773()
tick()
private void
b(ash arg0)
explode(ServerLevel arg0)
method_16830(class_3218 arg0)
explodeAndRemove(ServerWorld world)
protected void
a(fbv arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
protected void
a(fbu arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
private boolean
s()
hasExplosion()
method_20308()
hasExplosionEffects()
private void
e(ash arg0)
dealExplosionDamage(ServerLevel arg0)
method_7475(class_3218 arg0)
explode(ServerWorld world)
private boolean
t()
isAttachedToEntity()
method_7476()
wasShotByEntity()
public boolean
m()
isShotAtAngle()
method_7477()
wasShotAtAngle()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
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)
private List<FireworkExplosion>
u()
getExplosions()
method_57318()
getExplosions()
public ItemStack
l()
getItem()
method_7495()
getStack()
public boolean
cB()
isAttackable()
method_5732()
isAttackable()
private static ItemStack
v()
getDefaultItem()
method_57317()
getDefaultStack()
public it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
a_(bwg arg0, bua arg1)
calculateHorizontalHurtKnockbackDirection(LivingEntity arg0, DamageSource arg1)
method_59959(class_1309 arg0, class_1282 arg1)
getKnockback(LivingEntity arg0, DamageSource arg1)