
Need help, some mobs still spawning
DoLeHoang3002 opened this issue ยท 2 comments
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")
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:
- result default for mod cobblemod and rctmod
- result default for mob villager and wandering trader
- result deny
In that order!
You probably also need to add onjoin to all three rules to make this work for real