Jump to content

[1.7.10] create fireworks


knokko

Recommended Posts

hello,

 

I want to use fireworks in my mod.

But I don't know how to make it.

 

I have found a method  called "makeFireworks(double, double , double, double, double, double, nbt)", but it didn't work for me.

I have tried to summon the fireworksrocket too.

I found 2 constructors to summon it.

new EntityFireworkRocket(world)  and new EntityFireworks(world, double, double, double, itemstack)

But I am not going to summon it with an Item.

And if I use the (world) constructor, I can't get it explode.

 

Does anybody know how I can create fireworks succesfully?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.