Block_TrialSpawner: {
    type: "compound";
    value: {
        cooldown_end_at: { type: "long"; value: [high: number, low: number] };
        current_mobs: {
            type: "list";
            value: {
                type: "compound";
                value: { uuid: { type: "long"; value: [high: number, low: number] } }[];
            };
        };
        next_mob_spawns_at: { type: "long"; value: [high: number, low: number] };
        normal_config: {
            type: "compound";
            value: {
                items_to_drop_when_ominous: { type: "string"; value: string };
                loot_tables_to_eject: {
                    type: "list";
                    value: {
                        type: "compound";
                        value: {
                            data: { type: "string"; value: string };
                            weight: { type: "int"; value: number };
                        }[];
                    };
                };
                simultaneous_mobs: { type: "float"; value: number };
                simultaneous_mobs_added_per_player: { type: "float"; value: number };
                spawn_potentials: {
                    type: "list";
                    value: {
                        type: "compound";
                        value: {
                            equipment_loot_table: { type: "string"; value: string };
                            TypeID: { type: "string"; value: string };
                            Weight: { type: "int"; value: number };
                        }[];
                    };
                };
                spawn_range: { type: "int"; value: number };
                target_cooldown_length: { type: "int"; value: number };
                ticks_between_spawn: { type: "int"; value: number };
                total_mobs: { type: "float"; value: number };
                total_mobs_added_per_player: { type: "float"; value: number };
            };
        };
        ominous_config: { type: "compound"; value: object };
        registered_players: {
            type: "list";
            value: {
                type: "compound";
                value: { uuid: { type: "long"; value: [high: number, low: number] } }[];
            };
        };
        required_player_range: { type: "int"; value: number };
        selected_loot_table: { type: "string"; value: string };
        spawn_data: {
            type: "compound";
            value: {
                equipment_loot_table: { type: "string"; value: string };
                TypeID: { type: "string"; value: string };
                Weight: { type: "int"; value: number };
            };
        };
    };
}

