#Allow modification of structure spawning conditions

10 messages · Page 1 of 1 (latest)

mystic inlet
#

I was hoping to use this mod to change the biomes that shipwrecks are allowed to spawn in, but that sadly doesn't seem possible. I feel like changing where and how structures are able to spawn would help a lot more people then just me.

lament sandal
#

You just need to add/remove biomes from the tag #minecraft:has_structure/shipwreck

ServerEvents.tags("worldgen/biome", (event) => {
  event.get("minecraft:has_structure/shipwreck").removeAll()
  event.add("minecraft:has_structure/shipwreck", ["mod:your_biome_here"])
})
#

this is 1.19+

mystic inlet
#

Oh wow, thanks!! Footer told me it was impossible lol

lament sandal
#

@uneven jungle ahujel
he might have read it as biome edit, not structure where it spawns which you can do via tags

#

editing biomes is datapack only

#

editing tags you can do via datapack or via tag event

uneven jungle
#

Jesus christ I made a mistake, you don't have to come at me for it

#

Leave me alone

mystic inlet