net.minecraft.world.entity.projectile

public class FireworkRocketEntity

extends Projectile implements ItemSupplier

All mapped superinterfaces:

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

crs
net.minecraft.world.entity.projectile.FireworkRocketEntity
net.minecraft.class_1671
net.minecraft.unmapped.C_huldsolp
net.minecraft.entity.projectile.FireworkRocketEntity
net.minecraft.entity.projectile.FireworkRocketEntity

Field summary

Modifier and TypeField
private static final EntityDataAccessor<ItemStack>
a
DATA_ID_FIREWORKS_ITEM
field_7614
f_jnghemum
ITEM
ITEM
private static final EntityDataAccessor<OptionalInt>
b
DATA_ATTACHED_TO_TARGET
field_7611
f_seqyipmr
SHOOTER_ENTITY_ID
SHOOTER_ENTITY_ID
private static final EntityDataAccessor<Boolean>
c
DATA_SHOT_AT_ANGLE
field_7615
f_vrrbrmuu
SHOT_AT_ANGLE
SHOT_AT_ANGLE
private int
d
life
field_7613
f_ssiwkaxw
life
life
private int
e
lifetime
field_7612
f_jsrguonp
lifeTime
lifeTime
private LivingEntity
f
attachedToEntity
field_7616
f_wyqxskfa
shooter
shooter

Constructor summary

ModifierConstructor
public (EntityType<? extends FireworkRocketEntity> arg0, Level world)
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(akn$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
m_foqrqvze(double arg0)
shouldRender(double arg0)
shouldRender(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)
m_ryjpmajv(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
shouldRender(double arg0, double arg1, double arg2)
public void
h()
tick()
method_5773()
m_arkgrfeb()
tick()
tick()
private void
b(arq arg0)
explode(ServerLevel arg0)
method_16830(class_3218 arg0)
m_evuvwgwj(C_bdwnwhiu arg0)
explodeAndRemove(ServerWorld world)
explodeAndRemove(ServerWorld world)
protected void
a(fen arg0)
onHitEntity(EntityHitResult arg0)
method_7454(class_3966 arg0)
m_nkpdbvpp(C_wokbhynj arg0)
onEntityHit(EntityHitResult arg0)
onEntityHit(EntityHitResult arg0)
protected void
a(fem arg0)
onHitBlock(BlockHitResult arg0)
method_24920(class_3965 arg0)
m_ggjsldmr(C_jdakttms arg0)
onBlockHit(BlockHitResult arg0)
onBlockHit(BlockHitResult arg0)
private boolean
j()
hasExplosion()
method_20308()
m_ymswbxpv()
hasExplosionEffects()
hasExplosionEffects()
private void
e(arq arg0)
dealExplosionDamage(ServerLevel arg0)
method_7475(class_3218 arg0)
m_hqxwjjzr(C_bdwnwhiu arg0)
explode(ServerWorld world)
explode(ServerWorld world)
private boolean
m()
isAttachedToEntity()
method_7476()
m_jmrzgyih()
wasShotByEntity()
wasShotByEntity()
public boolean
g()
isShotAtAngle()
method_7477()
m_xcvjkzhu()
wasShotAtAngle()
wasShotAtAngle()
public void
b(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
m_kkieextx(byte arg0)
handleStatus(byte arg0)
handleStatus(byte arg0)
public void
b(tz arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tz arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
private List<FireworkExplosion>
n()
getExplosions()
method_57318()
m_xvaoylqq()
getExplosions()
getExplosionComponents()
public ItemStack
f()
getItem()
method_7495()
m_xtxqiwdu()
getStack()
getStack()
public boolean
cB()
isAttackable()
method_5732()
m_kymkfjov()
isAttackable()
isAttackable()
private static ItemStack
o()
getDefaultItem()
method_57317()
m_fhvapnlf()
getDefaultStack()
createFireworkRocketStack()
public it.unimi.dsi.fastutil.doubles.DoubleDoubleImmutablePair
a_(bxe arg0, buu arg1)
calculateHorizontalHurtKnockbackDirection(LivingEntity arg0, DamageSource arg1)
method_59959(class_1309 arg0, class_1282 arg1)
m_rxkvtyyv(C_usxaxydn arg0, C_sbxfkpyv arg1)
getKnockback(LivingEntity arg0, DamageSource arg1)
getHorizontalKnockback(LivingEntity arg0, DamageSource arg1)