net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Projectile implements ItemSupplier

All mapped superinterfaces:

Nameable, CommandSource, ItemSupplier

ben
net.minecraft.world.entity.projectile.FireworkRocketEntity
net.minecraft.class_1671
net.minecraft.entity.projectile.FireworkRocketEntity
net.minecraft.entity.projectile.FireworkRocketEntity
net.minecraft.server.v1_16_R1.EntityFireworks

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
b
DATA_ID_FIREWORKS_ITEM
field_7614
ITEM
field_184566_a
FIREWORK_ITEM
private static final EntityDataAccessor<OptionalInt>
c
DATA_ATTACHED_TO_TARGET
field_7611
SHOOTER_ENTITY_ID
field_191512_b
private static final EntityDataAccessor<Boolean>
d
DATA_SHOT_AT_ANGLE
field_7615
SHOT_AT_ANGLE
field_213895_d
SHOT_AT_ANGLE
private int
e
life
field_7613
life
field_92056_a
ticksFlown
private int
f
lifetime
field_7612
lifeTime
field_92055_b
expectedLifespan
private LivingEntity
g
attachedToEntity
field_7616
shooter
field_191513_e
ridingEntity

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
e()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
i()
explode()
method_16830()
explodeAndRemove()
func_213893_k()
explode()
protected void
a(dei arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
onEntityHit(EntityHitResult arg0)
func_213868_a(EntityRayTraceResult arg0)
protected void
a(deh arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
onBlockHit(BlockHitResult arg0)
func_230299_a_(BlockRayTraceResult arg0)
private boolean
k()
hasExplosion()
method_20308()
hasExplosionEffects()
func_213894_l()
hasExplosions()
private void
m()
dealExplosionDamage()
method_7475()
explode()
func_191510_k()
private boolean
n()
isAttachedToEntity()
method_7476()
wasShotByEntity()
func_191511_j()
public boolean
h()
isShotAtAngle()
method_7477()
wasShotAtAngle()
func_213889_i()
isShotAtAngle()
public void
b(le arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
saveData(NBTTagCompound arg0)
public void
a(le arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
loadData(NBTTagCompound arg0)
public boolean
bH()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
public Packet<?>
O()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
func_70112_a(double arg0)
public boolean
i(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)
func_145770_h(double arg0, double arg1, double arg2)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
func_70103_a(byte arg0)
public ItemStack
g()
getItem()
method_7495()
getStack()
func_184543_l()