I think you can save byte arrays in nbt. So you could serialize your class and save the byte array. (If byte array dont works I am pretty sure you can save int arrays, so convert byte to int isnt that hard)
Thanks for the first answers, helped a lot!
Yeah. I want to have a machine taking a chunk out of the world and transporting it anywhere, so changing the biome type would be great
Hello everyone,
I found myself with 3 questions I cant solve and hope for answers.
1.How can I find out which biome the player is currently in?
2. Is there a "gud way" to find out that the player has entered a different biome? (Of course u could save his last biome and check that every tick but that feels dirty)
3. Is it possible to set a biome? Like ingame change the biome type of an area to sth different?
Any ideas are appreciated
Yeah I tried doing some totally customized world gen stuff, realizing that i got TONS of work to do. I managed to find the CubeWorld mod, which is also working with his own worldtype (http://www.planetminecraft.com/mod/cube-world-1227625/). So i decompiled that and i got tons of stuff to read.
They still might be able to change their item for whatever reason, so better insert a little check instead of crashing minecraft :b
Track down what is causing the exception, and add null checks if u use things that can be null while using