SkyratBot
fcf3b20e92
[MIRROR] Mobs spawners won't spawn more mobs than they are supposed to ( #27760 )
...
* Mobs spawners won't spawn more mobs than they are supposed to (#83266 )
## About The Pull Request
At some point we added a new parameter to spawners which randomised the
number of mobs they could spawn up to a maximum.
For some reason the default value here was set to "2", meaning that
every mob spawner in the game would be spawning an average of 1.5 mobs
per update instead of 1.
As the place it was _intended_ for (mining vents) already provides a
value in the constructor, I just set the default back to 1.
Additionally, this randomised value did not actually obey the "maximum
mobs" parameter of the component and could spawn mobs above what was
supposed to be the cap of mobs created by the spawner.
This PR fixes those things.
## Changelog
🆑
fix: Mob spawners (such as lavaland tendrils) won't spawn more mobs than
they are supposed to, faster than they should.
/🆑
* Mobs spawners won't spawn more mobs than they are supposed to
---------
Co-authored-by: Jacquerel <hnevard@gmail.com >
2024-05-18 03:16:47 +02:00
..
2024-05-18 02:10:44 +02:00
2023-10-16 08:46:24 -07:00
2024-04-26 01:22:24 +02:00
2024-04-30 05:48:11 +00:00
2024-04-28 22:24:01 +02:00
2024-04-29 21:15:33 +02:00
2024-04-15 22:23:56 -04:00
2024-04-28 22:24:01 +02:00
2023-10-31 02:16:50 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-07-16 14:18:38 -04:00
2023-12-29 14:41:12 +00:00
2023-08-22 02:44:57 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-10-31 02:16:50 -04:00
2023-12-29 14:41:12 +00:00
2023-07-13 08:57:14 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-07-04 13:35:22 +00:00
2024-04-18 02:58:03 +02:00
2024-04-26 01:22:24 +02:00
2023-10-11 21:27:23 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-03-26 11:36:14 -04:00
2023-06-20 10:28:46 -04:00
2024-02-29 23:25:34 +01:00
2024-02-26 21:13:38 +01:00
2024-04-16 12:58:35 +02:00
2023-12-29 14:41:12 +00:00
2023-11-13 09:42:16 -05:00
2024-03-06 22:15:33 -05:00
2023-10-31 18:31:52 -04:00
2023-12-29 14:41:12 +00:00
2024-02-22 16:56:54 +01:00
2023-12-13 22:18:53 -05:00
2023-12-03 01:05:51 -05:00
2024-02-20 01:00:11 +01:00
2024-03-26 11:36:14 -04:00
2024-03-01 19:05:23 +01:00
2023-07-24 00:28:58 -04:00
2023-06-18 13:18:23 +00:00
2023-12-29 14:41:12 +00:00
2023-12-09 08:22:19 -05:00
2023-06-18 13:18:23 +00:00
2023-06-18 13:18:23 +00:00
2023-06-18 13:18:23 +00:00
2024-04-25 15:05:23 +00:00
2023-06-18 13:18:23 +00:00
2024-04-30 05:48:11 +00:00
2023-12-29 14:41:12 +00:00
2024-03-13 19:48:16 -04:00
2023-12-29 14:41:12 +00:00
2024-02-27 01:59:23 +01:00
2024-04-26 01:22:24 +02:00
2023-06-18 13:18:23 +00:00
2023-07-31 20:02:03 -04:00
2024-04-26 01:22:24 +02:00
2024-04-18 02:58:03 +02:00
2023-12-29 14:41:12 +00:00
2023-11-23 15:22:20 -05:00
2024-04-26 01:22:24 +02:00
2023-10-09 15:00:17 -04:00
2023-12-04 23:01:54 -05:00
2024-01-12 03:54:50 +01:00
2023-12-29 14:41:12 +00:00
2024-04-30 05:48:11 +00:00
2024-03-17 07:27:26 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-06-18 13:18:23 +00:00
2023-11-21 22:54:35 -05:00
2024-04-04 13:50:16 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-04-29 21:15:33 +02:00
2023-11-05 22:01:26 -05:00
2023-06-18 13:18:23 +00:00
2023-04-12 20:45:43 +01:00
2024-03-05 17:36:09 -05:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-04-30 05:48:11 +00:00
2023-12-23 17:47:07 +00:00
2024-04-29 21:15:33 +02:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-03-26 11:20:47 -04:00
2024-04-28 22:24:01 +02:00
2023-10-09 09:38:28 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-01-19 01:58:37 +00:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-10-22 15:24:55 -04:00
2024-04-28 22:24:01 +02:00
2023-12-29 14:41:12 +00:00
2024-05-16 14:15:07 -04:00
2023-12-29 14:41:12 +00:00
2024-02-15 17:38:09 -05:00
2023-10-08 08:06:23 -04:00
2024-05-01 22:27:35 +00:00
2024-02-04 08:01:27 -05:00
2023-12-29 14:41:12 +00:00
2024-01-19 01:58:37 +00:00
2023-10-26 06:16:19 -04:00
2023-12-04 23:01:54 -05:00
2023-12-29 14:41:12 +00:00
2023-12-06 01:36:04 -05:00
2024-05-16 06:33:48 +02:00
2024-01-05 20:18:09 +00:00
2023-12-09 08:22:19 -05:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-10-03 21:58:18 -07:00
2024-03-26 11:36:14 -04:00
2024-04-28 22:24:01 +02:00
2023-12-29 14:41:12 +00:00
2024-04-26 20:41:33 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-07-18 22:10:59 -04:00
2023-12-29 14:41:12 +00:00
2023-12-09 21:58:57 -05:00
2024-02-04 08:00:38 -05:00
2023-12-29 14:41:12 +00:00
2023-06-18 13:18:23 +00:00
2024-05-18 01:31:31 +02:00
2024-03-11 22:26:46 -04:00
2023-06-18 13:18:23 +00:00
2023-04-28 19:54:39 -07:00
2024-04-04 01:47:38 -04:00
2024-04-26 20:41:33 -04:00
2023-06-18 13:18:23 +00:00
2023-12-29 14:41:12 +00:00
2023-12-12 12:01:47 -05:00
2023-10-31 02:17:34 -04:00
2023-10-16 12:37:49 -04:00
2024-04-23 20:43:45 +02:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-11-27 01:02:48 -05:00
2024-04-29 21:15:33 +02:00
2023-12-29 14:41:12 +00:00
2023-10-31 03:00:50 -04:00
2024-04-04 14:55:02 -04:00
2023-12-29 14:41:12 +00:00
2024-04-04 14:48:31 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-11-09 16:37:48 -05:00
2023-10-06 14:43:47 -07:00
2024-04-28 22:24:01 +02:00
2024-02-15 17:38:09 -05:00
2023-12-29 14:41:12 +00:00
2023-04-29 15:29:35 -07:00
2023-12-01 18:33:13 -06:00
2023-12-29 14:41:12 +00:00
2024-05-07 03:29:46 +00:00
2024-04-16 06:05:57 +00:00
2023-12-29 14:41:12 +00:00
2024-05-16 06:28:46 +02:00
2024-04-30 05:48:11 +00:00
2024-04-04 01:49:03 -04:00
2024-04-04 01:49:03 -04:00
2024-03-26 11:36:14 -04:00
2023-06-18 13:18:23 +00:00
2024-04-17 22:59:33 -04:00
2024-05-03 01:57:29 +00:00
2024-04-29 23:52:39 +01:00
2023-12-29 14:41:12 +00:00
2024-03-12 00:01:24 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-07-31 20:02:03 -04:00
2024-05-18 03:16:47 +02:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-03-26 11:20:47 -04:00
2023-07-21 00:43:21 -04:00
2023-12-29 14:41:12 +00:00
2023-11-20 17:10:59 -05:00
2023-06-18 13:18:23 +00:00
2023-10-09 15:00:17 -04:00
2024-03-31 23:26:10 -04:00
2023-07-27 16:24:48 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2023-10-16 08:46:24 -07:00
2024-03-25 13:58:35 -04:00
2024-05-18 01:27:23 +02:00
2024-01-28 00:04:38 -05:00
2024-04-03 22:30:18 +02:00
2024-02-27 01:58:29 +01:00
2023-12-29 14:41:12 +00:00
2024-03-17 07:27:26 -04:00
2023-12-29 14:41:12 +00:00
2023-08-14 19:17:20 -04:00
2023-06-18 13:18:23 +00:00
2023-10-11 19:57:35 -04:00
2023-08-25 19:06:07 -04:00
2023-12-06 22:00:04 -05:00
2023-12-29 14:41:12 +00:00
2024-05-08 21:29:40 -04:00
2023-12-09 08:22:19 -05:00
2024-04-26 01:22:24 +02:00
2023-12-09 09:48:43 -05:00
2023-10-07 23:23:36 +00:00
2024-03-27 00:12:12 -04:00
2024-04-04 13:49:44 -04:00
2023-12-29 14:41:12 +00:00
2023-12-29 14:41:12 +00:00
2024-05-01 15:06:02 +00:00
2023-07-18 22:10:59 -04:00
2023-06-18 13:18:23 +00:00
2023-10-20 03:45:46 +00:00
2023-12-28 07:51:57 -08:00
2023-12-29 14:41:12 +00:00
2023-10-28 09:07:26 -04:00