In Control!

In Control!

74M Downloads

Question: How it works?

Dani20000 opened this issue ยท 13 comments

commented

I'm playing a modpack with "Zoo and Wild Animals Rebuild" and I want to fix the spawn rate of many mob that spawn at HUGE amount ignoring the proper config file... so I installed "InControl!" to fix this... but i have no idea of how your mod function... could anyone help me? I searched a detailed wiki with every command possible to write in the "spawn.json" file but without success... Could you help me? Thank you in advance

commented

That's resolved the issue. I just used "minecount":10 on all the entries and doesn't crash now.
Thank you.

Could you pass the text by putting it in the mod to make it work?
I've been testing but it fails me.
Sorry for the inconvenience and thanks.

commented

Like this?
Amirgouldxd I'm not sure what you mean, but this is the text they are talking about formatted to be easier to read.

A nice JSon validator/legibility helper

-note I am not the mod creator just trying to help

[{
"dimension": 0,
"mob": "zawa:bottlenosedolphin",
"mincount": 10,
"result": "deny"
}, {
"dimension": 0,
"mob": "zawa:bluefish",
"mincount": 10,
"result": "deny"
}, {
"dimension": 0,
"mob": "zawa:clownfish",
"mincount": 10,
"result": "deny"
}, {
"dimension": 0,
"mob": "zawa:hawksbillseaturtle",
"mincount": 10,
"result": "deny"
}, {
"dimension": 0,
"mob": "zawa:pufferfish",
"mincount": 10,
"result": "deny"
}]

commented

You can find the documentation here:
https://wiki.mcjty.eu/mods/index.php?title=ControlMods

commented

Thank you for the very quick response.
So this one for example reduce the max amount of dolphin of ten (let's take the case of a world without dolphins at the beginning, because already existed dolphin does not despawn naturally, correct?)?

{
    "dimension": 0,
    "mob": "zawa:bottlenose_dolphin",
    "mincount": {
      "amount": 10,
      "mob": "zawa:bottlenose_dolphin"
    },
    "result": "deny"
  }

commented

yes that should work

commented

Thank you very much. Another little question... you know how to obtain a list of every entity in the modpack?

commented

That information is also on that wiki (in the Commands section)

commented

If i write this [{ "dimension": 0, "mob": "zawa:bottlenosedolphin", "mincount": { "amount": 10, "mob": "zawa:bottlenosedolphin", }, "result": "deny" } { "dimension": 0, "mob": "zawa:bluefish", "mincount": { "amount": 10, "mob": "zawa:bluefish", }, "result": "deny" } { "dimension": 0, "mob": "zawa:clownfish", "mincount": { "amount": 10, "mob": "zawa:clownfish", }, "result": "deny" }{ "dimension": 0, "mob": "zawa:hawksbillseaturtle", "mincount": { "amount": 10, "mob": "zawa:hawksbillseaturtle", }, "result": "deny" }{ "dimension": 0, "mob": "zawa:pufferfish", "mincount": { "amount": 10, "mob": "zawa:pufferfish", }, "result": "deny" }] in the "spawn.json" file the game crashes...
The crash log is:
crash-2019-07-25_13.09.09-client.txt

commented

What am I doing wrong?

commented

Give your json to a json validator (plenty to find online). There are several errors in it

commented

Now the spawn.json is valid, but always crashes... If could help the game crashes at 6/7 forge loading
crash-2019-07-25_13.46.19-client.txt
[ { "dimension": 0, "mob": "zawa:bottlenosedolphin", "mincount": "10,zawa:bottlenosedolphin", "result": "deny" }, { "dimension": 0, "mob": "zawa:bluefish", "mincount": "10,zawa:bluefish", "result": "deny" }, { "dimension": 0, "mob": "zawa:clownfish", "mincount": "10,zawa:clownfish", "result": "deny" },{ "dimension": 0, "mob": "zawa:hawksbillseaturtle", "mincount": "10,zawa:hawksbillseaturtle", "result": "deny" },{ "dimension": 0, "mob": "zawa:pufferfish", "mincount": "10,zawa:pufferfish", "result": "deny" }]

commented

First can you format that json a bit better? It is very hard to read for me if it is all on one line. Also you get better errors as it will show you the line at which the error is. In your case all is one line so that's not helpful.

Also don't do mincount like that. Just "mincount": 10
that's enough

commented

That's resolved the issue. I just used "minecount":10 on all the entries and doesn't crash now.
Thank you.