TobiasDeBruijn / HaroTorch

Modded's MegaTorch on Spigot
GNU General Public License v3.0
1 stars 4 forks source link

[Feature] Compatibility with MythicMobs creatures #14

Open fnrcum opened 3 years ago

fnrcum commented 3 years ago

Is your feature request related to a problem? Please describe. So far the Torch completely blocks spawns of hostile mobs as long as they are not spawned through a spawner. MythicMobs derived creatures sadly use a RandomSpawner solution to spawn in the creatures which completely bypasses HaroTorch.

Describe the solution you'd like I don't have a concrete solution but something that potentially could work is checking what kind of tool spawned the creature OR give a config/gui option to disable if(event.getSpawnReason().equals(SpawnReason.SPAWNER)... line of code.

This would fit very well with issue https://github.com/TheDutchMC/HaroTorch/issues/13 as you could have granular control on how the spawning gets executed per torch.

TobiasDeBruijn commented 3 years ago

Hm, Ill see what I can do about that, should be fairly easy to implement

Edit: It appears Mythic Mobs is a premium plugin, meaning I can't easily hook into the code. I'll give talking to the plugin's author a go though.