net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Projectile implements ItemSupplier

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, TraceableEntity, ItemSupplier

cnk
net.minecraft.world.entity.projectile.FireworkRocketEntity
net.minecraft.class_1671
net.minecraft.entity.projectile.FireworkRocketEntity
net.minecraft.src.C_1159_
net.minecraft.world.entity.projectile.EntityFireworks

Field summary

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

Constructor summary

ModifierConstructor
public (EntityType<? extends FireworkRocketEntity> p_37028_, 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(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
m_6783_(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)
m_6000_(double p_37084_, double arg1, double arg2)
public void
l()
tick()
method_5773()
tick()
m_8119_()
private void
v()
explode()
method_16830()
explodeAndRemove()
m_37080_()
protected void
a(ewz arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(ewy arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
m_8060_(C_3041_ arg0)
private boolean
w()
hasExplosion()
method_20308()
hasExplosionEffects()
m_37086_()
private void
x()
dealExplosionDamage()
method_7475()
explode()
m_37087_()
private boolean
y()
isAttachedToEntity()
method_7476()
wasShotByEntity()
m_37088_()
public boolean
t()
isShotAtAngle()
method_7477()
wasShotAtAngle()
m_37079_()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
private List<FireworkExplosion>
z()
getExplosions()
method_57318()
getExplosions()
m_323884_()
public ItemStack
p()
getItem()
method_7495()
getStack()
m_7846_()
public boolean
cu()
isAttackable()
method_5732()
isAttackable()
m_6097_()
private static ItemStack
A()
getDefaultItem()
method_57317()
getDefaultStack()
m_322828_()
public it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
a_(btn arg0, brk arg1)
calculateHorizontalHurtKnockbackDirection(LivingEntity arg0, DamageSource arg1)
method_59959(class_1309 arg0, class_1282 arg1)
getKnockback(LivingEntity arg0, DamageSource arg1)
m_339151_(C_524_ p_343307_, C_489_ arg1)