Terrain Control

Terrain Control

235k Downloads

Default Minecraft structures (villages, monuments, mansions, etc.) not registered

jacobwgillespie opened this issue ยท 12 comments

commented

On Spigot, TerrainControl doesn't register the Minecraft structures, making Minecraft not recognize them as such. This causes weird behaviour like boss mobs not spawning, /locate not working and treasure maps not being created.


Original report

Our ocean monuments don't seem to be spawning guardians - is there some way I can debug this? I see guardians mentioned in the code a few times, but not in the biome config files - is this normal?

Thanks!

commented

Yep, confirmed that if TerrainControl is disabled, Guardians do spawn.

commented

Are you using Forge? I cannot spawn silverfish or horses with TC on Forge, and honestly custom spawning is pretty screwed up altogether on that platform. Haven't tried that particular feature on Spigot but I'll give it a whirl sometime soon.

commented

No, using Spigot, with completely unchanged TerrainControl settings. Disabling TC caused guardians to immediately spawn, so not sure what specifically is preventing them from spawning, but something is.

commented

This is related to #143, and there unfortunately isn't much we can do on Spigot. Maybe the upcoming structure block in Minecraft 1.9 will finally allow us to properly place structures, with mobs et al.

commented

Any updates on this?

commented

Currently, strongholds are recognized by Minecraft, but as you can see in the new /locate command (Spigot 1.11), other structures aren't. This means that the mobs still won't spawn.

commented

I changed the title to a more generic one, so that other bugs that have the same cause can be merged into this bug report.

commented

/locate is working now, but it looks like only an Elder Guardian spawns in Ocean Monuments.

commented

Same problem here, structure not registerded so can't farm guardian.

Edit : seem structure are registered because if we remove the plugin with custom placed structure ( monument in custom location ) the guardian spawn, i tried to look what in your code cause this and i didn't found, i think the problem come from you're default biome's spawning mob in biomeconfig line +/- 320.
Could you fix this fast ?
Please

commented

latest build only work with 1.11

commented

I don't want to open a new issue for this, but the problem is only half-solved.
While the Spigot side appears to check user input against multiple possible structures, the Forge side does not.

The method name is getStrongholdGen() on my local Forge dev setup, so perhaps someone was thinking it's just for Strongholds, but it is run for any occasion where the player uses the locate command.
As such, running locate on any Forge server using an OTG world will only return a result if you're trying to find a Stronghold (case-sensitive).

This creates a problem when an end-user wishes to find something such as a Village.