net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Projectile implements ItemSupplier

All mapped superinterfaces:

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

cto
net.minecraft.world.entity.projectile.FireworkRocketEntity
net.minecraft.class_1671

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
a
DATA_ID_FIREWORKS_ITEM
field_7614
private static final EntityDataAccessor<OptionalInt>
b
DATA_ATTACHED_TO_TARGET
field_7611
private static final EntityDataAccessor<Boolean>
c
DATA_SHOT_AT_ANGLE
field_7615
private static final int
d
DEFAULT_LIFE
field_57738
private static final int
e
DEFAULT_LIFE_TIME
field_57739
private static final boolean
f
DEFAULT_SHOT_AT_ANGLE
field_57740
private int
g
life
field_7613
private int
h
lifetime
field_7612
private LivingEntity
i
attachedToEntity
field_7616

Constructor summary

ModifierConstructor
public (EntityType<? extends FireworkRocketEntity> arg0, Level arg1)
public (Level arg0, double arg1, double arg2, double arg3, ItemStack arg4)
public (Level arg0, Entity arg1, double arg2, double arg3, double arg4, ItemStack arg5)
public (Level arg0, ItemStack arg1, LivingEntity arg2)
public (Level arg0, ItemStack arg1, double arg2, double arg3, double arg4, boolean arg5)
public (Level arg0, ItemStack arg1, Entity arg2, double arg3, double arg4, double arg5, boolean arg6)

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)
public boolean
j(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
method_5727(double arg0, double arg1, double arg2)
public void
g()
tick()
method_5773()
private void
b(asi arg0)
explode(ServerLevel arg0)
method_16830(class_3218 arg0)
protected void
a(fgu arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
protected void
a(fgt arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
private boolean
i()
hasExplosion()
method_20308()
private void
e(asi arg0)
dealExplosionDamage(ServerLevel arg0)
method_7475(class_3218 arg0)
private boolean
l()
isAttachedToEntity()
method_7476()
public boolean
f()
isShotAtAngle()
method_7477()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
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)
private List<FireworkExplosion>
m()
getExplosions()
method_57318()
public ItemStack
e()
getItem()
method_7495()
public boolean
cE()
isAttackable()
method_5732()
private static ItemStack
n()
getDefaultItem()
method_57317()
public it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
a_(bys arg0, bwh arg1)
calculateHorizontalHurtKnockbackDirection(LivingEntity arg0, DamageSource arg1)
method_59959(class_1309 arg0, class_1282 arg1)