HappyHippo77 Posted March 9, 2020 Posted March 9, 2020 I've been doing some searching for help with this but can't seem to find anything. I don't want to add new particles into the game, I want to use the vanilla particles. Basically I'm trying to get flame particles to appear over specific parts of a block in my mod (where there are candles) and cannot find anything telling me how to even begin to use particles. So yeah, just some information on how to do that (or pointing to a good tutorial for it) would be nice. I'm using 1.14.4. Quote
HappyHippo77 Posted March 10, 2020 Author Posted March 10, 2020 10 hours ago, diesieben07 said: Look at the torch block, it spawns fire particles. What do you mean "look at"? Quote
Ugdhar Posted March 10, 2020 Posted March 10, 2020 7 minutes ago, HappyHippo77 said: What do you mean "look at"? I believe he means to look at the code for vanilla torches to see how they did it Quote
HappyHippo77 Posted March 10, 2020 Author Posted March 10, 2020 2 hours ago, Ugdhar said: I believe he means to look at the code for vanilla torches to see how they did it How would I do this? Quote
Ugdhar Posted March 10, 2020 Posted March 10, 2020 in your IDE under referenced libraries, you should be able to view the forge/minecraft sources, and other assets in the client-extra.jar Quote
HappyHippo77 Posted March 11, 2020 Author Posted March 11, 2020 18 hours ago, Ugdhar said: in your IDE under referenced libraries, you should be able to view the forge/minecraft sources, and other assets in the client-extra.jar I'm using IntelliJ, and I can't seem to find anything like this. Would it be in "External Libraries"? And if so what would the name in there be? I see nothing similar to "client-extra"... Quote
HenryRichard Posted March 11, 2020 Posted March 11, 2020 (edited) It is under External Libraries - it'll look something like "Gradle: net.minecraftforge:forge:1.14.4". The assets will be in net.minecraft:client:extra. Edited March 11, 2020 by HenryRichard Quote I'll put something here when I have something of value I need to put at the end of every post. For now it's this mostly pointless text.
HappyHippo77 Posted March 11, 2020 Author Posted March 11, 2020 (edited) 1 hour ago, HenryRichard said: It is under External Libraries - it'll look something like "Gradle: net.minecraftforge:forge:1.14.4". The assets will be in net.minecraft:client:extra. Thanks! One problem though, I can get it down to "client" but there's no "extra". EDIT: well I didn't find "extra", but I did find "block" above "client" and I think it was in there. Edited March 11, 2020 by HappyHippo77 Quote
Cyborgmas Posted March 12, 2020 Posted March 12, 2020 you shift-shift to search in intelliJ. Then in the window that appears, in the top right you check the "entire project" box. After that, you can type to search for file names. Quote
desht Posted March 12, 2020 Posted March 12, 2020 Another useful Intellij shortcut here is Ctrl-N, the default binding for Navigate -> Class... Press Ctrl-N and type in the name, or part of the name, of the class you want to find (in this case TorchBlock). You might also need to press Ctrl-N a second time, to toggle on the "include non-project items" checkbox, since TorchBlock isn't part of your own project. This works for any class known to your project, including all those in external libraries like Forge and (deobfuscated) vanilla code. Quote
Recommended Posts
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.