Started by
RandomDrago
on
Topic category: Advanced modding
Hello, So I've been working on a mod with current and corrupted dimensions/worlds and I'm also making a custom map for it, I wanted to know if it's possible to add a custom map as a dimension?
Yeah, it's not way too hard.
Just make a completely air biome, and a new dimension that's end-type. Then put that air biome in it. Now, your dimension will not generate any blocks.
Next, you have to make a custom structure. Call it anything you want, and save it. Then import it to mcreator. Make a new global map variable, and name it "hasdimensionbeenloaded" or something like that. The initial value is false. Now, do this:
When player joins "custom dimension"
If "hasdimensionbeenloaded"=false
set "hasdimensionbeenloaded" to true
load structure at 0 64 0 structure: CUSTOM STRUCTURE
set location of event/target entity to 0 65 0
Or something like that.
If you want a structure that's bigger than the size limit, just make multiple structures, and make them spawn next to each other. that's it!
It's way bigger than the standard structure size limit- So I doubt it's possible to do such thing since the map is few thousand blocks-
Still- In case I need to do sth like multiple structures placed next to each other- How would I do it?
I thought of just having the dimension with use of a multiverse mod or sth since it seemed the most possible one
Would love to know if you have an alternate idea though
So, for that, you can make your structure.
Then after that, you just place structure blocks 48 blocks apart from each other, with max structure size. Save all the structures like "Castle 1" "Castle 2"...
Then, you can do instead of
load structure at 0 64 0 structure: CUSTOM STRUCTURE
do
load structure at 0 64 0 structure: CUSTOM STRUCTURE
load structure at 0 64 48 structure: CUSTOM STRUCTURE 2
load structure at 0 64 -48 structure: CUSTOM STRUCTURE
And change up the coordinates like that depending on where that part of the structure is.
Other options are just getting mods to save bigger structures, saving the giant structure, then importing it into mcreator and loading that. That might lag a lot though.
That's all I can think of so far.