Posted May 28, 201411 yr Hey Guys! I want to add some effects to each block and I'm wondering if you can add a kind of a database to the mod to keep the assignments Block->Effect or Item->Effect outside of the code, because there are so much Items. I thought about a csv, txt, dat or json file which keeps the assignments and is read at runtime. But: Where can I save this file, that it is available in minecraft as well as in the development environment and doesn't have to be created at runtime? Or do you have a better Idea to handle the data? Thanks in advance! http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
May 28, 201411 yr Author Sounds quite nice, but what am I supposed to write as the argument? If I just write "item_elements.csv" I get an NPE. (The file exists of course) http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
May 28, 201411 yr Author Sorry, but I actually don't manage it. My File is in the folder src/assets/magicum/data/item_essences.csv. What do I have to write into the argument of this method to get access to this file? http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
May 28, 201411 yr Author Thanks a lot, it worked now http://i.imgur.com/wNvtGZw.png[/img] MODS and MODDING TUTORIALS
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.