{
  "fields": [
    {
      "id": "description",
      "title": "description",
      "description": "description",
      "dataType": 16,
      "subForm": {
        "title": "V1 21 60 Spawn Description",
        "description": "V1 21 60 Spawn Description",
        "fields": [
          {
            "id": "identifier",
            "title": "identifier",
            "description": "identifier",
            "dataType": 2
          }
        ]
      }
    },
    {
      "id": "placement",
      "title": "placement",
      "description": "Placement rule defintions",
      "dataType": 16,
      "subForm": {
        "title": "V1 21 60 Spawn Placement",
        "description": "Placement rule defintions",
        "fields": [
          {
            "id": "type",
            "title": "type",
            "description": "Specifies the environment where the entity can spawn (e.g., on ground, in water, etc.).",
            "dataType": 2
          },
          {
            "id": "heightmap",
            "title": "heightmap",
            "description": "Defines the heightmap filter for initial entity placement during chunk loading.",
            "dataType": 2
          },
          {
            "id": "spawn_predicate",
            "title": "spawn_predicate",
            "description": "Determines if an entity is valid to spawn based on specific conditions.",
            "dataType": 2
          },
          {
            "id": "spawn_obstruction_predicate",
            "title": "spawn_obstruction_predicate",
            "description": "Checks for obstructions that might prevent entity spawning.",
            "dataType": 2
          }
        ]
      }
    },
    {
      "id": "conditions",
      "title": "conditions",
      "description": "conditions",
      "dataType": 15,
      "subForm": {
        "title": "V1 21 60 Spawn BiomeConditions",
        "description": "Biome specific rules for spawning",
        "fields": [
          {
            "id": "weight",
            "title": "weight",
            "description": "The weight used when comparing other entities that can  spawn within a biome",
            "dataType": 0
          },
          {
            "id": "herds",
            "title": "herds",
            "description": "Configurations for size and events when spawning groups of entities",
            "dataType": 15,
            "subForm": {
              "title": "V1 21 60 Spawn Herd",
              "description": "V1 21 60 Spawn Herd",
              "fields": [
                {
                  "id": "min",
                  "title": "min",
                  "description": "Minimum number of entities in this group to attempt to spawn",
                  "dataType": 0
                },
                {
                  "id": "event",
                  "title": "event",
                  "description": "An event to run after 'event_skip_count' number of entities in the group have spawned",
                  "dataType": 2
                },
                {
                  "id": "event_skip_count",
                  "title": "event_skip_count",
                  "description": "Number of entities spawned in the group to skip before running the event",
                  "dataType": 0
                },
                {
                  "id": "max",
                  "title": "max",
                  "description": "Maximum number of entities in this group to attempt to spawn",
                  "dataType": 0
                },
                {
                  "id": "initial_event",
                  "title": "initial_event",
                  "description": "Event run for the first 'initial_event_count' number of the group are placed.",
                  "dataType": 2
                },
                {
                  "id": "initial_event_count",
                  "title": "initial_event_count",
                  "description": "Number of times that 'initial_event' can run",
                  "dataType": 0
                }
              ]
            }
          },
          {
            "id": "mob_event_filter",
            "title": "mob_event_filter",
            "description": "Filter to exclude entities if the event is disabled.",
            "dataType": 2
          },
          {
            "id": "permute_types",
            "title": "permute_types",
            "description": "List of randomly choosable permutations of the entity",
            "dataType": 15,
            "subForm": {
              "title": "V1 21 60 Spawn PermuteType",
              "description": "V1 21 60 Spawn PermuteType",
              "fields": [
                {
                  "id": "weight",
                  "title": "weight",
                  "description": "The likelihood of this to be selected over the combined weight of all the entities in the permutation",
                  "dataType": 0
                },
                {
                  "id": "min_guaranteed",
                  "title": "min_guaranteed",
                  "description": "The minimum number of this permutation's entity to spawn",
                  "dataType": 0
                },
                {
                  "id": "entity_type",
                  "title": "entity_type",
                  "description": "Specifies the entity type to spawn when selected",
                  "dataType": 2
                }
              ]
            }
          },
          {
            "id": "biome_filter",
            "title": "biome_filter",
            "description": "Filter to limit spawns to specific biomes.",
            "dataType": 16,
            "subForm": {
              "title": "Biome Filter",
              "description": "Biome Filter",
              "fields": [
                {
                  "id": "operator",
                  "title": "operator",
                  "description": "The comparison to apply with 'value'.",
                  "dataType": 16
                },
                {
                  "id": "test",
                  "title": "test",
                  "description": "The name of the test to apply.",
                  "dataType": 2
                },
                {
                  "id": "subject",
                  "title": "subject",
                  "description": "The subject of this filter test.",
                  "dataType": 16
                },
                {
                  "id": "domain",
                  "title": "domain",
                  "description": "The domain the test should be performed in.",
                  "dataType": 16
                },
                {
                  "id": "value",
                  "title": "value",
                  "description": "The value being compared with the test.",
                  "dataType": 16
                }
              ]
            },
            "alternates": [
              {
                "id": "biome_filter",
                "dataType": 16
              },
              {
                "id": "biome_filter",
                "dataType": 16,
                "subForm": {
                  "title": "Biome Filter",
                  "description": "Biome Filter",
                  "fields": [
                    {
                      "id": "OR",
                      "title": "OR",
                      "description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "all",
                      "title": "all",
                      "description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "all_of",
                      "title": "all_of",
                      "description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "AND",
                      "title": "AND",
                      "description": "Evaluates all tests in the group, all must pass in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "any_of",
                      "title": "any_of",
                      "description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "none_of",
                      "title": "none_of",
                      "description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "any",
                      "title": "any",
                      "description": "Evaluates tests in the group, one or more must pass in order for the group to pass.",
                      "dataType": 16
                    },
                    {
                      "id": "NOT",
                      "title": "NOT",
                      "description": "Evaluates all tests in the group, all must fail in order for the group to pass.",
                      "dataType": 16
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ],
  "description": "Struct V1 21 60 Spawn Contents Spawn",
  "title": "Struct V1 21 60 Spawn Contents Spawn"
}