Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1183

Closed
Open
Created Jun 26, 2023 by Antal1609@Antal1609

[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

  1. Reference configuration files.

Random spawn file: https://pastebin.com/U4P4AaZT

Mob file: https://pastebin.com/WuYSJQ3Z

  1. Try to spawn CAMEL via Skeleton or Zombie spawn egg. (in desert biome) -> working correctly

  2. 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

https://pastebin.com/C690tqJ5

Debug log snippet

https://pastebin.com/rzU1xJhx

Proposed fixes

It seems that only monsters are supported by the entitytype condition. Animal like mobs are not working.

Edited Jun 26, 2023 by Antal1609
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking