fenomas / noa

Experimental voxel game engine.
MIT License
619 stars 91 forks source link

What is the best way to manually build worlds? #198

Open MeBadDev opened 1 year ago

MeBadDev commented 1 year ago

Hello, I want to make the engine load a pre-built world, however I can't find any datas about how on Google(All i found is Procedual World Generation). I know I can type in every block I want in JSON or something like that, but there gotta be a better way than that right?

MeBadDev commented 1 year ago

Ok, I found a dumb way, but it worked.

  1. Generate a Minecraft world, super flat with The void preset.
  2. Build it
  3. Export block data to JSON using mineways/jmc2obj
  4. Iterate through the JSON file, and place blocks with the correct textures and properties

NOTE: you won't get the textures using this way, you'll need to texture it based on JSON properties yourself.

This is a way, but I would love to hear about how you do it!

fenziie commented 7 months ago

Ok, I found a dumb way, but it worked.

  1. Generate a Minecraft world, super flat with The void preset.
  2. Build it
  3. Export block data to JSON using mineways/jmc2obj
  4. Iterate through the JSON file, and place blocks with the correct textures and properties

NOTE: you won't get the textures using this way, you'll need to texture it based on JSON properties yourself.

This is a way, but I would love to hear about how you do it!

Thanks! Im gonna try this.