Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.