Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
technical:spawnersjson [2020/03/27 09:11] tehmadtitan |
technical:spawnersjson [2021/10/13 22:40] (current) tehmadtitan |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Spawners JSON ====== | ====== Spawners JSON ====== | ||
- | + | * { | |
- | + | * “name”: “name”, //(Name of the spawner. Set to the same name as the file.)// | |
- | + | * “type”: “spawner”, //(Type of config file. Don't change this value.)// | |
- | | + | * “enabled”: true, //(Whether |
- | * "type": "spawner", //(Type of JSON)// | + | * “loadDefault”: true, //(If you edit this file in the future, |
- | * "enabled": true, //(if the JSON Will be Enabled)// | + | * “mobCountMin”: 1, //(Minimum amount of mobs to randomly attempt to spawn each wave.)// |
- | * "loadDefault": true, //(makes it so the Default | + | * “ignoreBiomes”: false, //(Whether to set spawning based on biome.)// |
- | * "mobCountMin": (value), | + | * “ignoreLightLevel”: false, //(Whether to set spawning based on light level.)// |
- | * "ignoreBiomes": false, | + | * “groupLimitRange”: 1, |
- | * "ignoreLightLevel": false, | + | * “conditions”: [ //(Conditions for spawning.)// |
- | * "groupLimitRange": (value), //()// | + | * { |
- | * "conditions": [ | + | * “type”: “world”, //(A condition setting which dimensions the spawner works or doesn' |
- | * | + | * “dimensionIds”: [ //(A list of dimension IDs. In 1.12 use numerical IDs but in all versions after 1.13 use namespaced IDs.)// |
- | * "type": "world", //()// | + | * 1, //(Dimension ID for the End, for 1.12) |
- | * "dimensionIds": [ | + | * minecraft: |
- | * (value) | + | * ], |
- | * ], | + | * “dimensionListType”: “whitelist” //(Whether the spawner should work (whitelist) or not work (blacklist) in the listed dimensions)// |
- | * "dimensionListType": "whitelist" | + | * } |
- | * | + | * ], |
- | * | + | * “triggers”: [ //(List of triggers. There are more than just these but these are the most important ones.)// |
- | * "triggers": [ | + | * { |
- | * | + | * “type”: “world”, //(The tickrate trigger.)// |
- | * "type": "world", //()// | + | * “chance”: 1, //(Chance for the spawner to actually spawn mobs.)// |
- | * "chance": (value), //()// | + | * “tickRate”: 20 //(How often the spawner should run. 20 ticks = 1 second.)// |
- | * "tickRate": (value) | + | * } |
- | * | + | * ], |
- | * | + | * “locations”: [ |
- | * "locations": [ // | + | * { |
- | * | + | * “type”: “name”, |
- | * " | + | * “rangeMin”: [ //(Minimum range from wherever the conditions are met.)// |
- | * "rangeMin": [ | + | * 1, //(Distance in x.)// |
- | * (value), //()// | + | * 1, //(Distance in y.)// |
- | * | + | * 1 //(Distance in z.)// |
- | * (value) | + | * ], |
- | * | + | * “rangeMax”: [ //(Maximum range from wherever the conditions are met.)// |
- | * "rangeMax": [ | + | * 1, //(Distance in x.)// |
- | * (value), //()// | + | * 1, //(Distance in y.)// |
- | * (value), //()// | + | * 1 //(Distance in z.)// |
- | * (value) | + | * ], |
- | * | + | * “sorting”: “random”, |
- | * "sorting": "random", // | + | * “limit”: 1, //(Limit of mobs that can spawn)// |
- | * "limit": (value), | + | * “solidGround”: true, //(Whether the spawner is on solid ground or not.)// |
- | * "solidGround": true, //()// | + | * “underground”: false //(Whether the spawner is underground or not.)// |
- | * "underground": false //()// | + | * } |
- | * | + | * ], |
- | * | + | * “mobSpawns”: [ //(List of mobs to spawn)// |
- | * "mobSpawns": [ //()// | + | * { |
- | * | + | * “mobId”: “lycanitesmobs: |
- | * "mobId": "lycanitesmobs: | + | * “weight”: 1 //(The chance that the mob will spawn, out of 1.)// |
- | * "weight": (value) | + | * } |
- | * | + | * ] |
- | * | + | * } |