Posted April 24, 20169 yr i have my custom dimension working. but it is generating like the world type. i am using a custom biome and using the worldChunkManagerHell class. My goal is to not have nether portals spawn when you teleport to this dimension and to have no terrain generate.any help is welcomed
April 24, 20169 yr You probably could extend the worldChunkManagerHell class and overwrite the given methods.
April 24, 20169 yr If you really want a void world, with no world gen at all, you might need to create your own chunk provider that simply returns an array of all 0's (yep, 65536 repetition of 0) to make everything an air block. This isn't too hard -- making a new chunk provider that produces actual terrain in a new way would be, but filling with all one block, not so much. I did this once before with bedrock (planned to house dungeons), but its been away and I don't have that code -- but if you really want nothing, having a chunk provider that is based on all air will work, You should look at the chunk providers / terrain gen stuff in the vanilla code -- not world gen, the step before world gen, terrain gen, specifically chunk providers for clues. The chunk does start as an array of byte[65536] which is why you have to use id and only ids from 0-255 (contrary to popular misconception, this limit applies only terrain generation, not to world gen in general). Not sure what else I can add -- I hope I understood your intentions and that this helps. (BTW, what do you want with a void dimension anyway?) Developer of Doomlike Dungeons.
April 25, 20169 yr Author i did manage to make a void world. sadly a nether portal keeps showing up in the dimension. how can i stop this from happening?
April 25, 20169 yr net.minecraft.world.Teleporter creates the nether portal, you need to extend it and override makePortal to make your portal instead. Then use that instead of Teleporter when teleporting the player to your dimension.
April 25, 20169 yr Then use that instead of Teleporter when teleporting the player to your dimension. And from. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.