In Control!

In Control!

82M Downloads

Need help, some mobs still spawning

DoLeHoang3002 opened this issue ยท 2 comments

commented

I want to spawn only mobs from Cobblemon, RCTmod, villager and wandering trader
{
"result": "deny"
},
{
"mod": ["cobblemon","rctmod"],
"mob": ["minecraft:villager","minecraft:wandering_trader"],
"result": "default"
}
but some mobs need condition like bee, drowned,... and from monster spawner and trail spawner still spawning.
i need help for prevent all mob spawning at any conditions, just allow only cobblemon, rtcmod, villager and trader.
otherwise, is there any method for change monster spawner and trail spawner to spawn mob from Cobblemon (i was check "/incontrol list" and all diffirent mobs from cobblemon is called by the same name "cobblemon:pokemon")

commented

First you need to swap the order. Rules are executed from top to bottom. So you want the rule for villager first. Also you need to split. Because you are mixing mod and mob from different mods. That doesn't work. Basically you need three rules:

  1. result default for mod cobblemod and rctmod
  2. result default for mob villager and wandering trader
  3. result deny

In that order!

You probably also need to add onjoin to all three rules to make this work for real

commented

thank you very much, but there is a issue now, because ender dragon not spawn anymore, when i come to the end there aren't any way to comeback except dead and not have end gateway, is there any way for spawn end gateway and exit portal by default