[MC-1004] Custom spawners with no delay variance crash the game Created: 28/Oct/12 Updated: 07/Apr/21 Resolved: 29/Oct/12 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.2 |
| Fix Version/s: | Minecraft 1.4.3 |
| Type: | Bug | ||
| Reporter: | GrygrFlzr | Assignee: | [Mojang] Nathan Adams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | crash, delay, random, spawner | ||
| Environment: |
Windows 7 64 bit, JRE 7 1.7.0_07 64 bit. |
||
| Attachments: |
|
| Confirmation Status: | Unconfirmed |
| Description |
|
I was trying to modify my custom map to have a set delay in spawning entities. Timing is important, so even a 1 tick delay makes a difference. So I modified the spawner to have exactly the same minimum and maximum delay. What I expected to happen was to have a spawner that could spawn using exact timing and would not randomize the amount of time needed to spawn the next entity. What actually happened was the spawner crashed the game because the randomizer could not accept 0 as a difference between values. Steps to reproduce: Temporary Workarounds Possible fixes |
| Comments |
| Comment by Dustin Dowell [ 02/Nov/12 ] |
|
Sorry about that. I wasn't aware. I saw MCEdit and assumed it wasn't vinilla. Sorry. |
| Comment by Alex Campbell [ 02/Nov/12 ] |
|
The ability to set these properties on spawners was a deliberate feature in 1.4. If a feature doesn't work as intended, that's a bug. |
| Comment by Dustin Dowell [ 02/Nov/12 ] |
|
I'm pretty sure since this can't be created in vinilla minecraft only, it's not considered a bug here. Sorry. |
| Comment by Alex Campbell [ 02/Nov/12 ] |
|
It seems the max spawn delay is actually 1 tick lower than what you set it to in 1.4.2, so if you set the maximum to the minimum + 1, there will be no variance. |