net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Projectile implements ItemSupplier

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, TraceableEntity, ItemSupplier

cch
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_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
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
t()
explode()
method_16830()
explodeAndRemove()
m_37080_()
protected void
a(ehk arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
m_5790_(C_3042_ arg0)
protected void
a(ehj 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
s()
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(qw arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(qw arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public ItemStack
q()
getItem()
method_7495()
getStack()
m_7846_()
public boolean
cp()
isAttackable()
method_5732()
isAttackable()
m_6097_()