Class FireworkRocketEntity

All Implemented Interfaces:
ICommandSource, IRendersAsItem, INameable, ICapabilityProvider, ICapabilitySerializable<CompoundNBT>, IForgeEntity, INBTSerializable<CompoundNBT>

public class FireworkRocketEntity extends ProjectileEntity implements IRendersAsItem
  • Field Details

    • DATA_ID_FIREWORKS_ITEM

      private static final DataParameter<ItemStack> DATA_ID_FIREWORKS_ITEM
    • DATA_ATTACHED_TO_TARGET

      private static final DataParameter<OptionalInt> DATA_ATTACHED_TO_TARGET
    • DATA_SHOT_AT_ANGLE

      private static final DataParameter<Boolean> DATA_SHOT_AT_ANGLE
    • life

      private int life
    • lifetime

      private int lifetime
    • attachedToEntity

      private LivingEntity attachedToEntity
  • Constructor Details

    • FireworkRocketEntity

      public FireworkRocketEntity(EntityType<? extends FireworkRocketEntity> p_i50164_1_, World p_i50164_2_)
    • FireworkRocketEntity

      public FireworkRocketEntity(World p_i1763_1_, double p_i1763_2_, double p_i1763_4_, double p_i1763_6_, ItemStack p_i1763_8_)
    • FireworkRocketEntity

      public FireworkRocketEntity(World p_i231581_1_, @Nullable Entity p_i231581_2_, double p_i231581_3_, double p_i231581_5_, double p_i231581_7_, ItemStack p_i231581_9_)
    • FireworkRocketEntity

      public FireworkRocketEntity(World p_i47367_1_, ItemStack p_i47367_2_, LivingEntity p_i47367_3_)
    • FireworkRocketEntity

      public FireworkRocketEntity(World p_i50165_1_, ItemStack p_i50165_2_, double p_i50165_3_, double p_i50165_5_, double p_i50165_7_, boolean p_i50165_9_)
    • FireworkRocketEntity

      public FireworkRocketEntity(World p_i231582_1_, ItemStack p_i231582_2_, Entity p_i231582_3_, double p_i231582_4_, double p_i231582_6_, double p_i231582_8_, boolean p_i231582_10_)
  • Method Details