[SPIGOT-5372] Incorrect spawner generation making blockData corrupt with no fix Created: 17/Oct/19  Updated: 19/Oct/19  Resolved: 18/Oct/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: HexedHero Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
causes SPIGOT-5367 Invalid tile entities after running /... Open
Version: This server is running CraftBukkit version git-Spigot-94af569-db98d54 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

So if you generate a world and one of the dungeons spawn a chest next to a mob spawner, it will completely destroy the spawner's blockData and make it impossible to break even with WorldEdit etc and it looks like a pig spawner.

 

A very very easy way to repo this is to make a world on vanilla 1.14.4 Spigot with the seed -3992479988386776686 and teleport to 2300 11 1694

The spawner will be completely impossible to break and cause issues when interacted with.

 

My personal stack trace: 

https://pastebin.com/raw/Dmypb1jr



 Comments   
Comment by HexedHero [ 19/Oct/19 ]

Perfect, thank you so much!

Comment by md_5 [ 18/Oct/19 ]

I haven't fixed the underlying issue, but I've made the behaviour like it was in 1.13 - Bukkit will wipe the corrupt tile so the API doesn't error.

Comment by HexedHero [ 18/Oct/19 ]

Yea, sorry MD_5. I reported it here because I thought it wasn't a vanilla issue due to being able to remove the spawner in single-player very quickly so I reported it here but then I looked a little more into vanilla, kept this open in case you wanted to patch it your self or something but feel free to close this <3

Comment by md_5 [ 18/Oct/19 ]

The underlying corruption issue is Vanilla:

[19:44:29] [Server thread/INFO]: [md_5: Teleported md_5 to 2300.5, 11.0, 1694.5]
[19:44:29] [Server thread/WARN]: md_5 moved too quickly! 2172.0,-52.0,1572.0
[19:44:29] [Server-Worker-4/ERROR]: Failed to fetch mob spawner entity at (2300, 11, 1694)
[19:44:30] [Server thread/WARN]: md_5 moved too quickly! 0.0,-10.80652611000901,0.0
[19:44:30] [Server thread/WARN]: Block entity invalid: minecraft:chest @ ew{x=2300, y=11, z=1694}

EDIT: See you reported it already https://bugs.mojang.com/browse/MC-163945

Comment by HexedHero [ 17/Oct/19 ]

doing /setblock on the location can remove it without errors

Generated at Tue Apr 22 03:12:18 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.