Additional fields for [trial spawner](https://minecraft.wiki/w/trial spawner) and [ominous trial spawner](https://minecraft.wiki/w/ominous trial spawner).

Type declaration

  • type: "compound"
  • value: {
        cooldown_end_at: { type: "long"; value: [high: number, low: number] };
        current_mobs: {
            type: "list";
            value: {
                type: "compound";
                value: { uuid: { type: "long"; value: [high: number, low: number] } }[];
            };
        };
        next_mob_spawns_at: { type: "long"; value: [high: number, low: number] };
        normal_config: {
            type: "compound";
            value: {
                items_to_drop_when_ominous: { type: "string"; value: string };
                loot_tables_to_eject: {
                    type: "list";
                    value: {
                        type: "compound";
                        value: {
                            data: { type: "string"; value: string };
                            weight: { type: "int"; value: number };
                        }[];
                    };
                };
                simultaneous_mobs: { type: "float"; value: number };
                simultaneous_mobs_added_per_player: { type: "float"; value: number };
                spawn_potentials: {
                    type: "list";
                    value: {
                        type: "compound";
                        value: {
                            equipment_loot_table: { type: "string"; value: string };
                            TypeID: { type: "string"; value: string };
                            Weight: { type: "int"; value: number };
                        }[];
                    };
                };
                spawn_range: { type: "int"; value: number };
                target_cooldown_length: { type: "int"; value: number };
                ticks_between_spawn: { type: "int"; value: number };
                total_mobs: { type: "float"; value: number };
                total_mobs_added_per_player: { type: "float"; value: number };
            };
        };
        ominous_config: { type: "compound"; value: object };
        registered_players: {
            type: "list";
            value: {
                type: "compound";
                value: { uuid: { type: "long"; value: [high: number, low: number] } }[];
            };
        };
        required_player_range: { type: "int"; value: number };
        selected_loot_table: { type: "string"; value: string };
        spawn_data: {
            type: "compound";
            value: {
                equipment_loot_table: { type: "string"; value: string };
                TypeID: { type: "string"; value: string };
                Weight: { type: "int"; value: number };
            };
        };
    }
    • cooldown_end_at: { type: "long"; value: [high: number, low: number] }

      Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.

    • current_mobs: {
          type: "list";
          value: {
              type: "compound";
              value: { uuid: { type: "long"; value: [high: number, low: number] } }[];
          };
      }

      A set of mob UUIDs. — The mobs that were spawned by this spawner and are still alive.

    • next_mob_spawns_at: { type: "long"; value: [high: number, low: number] }

      Gametime in ticks when the next spawn attempt happens. 0 if not currently active.

    • normal_config: {
          type: "compound";
          value: {
              items_to_drop_when_ominous: { type: "string"; value: string };
              loot_tables_to_eject: {
                  type: "list";
                  value: {
                      type: "compound";
                      value: {
                          data: { type: "string"; value: string };
                          weight: { type: "int"; value: number };
                      }[];
                  };
              };
              simultaneous_mobs: { type: "float"; value: number };
              simultaneous_mobs_added_per_player: { type: "float"; value: number };
              spawn_potentials: {
                  type: "list";
                  value: {
                      type: "compound";
                      value: {
                          equipment_loot_table: { type: "string"; value: string };
                          TypeID: { type: "string"; value: string };
                          Weight: { type: "int"; value: number };
                      }[];
                  };
              };
              spawn_range: { type: "int"; value: number };
              target_cooldown_length: { type: "int"; value: number };
              ticks_between_spawn: { type: "int"; value: number };
              total_mobs: { type: "float"; value: number };
              total_mobs_added_per_player: { type: "float"; value: number };
          };
      }

      Optional, see configuration for defaults. — The configuration to use when not ominous.

      • type: "compound"
      • value: {
            items_to_drop_when_ominous: { type: "string"; value: string };
            loot_tables_to_eject: {
                type: "list";
                value: {
                    type: "compound";
                    value: {
                        data: { type: "string"; value: string };
                        weight: { type: "int"; value: number };
                    }[];
                };
            };
            simultaneous_mobs: { type: "float"; value: number };
            simultaneous_mobs_added_per_player: { type: "float"; value: number };
            spawn_potentials: {
                type: "list";
                value: {
                    type: "compound";
                    value: {
                        equipment_loot_table: { type: "string"; value: string };
                        TypeID: { type: "string"; value: string };
                        Weight: { type: "int"; value: number };
                    }[];
                };
            };
            spawn_range: { type: "int"; value: number };
            target_cooldown_length: { type: "int"; value: number };
            ticks_between_spawn: { type: "int"; value: number };
            total_mobs: { type: "float"; value: number };
            total_mobs_added_per_player: { type: "float"; value: number };
        }
        • items_to_drop_when_ominous: { type: "string"; value: string }

          Defaults to loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json — A path to a [loot table](https://minecraft.wiki/w/loot table). Determines the items used by [ominous item spawner](https://minecraft.wiki/w/ominous item spawner)s spawned during the active phase when ominous. Ignored in normal mode.

        • loot_tables_to_eject: {
              type: "list";
              value: {
                  type: "compound";
                  value: {
                      data: { type: "string"; value: string };
                      weight: { type: "int"; value: number };
                  }[];
              };
          }

          List of possible loot tables to give as reward.

        • simultaneous_mobs: { type: "float"; value: number }

          Defaults to 2. — The amount of spawned mobs from this spawner that are allowed to exist simultaneously.

        • simultaneous_mobs_added_per_player: { type: "float"; value: number }

          Defaults to 1. — Amount of simultaneous mobs added for each additional player.

        • spawn_potentials: {
              type: "list";
              value: {
                  type: "compound";
                  value: {
                      equipment_loot_table: { type: "string"; value: string };
                      TypeID: { type: "string"; value: string };
                      Weight: { type: "int"; value: number };
                  }[];
              };
          }

          List of possible entities to spawn.

        • spawn_range: { type: "int"; value: number }

          Between 1 and 128. Defaults to 4. — Maximum distance in blocks that mobs can spawn.

        • target_cooldown_length: { type: "int"; value: number }

          Defaults to 36000. — Time in ticks of the cooldown period. Includes the time spend dispensing the reward.

        • ticks_between_spawn: { type: "int"; value: number }

          Defaults to 20. — Time in ticks between spawn attempts.

        • total_mobs: { type: "float"; value: number }

          Defaults to 6. — Total amount of mobs spawned before cooldown for a single player.

        • total_mobs_added_per_player: { type: "float"; value: number }

          Defaults to 2. — Amount of total mobs added for each additional player.

    • ominous_config: { type: "compound"; value: object }

      Optional, defaults to normal_config. When individual entries are omitted, they also default to their setting in normal_config. — The configuration to use when ominous.

    • registered_players: {
          type: "list";
          value: {
              type: "compound";
              value: { uuid: { type: "long"; value: [high: number, low: number] } }[];
          };
      }

      A set of player UUIDs. — All the players that have joined the battle. The length of this array determines the amount of mobs and amount of reward.

    • required_player_range: { type: "int"; value: number }

      Between 1 and 128. Defaults to 14. — Maximum distance in blocks for players to join the battle.

    • selected_loot_table: { type: "string"; value: string }

      A path to the [loot table](https://minecraft.wiki/w/loot table) that is given as reward. Unset if not currently giving rewards. Selected from loot_tables_to_eject after all mobs are defeated.

    • spawn_data: {
          type: "compound";
          value: {
              equipment_loot_table: { type: "string"; value: string };
              TypeID: { type: "string"; value: string };
              Weight: { type: "int"; value: number };
          };
      }

      The next mob to attempt to spawn. Selected from spawn_potentials after the last attempt. Determines the mob displayed in the spawner.

      • type: "compound"
      • value: {
            equipment_loot_table: { type: "string"; value: string };
            TypeID: { type: "string"; value: string };
            Weight: { type: "int"; value: number };
        }
        • equipment_loot_table: { type: "string"; value: string }

          Optional path to a [loot table](https://minecraft.wiki/w/loot table). Determines the equipment the entity will wear.

        • TypeID: { type: "string"; value: string }

          An entity ID.

        • Weight: { type: "int"; value: number }

          UNDOCUMENTED.