1
0
Fork 0
Commit Graph

72 Commits (254caaff37959005f340a3c686110df4387ceb46)

Author SHA1 Message Date
cora ebf214c043 Check if spawndef exists when spawning 2022-11-27 14:53:17 +01:00
cora 2b691dea07 Fix some more global var warnings 2022-11-27 14:53:16 +01:00
cora faa38ffab8 Fix some warnings 2022-11-27 14:53:16 +01:00
cora 5e177c61f6 Move on_step despawning to separate function 2022-11-27 14:53:16 +01:00
cora 646a341f52 Fix mob api can_spawn callback 2022-11-02 03:47:23 +01:00
cora 672e44bbb1 Don't spawn multiple mobs at the same position
this was originally intended to simulate group spawning i think
2022-10-29 11:50:45 +02:00
cora c044cf8e74 Fix debug line 2022-10-14 02:31:23 +02:00
cora 93f8f2aa3b only count despawnable mobs for global caps 2022-10-14 02:31:23 +02:00
cora c146124a2c spawning: check for room accrd. to collisionbox 2022-10-14 02:31:23 +02:00
cora ea48be3f4c Add global and per-player mob caps 2022-10-14 02:31:23 +02:00
cora cd862888d1 Fix indentation 2022-10-14 02:31:23 +02:00
cora ba25e57eac don't run on_spawn twice 2022-10-14 02:31:23 +02:00
cora 5db7680cd1 mitigate high cpu usage due to excessive mob counting
This was caused by the mob caps being checked too frequently
2022-10-14 02:31:23 +02:00
cora 97f9614818 Log the node a mob spawns on 2022-10-14 02:31:23 +02:00
cora 39a0353a49 Add spawn counts per mob to /mobstats 2022-10-14 02:31:23 +02:00
epCode 22a5856b46 make spawn_mob able to change values in a mob 2022-10-13 01:54:38 +02:00
cora 611d8808ac Fix a variable typo causing crashes with prot. mod 2022-09-16 15:11:52 +02:00
cora 8c16b8c7ee Make mob caps configurable 2022-09-13 14:18:29 +02:00
cora 51e244fe35 Make logging of mob spawning configurable 2022-09-13 13:43:57 +02:00
cora 786cea122d Remove some unsused settings from mcl_mobs 2022-09-13 13:39:14 +02:00
PrairieWind 186059ae13 spawn_mob logging and pillager npc attack 2022-09-09 20:30:26 -06:00
cora 3093462ee3 Fix despawning 2022-09-10 01:56:37 +00:00
cora 97cab0d91f Use api spawn command for natural spawn 2022-09-10 01:56:37 +00:00
cora 8c3ada1e11 Fix spawn command 2022-09-10 01:56:37 +00:00
cora 962425faa5 Don't spawn structure mobs in peaceful mode 2022-09-07 11:58:16 +02:00
PrairieWind fc362f0e9c Add Loggin Actions to mob spawning, and fixed log message for spawn egg use 2022-09-02 10:06:10 +00:00
cora 77e11713d3 Remove superfluous bed check for villagers 2022-08-30 21:52:47 +02:00
cora 2f0ca063e9 Make monsters less likely to spawn in groups 2022-08-30 21:52:47 +02:00
cora 3993cddfc6 Check for conditions on each group spawn 2022-08-30 21:52:47 +02:00
cora f27b2d9714 Fix 'spawn_in_group_min' warning 2022-08-15 11:58:39 +02:00
cora 51f79eaa39 Add lilypads and dead bushes 2022-08-02 12:02:20 +02:00
cora 94f0d679f2 Add can_spawn callback in mob api 2022-07-22 03:27:41 +02:00
cora 99037cb0ec adapt several mob spawning conditions to mc 2022-07-18 00:10:23 +00:00
cora 1087d9e54b Implement mc like mob cap 2022-07-18 00:10:23 +00:00
cora 2d3f4531c9 Add mob spawning debug command 2022-07-18 00:10:23 +00:00
cora 987ae3c6e8 Fix mobs spawning inside nodes 2022-07-18 00:10:23 +00:00
cora 3a32e4e4e9 Never spawn mobs on bedrock 2022-07-18 00:10:23 +00:00
cora a68343b71d Add group spawning minimum attribute 2022-07-18 00:10:23 +00:00
cora 9e60d24fe0 Never spawn mobs on leaves 2022-07-13 16:45:41 +02:00
cora c1686923d3 Fix crash when no group spawning positions found 2022-07-11 22:31:35 +02:00
cora f202ed8327 spawn in groups 2022-07-09 02:30:48 +02:00
cora ae0eb85ffc Add salmon, cod and dolphin from mcl5 2022-07-09 02:30:48 +02:00
cora b1c97a0510 prevent ground squids, variable spawn height 2022-07-04 01:41:45 +02:00
cora 8efbd89b6a Add basalt columns & lava pools 2022-06-19 00:24:52 +02:00
cora 8651e3b04e randomize spawning list 2022-06-15 05:06:31 +02:00
Elias Fleckenstein ff33794487 Rename mobs global to mcl_mobs 2022-05-25 23:13:33 +02:00
Elias Fleckenstein e0f70b54ec Remove _cmi_is_mob 2022-05-25 23:13:33 +02:00
cora e1ed990f58 sp. farm animals on grass, villagers near beds 2022-05-08 18:50:37 +00:00
kay27 53042b6f48 Adopt mob spawning from mcl5 2022-05-08 18:50:37 +00:00
cora 1c9f0c3238 don't spawn mobs on non opaque nodes or leaves
with the preliminary jordanspaning mobs would spawn on trees
and water regularly.
2022-03-22 22:02:15 +01:00