net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Entity implements ItemSupplier, Projectile

All mapped superinterfaces:

Nameable, CommandSource, ItemSupplier, Projectile

ayu
net.minecraft.world.entity.projectile.FireworkRocketEntity
net.minecraft.class_1671
net.minecraft.entity.FireworkEntity
net.minecraft.entity.item.FireworkRocketEntity
net.minecraft.server.v1_15_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 item)
public (Level world, ItemStack item, LivingEntity shooter)
public (Level world, ItemStack item, double x, double y, double z, boolean shotAtAngle)

Method summary

Modifier and TypeMethod
protected void
w_()
defineSynchedData()
method_5693()
initDataTracker()
func_70088_a()
initDatawatcher()
public void
h()
tick()
method_5773()
tick()
func_70071_h_()
tick()
private void
k()
explode()
method_16830()
explodeAndRemove()
func_213893_k()
explode()
protected void
a(cvi arg0)
performHitChecks(HitResult arg0)
method_16828(class_239 arg0)
handleCollision(HitResult arg0)
func_213892_a(RayTraceResult arg0)
private boolean
l()
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
i()
isShotAtAngle()
method_7477()
wasShotAtAngle()
func_213889_i()
isShotAtAngle()
public void
b(jt arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToTag(CompoundTag arg0)
func_213281_b(CompoundNBT arg0)
public void
a(jt arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromTag(CompoundTag arg0)
func_70037_a(CompoundNBT arg0)
public boolean
bA()
isAttackable()
method_5732()
isAttackable()
func_70075_an()
public Packet<?>
L()
getAddEntityPacket()
method_18002()
createSpawnPacket()
func_213297_N()
public void
c(double arg0, double arg1, double arg2, float arg3, float arg4)
shoot(double arg0, double arg1, double arg2, float arg3, float arg4)
method_7485(double arg0, double arg1, double arg2, float arg3, float arg4)
setVelocity(double arg0, double arg1, double arg2, float arg3, float arg4)
func_70186_c(double arg0, double arg1, double arg2, float arg3, float arg4)
shoot(double arg0, double arg1, double arg2, float arg3, float arg4)
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
j(double arg0, double arg1, double arg2)
lerpMotion(double arg0, double arg1, double arg2)
method_5750(double arg0, double arg1, double arg2)
setVelocityClient(double arg0, double arg1, double arg2)
func_70016_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
f()
getItem()
method_7495()
getStack()
func_184543_l()