Closed JiFish closed 7 years ago
Still seeing these. I have an example map now, so maybe I can track it down.
22:54:00 ase Server thread error Failed to load data for block entity minecraft:mob_spawner
I've narrowed this down to the "Catling" custom spawner. There may be more, but this one definitely causes the error and produces empty spawners.
I've not figured out what's wrong with it yet (it's kind of big and gnarly)
Dang it. It was hard enough getting that one working in the first place! I should have guessed it would be this one that broke.
OK, I best pick this one up. I'll try to find time to look at it this evening or tomorrow.
@orphu: This is 100% a change to minecraft tags. In my test world, I was able to generate those spawners fine, but in brand new map they broke as described. I think this means in addition to my fixing this spawner, we'll need to update the dataversion?
I've got to remember to always generate a new test map with new versions.
Hm. I updated the DV to the 1.11.2 version in 8f01a20. Could look at updating it the the latest 1.12 snapshot version and see what happens.
It looks like it's spawners that use SpawnPotentials that are broken.
Edit: confirmed
Think I've got it. Looks like SpawnData is now required. The actual contents doesn't matter so much. If you set the Delay to -1 it gets overwritten before anything the first spawn anyway.
Could just have the util function fill in a dummy SpawnData default tag. YAML files could override it if they need to.
This seems unrelated to the original report now. But maybe with all the changes that's been fixed too.
Could just have the util function fill in a dummy SpawnData default tag. YAML files could override it if they need to.
Good idea, I tried that and it seemed to work perfectly.
This seems unrelated to the original report now. But maybe with all the changes that's been fixed too.
I'm not so sure. Maybe SpawnData tags have been required since 1.11? Anyway, needs retesting.
I'm not getting this error in the snapshot server with the latest version of MCDungeon. I think this is fixed.
Server errors when playing a map with a dungeon on. This probably indicates some bad spawner NBT tags somewhere.