Posted November 3, 20187 yr Dear minecraftforge forums, So, I was trying to add particles. But the EnumHelper doesn't seem to have any method to add particles. How do I add a particle, and how does one change a particle's texture without gl code? Thanks for taking a look Edited November 4, 20187 yr by tebreca added solved
November 3, 20187 yr Author I just found this thread: http://www.minecraftforge.net/forum/topic/40662-1102-custom-particles/ Now my question is how do I retrieve a TextureAtlasSprite?
November 3, 20187 yr 3 hours ago, tebreca said: how do I retrieve a TextureAtlasSprite? It depends on which TextureAtlasSprite you want. Do you want a block's/item's texture? Use BakedQuad#getSprite. Do you want a custom sprite? Use TextureStitchEvent, register your sprite using TextureMap#registerSprite, it will return you a TextureAtlasSprite you can store and reference later.
November 4, 20187 yr Author 10 hours ago, V0idWa1k3r said: It depends on which TextureAtlasSprite you want. Do you want a block's/item's texture? Use BakedQuad#getSprite. Do you want a custom sprite? Use TextureStitchEvent, register your sprite using TextureMap#registerSprite, it will return you a TextureAtlasSprite you can store and reference later. all right, thanks!
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.