mojira.dev
MC-21331

Horse spawners crash with properly configured SpawnData.

*What I expected to happen was...:
Horses should spawn.

*What actually happened was...:
Minecraft crashed.

Minecraft crashes on approaching a horse spawner with the SpawnData or SpawnPotentials NBT tags attached. This spawner did NOT have ActiveEffects NBT tags on it. (And therefore does not duplicate MC-16191) and had a properly configured SpawnData tag containing an auxiliary Id tag. (And therefore does not duplicate MC-16257) (also tested with only the original EntityId tag on the spawner)

Steps to Reproduce:
1. Create a spawner for EntityHorse
2. Add the SpawnData NBT tag.
3. Paste in data from a valid horse entity.
4. Load the chunk containing said spawner.

To the mod that reads this: Please include a list of all bugs you feel this duplicates, as I'm fairly sure this is a unique issue that needs to be addressed within the code.

Linked issues

Attachments

Comments 11

Duplicate of MC-16257, please use the search function to see if your bug has already been submitted. Currently over 58% of tickets are being closed as duplicate.

Not sure what I was expecting. I honestly would like to know what makes him think I misconfigured the spawner. I suppose we will never know, because like the original report, this will never be read by a mod.

J Robb: Oh, yeah, I suppose that needs some explanation. Your crash report is the same as the one produced by MC-16257, which is why it was marked as a duplicate.

I recognize that they stated that they misconfigured their mcr file, But I'm fairly certain I didn't. Like I said, I am able to get a horse spawner to function, so long as it has no SpawnData tag. Adding an empty SpawnData tag will cause the game to crash, as will adding a SpawnData tag using tags copied directly from a valid horse. The issue isn't with the spawners' EntityId tag, as that functions fine so long as there is no SpawnData tag. If you have the time, you could try to duplicate the issue yourself.

Sorry for pushing the issue so much, but I really love the idea of spawners spiting out skeletal and zombie horses.

Mind attaching a world file/schematic containing the spawner?

1 more comments

Forgot to delete the horse. I don't think that will affect anything though.

No, I did delete the horse, but my editor didn't save the changes since then - that makes my formerly uploaded reigon file invalid. Sorry about that, I have a valid file up now.

Also, I feel I should note here that working horse spawners spam the console with NPE exceptions - that may be related to our issue.

I put up the Clientside log as well, assuming that the issue was connected.

Relinked to MC-27442

J Robb

(Unassigned)

Unconfirmed

crash

Minecraft 1.6.1

Retrieved