Posted May 12, 20178 yr Hey again, I am testing out some alternate methods for some generation in my mod, and find myself needing a way to write nested arrays/hashmaps to NBTTags for use in the WorldSavedData extension I have created. In my case I am storing an integer array for specific world positions, so the array accessor would be data[X][Y][Z][], where the final array contains a list of the ordinals of my custom ores. Edited May 13, 20178 yr by oa10712
May 13, 20178 yr What is your problem? Are you having hard time implementing it? You just need to nest NBTTagList, just like nested NBTTagCompound. Just use index instead of String key. I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP) II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.
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.