technical:spawnersjson

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.)
    • “mobCountMin”: 1, (Minimum amount of mobs to randomly attempt to spawn each wave.)
    • “ignoreBiomes”: false, (Whether to set spawning based on biome.)
    • “ignoreLightLevel”: false, (Whether to set spawning based on light level.)
    • “groupLimitRange”: 1,
    • “conditions”: [ (Conditions for spawning.)
      • {
        • “type”: “world”, (A condition setting which dimensions the spawner works or doesn't work in.)
        • “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:the_end (Dimension ID for the End, for 1.13+).
        • ],
        • “dimensionListType”: “whitelist” (Whether the spawner should work (whitelist) or not work (blacklist) in the listed dimensions)
      • }
    • ],
    • “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 “block”, “random”, or “base”, corresponding to whether the spawner works from blocks/events/events respectively.)
        • “rangeMin”: [ (Minimum range from wherever the conditions are met.)
          • 1, (Distance in x.)
          • 1, (Distance in y.)
          • 1 (Distance in z.)
        • ],
        • “rangeMax”: [ (Maximum range from wherever the conditions are met.)
          • 1, (Distance in x.)
          • 1, (Distance in y.)
          • 1 (Distance in z.)
        • ],
        • “sorting”: “random”,
        • “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:name”, (Namespaced ID of the mob.)
        • “weight”: 1 (The chance that the mob will spawn, out of 1.)
      • }
    • ]
  • }
  • technical/spawnersjson.txt
  • Last modified: 2021/10/13 22:40
  • by tehmadtitan