[MC-4877] Mobspawner still don't work Created: 17/Dec/12  Updated: 06/Sep/15  Resolved: 17/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.6
Fix Version/s: None

Type: Bug
Reporter: mrpingouin1 Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: NBT, custom, entity, mobSpawner, spawn

Confirmation Status: Unconfirmed

 Description   

This bug only work on custom spawner("SpawnData" Tag must be set) : most of adventure map are broken
The mob spawner will always spawn the mob at the same place(into the mobSpawner or block next to).
The bug come from here :
In the TileEntityMobSpawner class, in the updateEntity method, before the mob get Spawned, his random position and Rotation are set, but at the next line, a method set the entity NBTTag, and so set his position again but not randomly this time.
You can easily fix that by setting entity's position BEFORE setting his NBTTag.
This issue come from the same bug : MC-1530



 Comments   
Comment by Tails [ 17/Mar/13 ]

No answer on querry, assuming no longer an issue.

Comment by Tails [ 05/Feb/13 ]

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Generated at Sun Jan 12 12:06:02 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.