Posted May 15, 20205 yr So I want to create an underground structure that is randomly generated with multiple different templates that all connect, like a mineshaft or a stronghold. I've tried looking at the vanilla code for structures like this that are already in the game, however I can't get my head around how it all works or how I would go about implementing similar techniques. Does anyone know roughly how it works and how I could generate a structure like this, or if there are any examples somewhere I can look at? Thanks in advance!
May 15, 20205 yr Its complicated. You need a structure, structure start, and structure pieces. Its registered like anything else. Edited May 15, 20205 yr by Draco18s 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.
May 15, 20205 yr Author Thanks Draco18s! Your code is a lot smaller than that of Mineshafts, Strongholds etc. so it should help me a lot.
May 15, 20205 yr It also doesn't do much. 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.
May 15, 20205 yr Author That's fine! Anything helps haha. It shows me how to generate multiple components which is super helpful.
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.