Jump to content

Recommended Posts

Posted

Hello!

 

Got another question here.

I have a Lantern item. It spawns an invisible, intangible block with a light-value of 15(like a torch). All that jazz works.

 

However, I want to spawn fire-particles inside the held item itself, to show that it is lit.

I know how to spawn particles, but how would I translate the particle position with the rotation-yaw of the player, so that the particles are always spawned inside the held item?

 

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Posted

you are going to need a 2 seperate things if you want to render an actual particle..

a first person and a third person...

 

is the item a model? if so, you can use the vanilla json animation technic that ppl found, here is an awsome example of these animations:

 

basicly add cubik pixels and with UV and such make a normal item/block animation that will make sometimes the UV area will have a pixel and some times dont, and it will make a pixel apear and disapear depends on the texture file...

 

 

 

and ye i guess it could be done on items without a model and just a texture but i like models more....

Doing stuff n' things

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.