#Is there some way to overwrite the original legacy structures like nether fortresses.

1 messages · Page 1 of 1 (latest)

coarse crest
#

You can't overwrite the old structures the same way as with others, i.e. through minecraft/structures/<structure-name> because they aren't in there, as they were never ported forward to the new structure system. Is it possible to change these with a datapack? Failing that is there some way to just stop those specific structures from generating at all?

dark sail
#

<@&935561184806060073>

wispy wind
#

I looked at this forever ago and found out the same, that those structures don't have files you can simply edit. When I found this out I changed my idea for using them in my pack at the time but I did try brainstorming a workaround (my focus at the time was on the ocean monument).

If you would like to give it a go my idea is that when a player gets close enough to the temple, you could detect the location of the three elder guardians (one at the top, two in the wings) and then using entity's to detect the exact location of the temple you could remove it with a fill command or replace it with your own custom temple in a structure file.

I don't know if anyone else has a better idea but I would be interested if my crazy idea would actually work.

modest gazelle
#

You can technically do this

#

You just have to redo certain aspects of it

#

nether fortresses are hard coded

#

but they do have a couple files you can change the paths of to make it work

coarse crest
modest gazelle
#

Well

#

The basic gist of it is

#

You would have to recreate the fortress from scratch if you plan on just adding to it

#

But if you are completely reworking it

#

Then that’s easier

#

You would just edit the structure file to be a jigsaw type

#

Instead of a hardcoded type

#

The only structure I think that doesn’t actually have a structure json file are the underground dungeons

#

Which means you can make them into jigsaw structures

coarse crest
#

But then the original structure will still be there won’t it?

#

By which I mean you could still find the default nether fortresses around?

crude inlet
#

Don’t think so.

#

Your modifying the structure file in the minecraft directory, so this will replace it with whatever you set it to.

coarse crest
#

There is no structure file for nether fortresses they are hard coded also

modest gazelle
#

but there are json files that tell it how to generate

#

things like the structure set and structure

#

It wouldn't still generate if you edit the structure json

#

its generation is hardcoded, in the sense it doesn't use jigsaws

#

under

#

minecraft/worldgen/structure

#

Its called

#

fortress.json

#

When you physically edit those files through a datapack via the minecraft directory

#

you override the old ones

modest gazelle
#

you would just give it things like template pools

#

and switch it to jigsaw

coarse crest
#

Ok I’ll check it out

coarse crest
#

thanks I got something working from that