Bug: Structure Condition in MythicMobs Skills Fails to Work on Purpur 1.20.1 Server
Summary
When testing the structure condition in MythicMobs skills, I encounter a warning, and the condition does not work with any type of structure. Other conditions like biome or isPlayer work correctly. I verified the structure names using /locate structures and the Spigot documentation, trying various formats (uppercase, lowercase, and mixed) with no success.
Steps to reproduce
- Use the following MythicMobs configuration for a mob and skill:
- Mob configuration: Pastebin link with Mob config
- Skill configuration: Pastebin link with Skill config
- Test the skill in a Purpur 1.20.1 server with MythicMobs versions 5.6.0, 5.7.1, and 5.7.2.
- Trigger the
structurecondition with any valid structure, such asminecraft:ancient_cityorminecraft:ruined_portal_jungle.
Current behavior
The skill fails to recognize the structure condition and produces a warning. No action is triggered by the skill when this condition is used. Testing with other conditions like biome or isPlayer works as expected. Additionally, using mm utilities getstructures does not provide any useful information.
Intended correct behavior
The skill should correctly recognize the specified structure condition and trigger the associated actions when the player is within the defined structure.
Server log file
Pastebin link with the full server latest.log from startup to "Done!" and includes a player connecting.
Debug log snippet
Pastebin link with a snippet of the latest.log showing debug output when the skill with the structure condition is triggered.