[Bug] Random Spawns REPLACE action entitytype not working for all mobs
Summary
Random Spawns by REPLACE
action enables us to alter vanilla mob spawning beheviour. We intent to replace rabbit with camel spawns. To do this we use the entitytype
condition.
Currently the entitytype
condition is not working for certain mobs. To make testing easier we use the Reason: SPAWNER_EGG
.
Steps to reproduce
- Reference configuration files.
Random spawn file: https://pastebin.com/U4P4AaZT
Mob file: https://pastebin.com/WuYSJQ3Z
-
Try to spawn CAMEL via Skeleton or Zombie spawn egg. (in desert biome) -> working correctly
-
Try to spawn CAMEL via Cow or Rabbit spawn egg. (in desert biome) -> not working
Current behavior
Currently the entitytype
condition is not working for all entities.
Confirmed broken entities:
- COW, SHEEP, PIG, CHICKEN, GOAT, RABBIT
Confirmed working entities:
- SKELETON, ZOMBIE, CREEPER, SPIDER
Intended correct behavior
That the entitytype
condition works for all entities.
Server log file
Debug log snippet
Proposed fixes
It seems that only monsters are supported by the entitytype
condition. Animal like mobs are not working.