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 08:55] 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 the spawner is enabled in-game.)// | |
- | + | * “loadDefault”: true, //(If you edit this file in the future, it will default to the original version if set to true.)// | |
- | "name": " | + | * “mobCountMin”: 1, //(Minimum amount of mobs to randomly attempt to spawn each wave.)// |
- | " | + | * “ignoreBiomes”: false, |
- | " | + | * “ignoreLightLevel”: false, |
- | " | + | * “groupLimitRange”: 1, |
- | " | + | * “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.)// |
- | " | + | * 1, //(Dimension ID for the End, for 1.12) |
- | { | + | * minecraft: |
- | " | + | * ], |
- | " | + | * “dimensionListType”: “whitelist” //(Whether the spawner should work (whitelist) or not work (blacklist) in the listed dimensions)// |
- | (value) | + | |
- | ], | + | |
- | " | + | * “triggers”: [ //(List of triggers. There are more than just these but these are the most important ones.)// |
- | } | + | |
- | ], | + | * “type”: “world”, //(The tickrate trigger.)// |
- | " | + | * “chance”: 1, //(Chance for the spawner to actually spawn mobs.)// |
- | { | + | * “tickRate”: 20 //(How often the spawner should run. 20 ticks = 1 second.)// |
- | " | + | |
- | " | + | |
- | " | + | * “locations”: [ |
- | } | + | |
- | ], | + | * “type”: “name”, //(The type of location. Can be " |
- | " | + | * “rangeMin”: [ //(Minimum range from wherever the conditions are met.)// |
- | { | + | * 1, //(Distance in x.)// |
- | " | + | * 1, //(Distance in y.)// |
- | " | + | * 1 //(Distance in z.)// |
- | (value), | + | |
- | (value), | + | * “rangeMax”: [ //(Maximum range from wherever the conditions are met.)// |
- | (value) | + | * 1, //(Distance in x.)// |
- | ], | + | * 1, //(Distance in y.)// |
- | " | + | * 1 //(Distance in z.)// |
- | (value), | + | |
- | | + | * “sorting”: “random”, |
- | (value) | + | * “limit”: 1, //(Limit of mobs that can spawn)// |
- | ], | + | * “solidGround”: true, //(Whether the spawner is on solid ground or not.)// |
- | " | + | * “underground”: false //(Whether the spawner is underground or not.)// |
- | " | + | |
- | " | + | |
- | " | + | * “mobSpawns”: [ //(List of mobs to spawn)// |
- | } | + | |
- | ], | + | * “mobId”: “lycanitesmobs: |
- | " | + | * “weight”: 1 //(The chance that the mob will spawn, out of 1.)// |
- | { | + | |
- | " | + | |
- | " | + | * } |
- | } | + | |
- | ] | + |