Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Trial Spawner: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Remove broken links to missing pages
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
Line 23: Line 23:


== Obtaining ==
== Obtaining ==
Trial spawner can be obtained only by using the [[Minecraft:Creative inventory]], using {{Control|pick block}} or executing [[Minecraft:commands]].
Trial spawner can be obtained only by using the [[Minecraft:Creative inventory]], using {{MC/Control|pick block}} or executing [[Minecraft:commands]].


=== Natural generation ===
=== Natural generation ===
Line 30: Line 30:
=== Breaking ===
=== Breaking ===
No tool can accelerate the breaking process of trial spawner.
No tool can accelerate the breaking process of trial spawner.
{{breaking row|Trial Spawner|drop=0|horizontal=1}}
{{MC/Breaking row|Trial Spawner|drop=0|horizontal=1}}
Trial spawner drops nothing when it's destroyed.
Trial spawner drops nothing when it's destroyed.


Line 41: Line 41:
The line of sight check for trial spawners can pass through transparent solid blocks, such as copper grates and [[Minecraft:glass]]. This differs from the line of sight check for hostile mobs, which cannot pass through these blocks.
The line of sight check for trial spawners can pass through transparent solid blocks, such as copper grates and [[Minecraft:glass]]. This differs from the line of sight check for hostile mobs, which cannot pass through these blocks.


Trial spawners do not activate if the game rule {{cd|doMobSpawning}} is {{cd|false}},<ref>{{bug|MC-266487||Trial Spawners do not activate/spawn mobs if gamerule "doMobSpawning" is set to "false"}}</ref> or if the difficulty is set to Peaceful.<ref>{{bug|MC-278006||Trial spawners never try to spawn mobs in peaceful difficulty}}</ref>
Trial spawners do not activate if the game rule {{MC/Cd|doMobSpawning}} is {{MC/Cd|false}},<ref>{{bug|MC-266487||Trial Spawners do not activate/spawn mobs if gamerule "doMobSpawning" is set to "false"}}</ref> or if the difficulty is set to Peaceful.<ref>{{bug|MC-278006||Trial spawners never try to spawn mobs in peaceful difficulty}}</ref>


When a trial spawner first activates, it shoots spark-like particles up into the air. While active, it emits smoke and flame particles around itself and any entities it summons.
When a trial spawner first activates, it shoots spark-like particles up into the air. While active, it emits smoke and flame particles around itself and any entities it summons.
Line 50: Line 50:
[[File:Spawn Radius.png|thumb|Chance to Spawn🟩 70% 🟨 25% 🟧 5% 🟥 0%]]
[[File:Spawn Radius.png|thumb|Chance to Spawn🟩 70% 🟨 25% 🟧 5% 🟥 0%]]
[[File:Mobs Spawning From Trial Spawner.gif|thumb|A [[breeze]] and two skeletons spawning from their respective trial spawners.]]
[[File:Mobs Spawning From Trial Spawner.gif|thumb|A [[breeze]] and two skeletons spawning from their respective trial spawners.]]
{{See also|Trial Chambers#Trial spawners}}
{{MC/See also|Trial Chambers#Trial spawners}}


When a player enters a trial spawner's range, the spawner attempts to spawn 1 mob every {{convert|40|game ticks|seconds}}. With 1 player, it does not spawn a mob if there are already 2 mobs from the spawner that are still alive. It spawns a total of 6 mobs before ejecting loot and going into cooldown. The number of living mobs required to prevent further mob spawning is called the ''simultaneous mob'' count. The number of mobs spawned before going into cooldown is the ''total mob'' count. These numbers are summarized in {{slink||Spawning values}}.
When a player enters a trial spawner's range, the spawner attempts to spawn 1 mob every {{MC/Convert|40|game ticks|seconds}}. With 1 player, it does not spawn a mob if there are already 2 mobs from the spawner that are still alive. It spawns a total of 6 mobs before ejecting loot and going into cooldown. The number of living mobs required to prevent further mob spawning is called the ''simultaneous mob'' count. The number of mobs spawned before going into cooldown is the ''total mob'' count. These numbers are summarized in {{slink||Spawning values}}.


This duration of time between each mob being spawned is the ''spawn interval''. If the spawner can't spawn a mob, it waits for the duration of the ''spawn interval'' and tries again. Once the number of living mobs spawned by the spawner has reached the ''simultaneous mob'' count, it stops trying to spawn mobs. Mobs spawned by the spawner do not naturally despawn, but the spawner does not detect or count living mobs from unloaded chunks. Therefore, moving mobs into unloaded chunks causes them to build up and the spawner to continue spawning more.  
This duration of time between each mob being spawned is the ''spawn interval''. If the spawner can't spawn a mob, it waits for the duration of the ''spawn interval'' and tries again. Once the number of living mobs spawned by the spawner has reached the ''simultaneous mob'' count, it stops trying to spawn mobs. Mobs spawned by the spawner do not naturally despawn, but the spawner does not detect or count living mobs from unloaded chunks. Therefore, moving mobs into unloaded chunks causes them to build up and the spawner to continue spawning more.  
Line 64: Line 64:
The values described above are the default values used when trial spawners are placed manually. Naturally generated spawners in trial chambers use different values. Additionally, these numbers can be configured by modifying the block's NBT data.
The values described above are the default values used when trial spawners are placed manually. Naturally generated spawners in trial chambers use different values. Additionally, these numbers can be configured by modifying the block's NBT data.


Naturally generating trial spawners in trial chambers use different values for the ''spawn interval'', the ''total mob'' count, and the ''simultaneous mob'' count. The quantity that the last 2 values change by with additional players is also different for different types of spawners. All naturally generated spawners attempt to spawn mobs every {{convert|20|game ticks|seconds}}, or every {{convert|160|game ticks|seconds}} for the slow versions of the spawners. Additionally, naturally generated breeze spawners allow 1 breeze to exist at once (+0.5 for each additional player present) and stop after spawning 2 mobs (+1 for each additional player present). Baby zombie spawners allow 2 baby zombies to exist at once (+0.5 for each additional player present) and stop after spawning 6 mobs (+2 for each additional player present). All other spawners generated in trial chambers use the default value of 6 ''total mobs'', plus 2 for each additional player present, and 3 ''simultaneous mobs'', plus 2 for each additional player present. This is summarized in {{slink||Spawning values}}.
Naturally generating trial spawners in trial chambers use different values for the ''spawn interval'', the ''total mob'' count, and the ''simultaneous mob'' count. The quantity that the last 2 values change by with additional players is also different for different types of spawners. All naturally generated spawners attempt to spawn mobs every {{MC/Convert|20|game ticks|seconds}}, or every {{MC/Convert|160|game ticks|seconds}} for the slow versions of the spawners. Additionally, naturally generated breeze spawners allow 1 breeze to exist at once (+0.5 for each additional player present) and stop after spawning 2 mobs (+1 for each additional player present). Baby zombie spawners allow 2 baby zombies to exist at once (+0.5 for each additional player present) and stop after spawning 6 mobs (+2 for each additional player present). All other spawners generated in trial chambers use the default value of 6 ''total mobs'', plus 2 for each additional player present, and 3 ''simultaneous mobs'', plus 2 for each additional player present. This is summarized in {{slink||Spawning values}}.


==== Spawning values ====
==== Spawning values ====
Line 76: Line 76:
|-
|-
| ''Default values''
| ''Default values''
| {{convert|40|game ticks|seconds}}
| {{MC/Convert|40|game ticks|seconds}}
| 6
| 6
| 2
| 2
Line 83: Line 83:
|-
|-
| Breeze
| Breeze
| {{convert|20|game ticks|seconds}}
| {{MC/Convert|20|game ticks|seconds}}
| 2
| 2
| 1
| 1
Line 90: Line 90:
|-
|-
|Baby zombie
|Baby zombie
|{{convert|20|game ticks|seconds}}
|{{MC/Convert|20|game ticks|seconds}}
|Default
|Default
|Default
|Default
Line 97: Line 97:
|-
|-
| All others in trial chambers
| All others in trial chambers
| {{convert|20|game ticks|seconds}}
| {{MC/Convert|20|game ticks|seconds}}
| Default
| Default
| Default
| Default
Line 104: Line 104:
|-
|-
| Slow versions (those that appear in <code>chamber_8</code>)
| Slow versions (those that appear in <code>chamber_8</code>)
| {{convert|160|game ticks|seconds}}
| {{MC/Convert|160|game ticks|seconds}}
| Default
| Default
| Default
| Default
Line 119: Line 119:


==== Cooldown ====
==== Cooldown ====
Upon completion, a trial spawner enters a cooldown state for {{convert|30|minutes|game ticks}} before it can be activated again. The cooldown timer decreases even if the trial spawner is unloaded.<ref>{{bug|MC-277624||Trial Spawner still count down their 30 minutes cooldown when unloaded|Works as Intended}}</ref>
Upon completion, a trial spawner enters a cooldown state for {{MC/Convert|30|minutes|game ticks}} before it can be activated again. The cooldown timer decreases even if the trial spawner is unloaded.<ref>{{bug|MC-277624||Trial Spawner still count down their 30 minutes cooldown when unloaded|Works as Intended}}</ref>


=== Custom trial spawners ===
=== Custom trial spawners ===
{{control|Using}} a spawn egg on a trial spawner sets the trial spawner's type to that egg's entity.
{{MC/Control|Using}} a spawn egg on a trial spawner sets the trial spawner's type to that egg's entity.


Trial spawners placed by players have the same loot data as those found in trial chambers. However, if it becomes an ominous trial spawner it will keep its same loot and will not update to use the Ominous loot.
Trial spawners placed by players have the same loot data as those found in trial chambers. However, if it becomes an ominous trial spawner it will keep its same loot and will not update to use the Ominous loot.
Line 128: Line 128:
=== Loot ===
=== Loot ===
When all mobs have been killed, the trial spawner waits 40 ticks (2 seconds). Then, every 30 ticks (1.5 seconds), it ejects random items from the loot table. It does this for every detected player. It has a 50% chance of picking a trial key, in which case it drops for all players. The other 50% of the time it drops one of the other items for each player.
When all mobs have been killed, the trial spawner waits 40 ticks (2 seconds). Then, every 30 ticks (1.5 seconds), it ejects random items from the loot table. It does this for every detected player. It has a 50% chance of picking a trial key, in which case it drops for all players. The other 50% of the time it drops one of the other items for each player.
{{LootChest|trial-chambers-trial-spawner}}
{{MC/LootChest|trial-chambers-trial-spawner}}


=== Ominous trial ===
=== Ominous trial ===
{{main|Ominous Trial Spawner}}
{{MC/Main|Ominous Trial Spawner}}
A player with Bad Omen that is within the activation range of a trial spawner is given the Trial Omen effect, starting an ominous trial. During an ominous trial, trial spawners near a player with Trial Omen are converted into ominous trial spawners. When a trial spawner becomes ominous, all of its existing mobs are despawned. If the trial spawner was on cooldown and was not ominous before going on cooldown, the cooldown is skipped when becoming ominous.
A player with Bad Omen that is within the activation range of a trial spawner is given the Trial Omen effect, starting an ominous trial. During an ominous trial, trial spawners near a player with Trial Omen are converted into ominous trial spawners. When a trial spawner becomes ominous, all of its existing mobs are despawned. If the trial spawner was on cooldown and was not ominous before going on cooldown, the cooldown is skipped when becoming ominous.


Line 139: Line 139:
== Sounds ==
== Sounds ==
=== Generic ===
=== Generic ===
{{Sound table/Block/Trial spawner}}
{{MC/Sound table/Block/Trial spawner}}


=== Unique ===
=== Unique ===
{{JE}}
{{MC/JE}}
{{SoundTable
{{SoundTable
| type = java
| type = java
Line 227: Line 227:
}}
}}


{{BE}}:
{{MC/BE}}:
{{SoundTable
{{SoundTable
| type = bedrock
| type = bedrock
Line 293: Line 293:
== Data values ==
== Data values ==
=== ID ===
=== ID ===
{{JE}}:
{{MC/JE}}:
{{ID table
{{ID table
|edition=java
|edition=java
Line 309: Line 309:
|foot=1}}
|foot=1}}


{{BE}}:
{{MC/BE}}:
{{ID table
{{ID table
|edition=bedrock
|edition=bedrock
Line 329: Line 329:


=== Block states ===
=== Block states ===
{{See also|Block states}}
{{MC/See also|Block states}}


{{JE}}:
{{MC/JE}}:
{{bst|ominous|false
{{bst|ominous|false
|false,true|Controls whether this trial spawner is an ominous trial spawner.}}
|false,true|Controls whether this trial spawner is an ominous trial spawner.}}
Line 342: Line 342:
|waiting_for_reward_ejection|Prior to reward ejection.|foot=1}}
|waiting_for_reward_ejection|Prior to reward ejection.|foot=1}}


{{BE}}:
{{MC/BE}}:
{{bst|showaux=1|bits=|ominous|false|false,true|Controls whether this trial spawner is an ominous trial spawner.|Unsupported}}
{{bst|showaux=1|bits=|ominous|false|false,true|Controls whether this trial spawner is an ominous trial spawner.|Unsupported}}
{{bst|trial_spawner_state|0
{{bst|trial_spawner_state|0
Line 355: Line 355:
A trial spawner has a block entity associated with it that holds additional data about the block.
A trial spawner has a block entity associated with it that holds additional data about the block.


{{JE}}:
{{MC/JE}}:
{{see also|Block entity format}}
{{MC/See also|Block entity format}}
<section begin="block data" /><div class="treeview">
<section begin="block data" /><div class="treeview">
*{{nbt|compound}} Block entity data
*{{MC/Nbt|compound}} Block entity data
** {{nbt inherit/blockentity}}
** {{MC/Nbt inherit/blockentity}}
** {{nbt|int|required_player_range}}: Between 1 and 128. Defaults to 14. &mdash; Maximum distance in blocks for players to join the battle.
** {{MC/Nbt|int|required_player_range}}: Between 1 and 128. Defaults to 14. &mdash; Maximum distance in blocks for players to join the battle.
** {{nbt|int|target_cooldown_length}}: Defaults to 36000. &mdash; Time in ticks of the cooldown period. Includes the time spent ejecting rewards.
** {{MC/Nbt|int|target_cooldown_length}}: Defaults to 36000. &mdash; Time in ticks of the cooldown period. Includes the time spent ejecting rewards.
** {{nbt|string}}{{nbt|compound|normal_config}}: (optional) {{json ref|trial spawner configuration|inline=1}} &mdash; The configuration to use when not ominous.
** {{MC/Nbt|string}}{{MC/Nbt|compound|normal_config}}: (optional) {{MC/Json ref|trial spawner configuration|inline=1}} &mdash; The configuration to use when not ominous.
*** {{nbt_inherit/trial_spawner_config}}
*** {{nbt_inherit/trial_spawner_config}}
** {{nbt|string}}{{nbt|compound|ominous_config}}: (optional) {{json ref|trial spawner configuration|inline=1}} &mdash; &mdash; The configuration to use when ominous.
** {{MC/Nbt|string}}{{MC/Nbt|compound|ominous_config}}: (optional) {{MC/Json ref|trial spawner configuration|inline=1}} &mdash; &mdash; The configuration to use when ominous.
*** {{nbt_inherit/trial_spawner_config}}
*** {{nbt_inherit/trial_spawner_config}}
**; The following fields are used to keep track of the current state of the trial spawner.
**; The following fields are used to keep track of the current state of the trial spawner.
** {{nbt|list|registered_players}}: A set of player UUIDs. &mdash; All the players that have joined the battle. The length of this array determines the amount of mobs and amount of rewards.
** {{MC/Nbt|list|registered_players}}: A set of player UUIDs. &mdash; All the players that have joined the battle. The length of this array determines the amount of mobs and amount of rewards.
*** {{nbt|int-array}}: A UUID.
*** {{MC/Nbt|int-array}}: A UUID.
** {{nbt|list|current_mobs}}: A set of mob UUIDs. &mdash; The mobs that were spawned by this spawner and are still alive.
** {{MC/Nbt|list|current_mobs}}: A set of mob UUIDs. &mdash; The mobs that were spawned by this spawner and are still alive.
*** {{nbt|int-array}}: A UUID.
*** {{MC/Nbt|int-array}}: A UUID.
** {{nbt|long|cooldown_ends_at}}: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
** {{MC/Nbt|long|cooldown_ends_at}}: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
** {{nbt|long|next_mob_spawns_at}}: Gametime in ticks when the next spawn attempt happens. 0 if not currently active.
** {{MC/Nbt|long|next_mob_spawns_at}}: Gametime in ticks when the next spawn attempt happens. 0 if not currently active.
** {{nbt|int|total_mobs_spawned}}: The total amount of mobs that have already been spawned in this cycle. 0 if not currently active.
** {{MC/Nbt|int|total_mobs_spawned}}: The total amount of mobs that have already been spawned in this cycle. 0 if not currently active.
** {{nbt|compound|spawn_data}}: The next mob to attempt to spawn. Selected from {{nbt|list|spawn_potentials}} after the last attempt. Determines the mob displayed in the spawner.
** {{MC/Nbt|compound|spawn_data}}: The next mob to attempt to spawn. Selected from {{MC/Nbt|list|spawn_potentials}} after the last attempt. Determines the mob displayed in the spawner.
*** {{nbt_inherit/spawn_data}}
*** {{nbt_inherit/spawn_data}}
** {{nbt|string|ejecting_loot_table}}: A resource location to the loot table that is given as a reward. Unset if not currently giving rewards. Selected from {{nbt|list|loot_tables_to_eject}} after all mobs are defeated.
** {{MC/Nbt|string|ejecting_loot_table}}: A resource location to the loot table that is given as a reward. Unset if not currently giving rewards. Selected from {{MC/Nbt|list|loot_tables_to_eject}} after all mobs are defeated.
</div><section end="block data" />
</div><section end="block data" />


{{BE}}:
{{MC/BE}}:
: See [[Minecraft:Bedrock Edition level format/Block entity format]].
: See [[Minecraft:Bedrock Edition level format/Block entity format]].


==Advancements==
==Advancements==
{{load advancements|How Did We Get Here?}}
{{MC/Load advancements|How Did We Get Here?}}


== Videos ==
== Videos ==
{{yt|FpE6q0nvVjA}}
{{MC/Yt|FpE6q0nvVjA}}


== History ==
== History ==
=== Announcement ===
=== Announcement ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine||October 15, 2023|link=https://www.youtube.com/watch?v=DnY5xz11lR0&ab_channel=Minecraft|[[File:Trial Spawner (pre-release).png|32px]] [[File:Active Trial Spawner (pre-release).png|32px]] [[File:Ejecting Trial Spawner (pre-release).png|32px]]  Trial spawners are announced at Minecraft Live 2023.}}
|{{MC/HistoryLine||October 15, 2023|link=https://www.youtube.com/watch?v=DnY5xz11lR0&ab_channel=Minecraft|[[File:Trial Spawner (pre-release).png|32px]] [[File:Active Trial Spawner (pre-release).png|32px]] [[File:Ejecting Trial Spawner (pre-release).png|32px]]  Trial spawners are announced at Minecraft Live 2023.}}
}}
}}


=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{MC/HistoryLine|java}}
|{{HistoryLine||1.20.3|exp=Update 1.21|dev=23w45a|[[File:Trial Spawner JE1 BE1.png|32px]] [[File:Active Trial Spawner JE1 BE1.png|32px]] [[File:Ejecting Trial Spawner JE1 BE1.png|32px]] Added trial spawners.}}
|{{MC/HistoryLine||1.20.3|exp=Update 1.21|dev=23w45a|[[File:Trial Spawner JE1 BE1.png|32px]] [[File:Active Trial Spawner JE1 BE1.png|32px]] [[File:Ejecting Trial Spawner JE1 BE1.png|32px]] Added trial spawners.}}
|{{HistoryLine||1.20.5|exp=Update 1.21|dev=24w04a|No longer ignores the <code>custom_spawn_rules</code> data field.}}
|{{MC/HistoryLine||1.20.5|exp=Update 1.21|dev=24w04a|No longer ignores the <code>custom_spawn_rules</code> data field.}}
|{{HistoryLine|||dev=24w11a|Now appears more frequently in the trial chambers corridors.}}
|{{MC/HistoryLine|||dev=24w11a|Now appears more frequently in the trial chambers corridors.}}
|{{HistoryLine|||dev=24w13a|Can now become an ominous trial spawner if the player who activates it has trial omen.
|{{MC/HistoryLine|||dev=24w13a|Can now become an ominous trial spawner if the player who activates it has trial omen.
|The ejected loot table has been modified.
|The ejected loot table has been modified.
|Now increase the amount of mobs present at once by 0.5 for each additional player instead of 2.
|Now increase the amount of mobs present at once by 0.5 for each additional player instead of 2.
Line 406: Line 406:
|Can now activate only when a player is in line of sight.
|Can now activate only when a player is in line of sight.
}}
}}
|{{HistoryLine|||dev=pre1|[[File:Trial Spawner JE2.png|32px]] [[File:Active Trial Spawner JE2.png|32px]] [[File:Ejecting Trial Spawner JE2.png|32px]] Updated textures to match ominous trial spawners.}}
|{{MC/HistoryLine|||dev=pre1|[[File:Trial Spawner JE2.png|32px]] [[File:Active Trial Spawner JE2.png|32px]] [[File:Ejecting Trial Spawner JE2.png|32px]] Updated textures to match ominous trial spawners.}}
|{{HistoryLine||1.21|dev=24w18a|Trial spawners are now available without using the "Update 1.21" experimental data pack.}}
|{{MC/HistoryLine||1.21|dev=24w18a|Trial spawners are now available without using the "Update 1.21" experimental data pack.}}
|{{HistoryLine|||dev=24w19a|[[File:Trial Spawner JE3.png|32px]] [[File:Active Trial Spawner JE3.png|32px]] [[File:Ejecting Trial Spawner JE3.png|32px]] Updated textures to be more consistent across all states as well as the ominous trial spawner.}}
|{{MC/HistoryLine|||dev=24w19a|[[File:Trial Spawner JE3.png|32px]] [[File:Active Trial Spawner JE3.png|32px]] [[File:Ejecting Trial Spawner JE3.png|32px]] Updated textures to be more consistent across all states as well as the ominous trial spawner.}}
|{{HistoryLine|||dev=pre2|[[File:Trial Spawner JE4 BE3.png|32px]] [[File:Active Trial Spawner JE4 BE3.png|32px]] [[File:Ejecting Trial Spawner JE4 BE3.png|32px]] Updated bottom texture to match Bedrock Edition.}}
|{{MC/HistoryLine|||dev=pre2|[[File:Trial Spawner JE4 BE3.png|32px]] [[File:Active Trial Spawner JE4 BE3.png|32px]] [[File:Ejecting Trial Spawner JE4 BE3.png|32px]] Updated bottom texture to match Bedrock Edition.}}
}}
}}


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.20.60|exp=Update 1.21|dev=Preview 1.20.60.20|[[File:Trial Spawner JE1 BE1.png|32px]] [[File:Active Trial Spawner JE1 BE1.png|32px]] [[File:Ejecting Trial Spawner JE1 BE1.png|32px]] Added trial spawners.}}
|{{MC/HistoryLine||1.20.60|exp=Update 1.21|dev=Preview 1.20.60.20|[[File:Trial Spawner JE1 BE1.png|32px]] [[File:Active Trial Spawner JE1 BE1.png|32px]] [[File:Ejecting Trial Spawner JE1 BE1.png|32px]] Added trial spawners.}}
|{{HistoryLine||1.21.0|exp=Update 1.21|dev=Preview 1.21.0.20|Can now become an ominous trial spawner if the player who activates it has trial omen.
|{{MC/HistoryLine||1.21.0|exp=Update 1.21|dev=Preview 1.21.0.20|Can now become an ominous trial spawner if the player who activates it has trial omen.
|Can now activate only when a player is in line of sight.}}
|Can now activate only when a player is in line of sight.}}
|{{HistoryLine||1.21.0|dev=Preview 1.21.0.22|Trial spawners are now available without using the "Update 1.21" experimental toggle.|[[File:Trial Spawner BE2.png|32px]] [[File:Active Trial Spawner BE2.png|32px]] [[File:Ejecting Trial Spawner BE2.png|32px]] Updated textures to match ominous trial spawners as well as introduce a new design for the bottom face.}}
|{{MC/HistoryLine||1.21.0|dev=Preview 1.21.0.22|Trial spawners are now available without using the "Update 1.21" experimental toggle.|[[File:Trial Spawner BE2.png|32px]] [[File:Active Trial Spawner BE2.png|32px]] [[File:Ejecting Trial Spawner BE2.png|32px]] Updated textures to match ominous trial spawners as well as introduce a new design for the bottom face.}}
|{{HistoryLine||1.21.20|dev=Preview 1.21.10.20|[[File:Trial Spawner JE4 BE3.png|32px]] [[File:Active Trial Spawner JE4 BE3.png|32px]] [[File:Ejecting Trial Spawner JE4 BE3.png|32px]] Updated textures to be more consistent across all states as well as the ominous trial spawner.}}
|{{MC/HistoryLine||1.21.20|dev=Preview 1.21.10.20|[[File:Trial Spawner JE4 BE3.png|32px]] [[File:Active Trial Spawner JE4 BE3.png|32px]] [[File:Ejecting Trial Spawner JE4 BE3.png|32px]] Updated textures to be more consistent across all states as well as the ominous trial spawner.}}
|{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Trial spawner collision size is now a full block.<ref>{{bug|MCPE-178305}}</ref>}}
|{{HistoryLine||1.21.30|dev=Preview 1.21.30.22|Trial spawner collision size is now a full block.<ref>{{bug|MCPE-178305}}</ref>}}
}}
}}


== Issues ==
== Issues ==
{{issue list}}
{{MC/Issue list}}


== Trivia ==
== Trivia ==
* Trial spawners placed by hand have both <code>spawn_potentials</code> and <code>spawn_data</code> data. Right clicking a trial spawner with a spawn egg changes its <code>spawn_data</code>. Changing its <code>spawn_potentials</code> without removing its <code>spawn_data</code> causes the trial spawner to stop functioning.
* Trial spawners placed by hand have both <code>spawn_potentials</code> and <code>spawn_data</code> data. Right clicking a trial spawner with a spawn egg changes its <code>spawn_data</code>. Changing its <code>spawn_potentials</code> without removing its <code>spawn_data</code> causes the trial spawner to stop functioning.
* If there are multiple entities listed within the <code>spawn_potentials</code> data of a trial spawner, the icon displayed by a trial spawner reflects the next entity to be spawned.
* If there are multiple entities listed within the <code>spawn_potentials</code> data of a trial spawner, the icon displayed by a trial spawner reflects the next entity to be spawned.
* The line of sight check for trial spawners was implemented to prevent mobs from spawning outside of the room, or outside trial chambers' structure, such as inside caves.<ref>{{ytl|bBr8BBrk1v8|ALL ABOUT THE TRIAL CHAMBERS|Minecraft|t=166s}}</ref>
* The line of sight check for trial spawners was implemented to prevent mobs from spawning outside of the room, or outside trial chambers' structure, such as inside caves.<ref>{{MC/Ytl|bBr8BBrk1v8|ALL ABOUT THE TRIAL CHAMBERS|Minecraft|t=166s}}</ref>
* Trial spawners can still eject their loot, even if all mobs they spawned were not defeated but rather converted as listed below:
* Trial spawners can still eject their loot, even if all mobs they spawned were not defeated but rather converted as listed below:
** [[Minecraft:Pig]]s and [[Minecraft:villager]]s converting to zombified piglins and [[Minecraft:witch]]es respectively when struck by lightning.
** [[Minecraft:Pig]]s and [[Minecraft:villager]]s converting to zombified piglins and [[Minecraft:witch]]es respectively when struck by lightning.
Line 471: Line 471:


== References ==
== References ==
{{reflist}}
{{MC/Reflist}}


== External links ==
== External links ==
Line 477: Line 477:


== Navigation ==
== Navigation ==
{{Navbox blocks|utility}}
{{MC/Navbox blocks|utility}}


[[Category:Block entities]]
[[Category:Block entities]]

Revision as of 21:04, 9 April 2026

Template:Infobox block A trial spawner is a type of spawner found in trial chambers. It spawns Minecraft:mobs in waves, ejects consumable items and/or trial keys after they are all defeated, and then deactivates for 30 minutes. Having more Survival/Adventure mode players nearby results in more mobs and more rewards.

A trial spawner will convert into an active ominous trial spawner during an ominous trial, even if it was on cooldown.

Obtaining

Trial spawner can be obtained only by using the Minecraft:Creative inventory, using {{#vardefine: control | middle click on mouse }}pick block or executing Minecraft:commands.

Natural generation

Trial spawners generate naturally in every chamber and every corridor of trial chambers, except for the entrance chamber.

Breaking

No tool can accelerate the breaking process of trial spawner. Script error: No such module "breaking row". Trial spawner drops nothing when it's destroyed.

Usage

A trial spawner summons a limited number of mobs, scaled based on the number of nearby players. When these mobs are defeated, the spawner ejects a reward for each player and enters a cooldown period.

Activation

A trial spawner has a required player range of 14 blocks. Any player in Survival or Adventure mode activates the spawner if the distance between the player's center and the spawner's center becomes less than the required player range, and the spawner has a direct line of sight to the player. Once activated, the spawner begins summoning copies of the mob set in it, and no longer requires the player to be within range or maintain line of sight.

The line of sight check for trial spawners can pass through transparent solid blocks, such as copper grates and Minecraft:glass. This differs from the line of sight check for hostile mobs, which cannot pass through these blocks.

Trial spawners do not activate if the game rule

  1. REDIRECT Template:Code

Template:Redr is

  1. REDIRECT Template:Code

Template:Redr,<ref>Template:Bug</ref> or if the difficulty is set to Peaceful.<ref>Template:Bug</ref>

When a trial spawner first activates, it shoots spark-like particles up into the air. While active, it emits smoke and flame particles around itself and any entities it summons.

The light level around a trial spawner does not affect how it summons entities.

Mob spawning

File:Spawn Radius.png
Chance to Spawn🟩 70% 🟨 25% 🟧 5% 🟥 0%
File:Mobs Spawning From Trial Spawner.gif
A breeze and two skeletons spawning from their respective trial spawners.

{{#vardefine:params|0 }}Template:Hatnote

When a player enters a trial spawner's range, the spawner attempts to spawn 1 mob every Script error: No such module "convert".. With 1 player, it does not spawn a mob if there are already 2 mobs from the spawner that are still alive. It spawns a total of 6 mobs before ejecting loot and going into cooldown. The number of living mobs required to prevent further mob spawning is called the simultaneous mob count. The number of mobs spawned before going into cooldown is the total mob count. These numbers are summarized in Template:Slink.

This duration of time between each mob being spawned is the spawn interval. If the spawner can't spawn a mob, it waits for the duration of the spawn interval and tries again. Once the number of living mobs spawned by the spawner has reached the simultaneous mob count, it stops trying to spawn mobs. Mobs spawned by the spawner do not naturally despawn, but the spawner does not detect or count living mobs from unloaded chunks. Therefore, moving mobs into unloaded chunks causes them to build up and the spawner to continue spawning more.

A trial spawner also stops spawning mobs if the number of living mobs spawned by it reached the total mob count. The spawner doesn't need to detect these mobs being alive, and therefore still counts them if they are in unloaded chunks. The spawner detects the death of the mobs only for the total mob count, and it always detects the death of the mobs even if it is not in a loaded chunk.

Both the simultaneous mob count and the total mob count increase if another player comes within the spawner's range. For each additional player present, the simultaneous mob count increases by 1, and the total mob count increases by 2. For example, with 2 players, 8 mobs spawn in total with 3 at once, and with 3 players, 10 mobs spawn in total with 4 at once.

If a player leaves the detection range of a trial spawner, these values do not scale back down.

The values described above are the default values used when trial spawners are placed manually. Naturally generated spawners in trial chambers use different values. Additionally, these numbers can be configured by modifying the block's NBT data.

Naturally generating trial spawners in trial chambers use different values for the spawn interval, the total mob count, and the simultaneous mob count. The quantity that the last 2 values change by with additional players is also different for different types of spawners. All naturally generated spawners attempt to spawn mobs every Script error: No such module "convert"., or every Script error: No such module "convert". for the slow versions of the spawners. Additionally, naturally generated breeze spawners allow 1 breeze to exist at once (+0.5 for each additional player present) and stop after spawning 2 mobs (+1 for each additional player present). Baby zombie spawners allow 2 baby zombies to exist at once (+0.5 for each additional player present) and stop after spawning 6 mobs (+2 for each additional player present). All other spawners generated in trial chambers use the default value of 6 total mobs, plus 2 for each additional player present, and 3 simultaneous mobs, plus 2 for each additional player present. This is summarized in Template:Slink.

Spawning values

Type Spawn interval Total mobs (base) Total mobs added per player Simultaneous mobs (base) Simultaneous mobs added per player
Default values Script error: No such module "convert". 6 2 2 1
Breeze Script error: No such module "convert". 2 1 1 0.5
Baby zombie Script error: No such module "convert". Default Default Default 0.5
All others in trial chambers Script error: No such module "convert". Default Default 3 0.5
Slow versions (those that appear in chamber_8) Script error: No such module "convert". Default Default 4 2

Mobs spawn in positions that have a line of sight to the trial spawner, in a 4-block spherical radius. This is different from the monster spawner, which has a larger, rectangular spawning box, and no line-of-sight requirement. Otherwise, the standard mob spawning rules apply (mobs cannot collide with blocks, guardians and elder guardians spawn only in water, etc.)

Completion

All mobs spawned by a trial spawner must be defeated before the trial spawner can eject loot. A mob is considered defeated when it is killed, enters a block (in the case of silverfish), enters another Minecraft:dimension, or transforms into another entity (excepting for creepers transforming into charged creepers; the charged creepers must be defeated before the trial spawner is completed).

If a mob spawns more mobs upon death, only the initial mob must be defeated to cause the spawner to eject loot (i.e. slimes and magma cubes).

Cooldown

Upon completion, a trial spawner enters a cooldown state for Script error: No such module "convert". before it can be activated again. The cooldown timer decreases even if the trial spawner is unloaded.<ref>Template:Bug</ref>

Custom trial spawners

{{#vardefine: control | right click on mouse or left trigger on gamepad }}Using a spawn egg on a trial spawner sets the trial spawner's type to that egg's entity.

Trial spawners placed by players have the same loot data as those found in trial chambers. However, if it becomes an ominous trial spawner it will keep its same loot and will not update to use the Ominous loot.

Loot

When all mobs have been killed, the trial spawner waits 40 ticks (2 seconds). Then, every 30 ticks (1.5 seconds), it ejects random items from the loot table. It does this for every detected player. It has a 50% chance of picking a trial key, in which case it drops for all players. The other 50% of the time it drops one of the other items for each player. Script error: No such module "lootChest".

Ominous trial

{{#vardefine:params|0 }}Template:Hatnote A player with Bad Omen that is within the activation range of a trial spawner is given the Trial Omen effect, starting an ominous trial. During an ominous trial, trial spawners near a player with Trial Omen are converted into ominous trial spawners. When a trial spawner becomes ominous, all of its existing mobs are despawned. If the trial spawner was on cooldown and was not ominous before going on cooldown, the cooldown is skipped when becoming ominous.

Piston interactivity

Trial spawner can't be pushed by Minecraft:pistons or pulled by sticky pistons.

Sounds

Generic

Template:Edition: Template:Sound table/Block/Trial spawner/JE

Template:Edition: Template:Sound table/Block/Trial spawner/BE

Unique

Java Edition Template:SoundTable

Bedrock Edition: Template:SoundTable

Data values

ID

Java Edition: Template:ID table Template:ID table

Bedrock Edition: Template:ID table Template:ID table

Block states

{{#vardefine:params|0 }}Template:Hatnote

Java Edition: Template:Bst Template:Bst

Bedrock Edition: Template:Bst Template:Bst

Block data

A trial spawner has a block entity associated with it that holds additional data about the block.

Java Edition: {{#vardefine:params|0 }}Template:Hatnote

<section begin="block data" />

<section end="block data" />

Bedrock Edition:

See Minecraft:Bedrock Edition level format/Block entity format.

Advancements

Script error: No such module "Advancement".

Videos

  1. REDIRECT Template:YouTube

Template:Redr

History

Announcement

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Script error: No such module "Issue list".

Trivia

  • Trial spawners placed by hand have both spawn_potentials and spawn_data data. Right clicking a trial spawner with a spawn egg changes its spawn_data. Changing its spawn_potentials without removing its spawn_data causes the trial spawner to stop functioning.
  • If there are multiple entities listed within the spawn_potentials data of a trial spawner, the icon displayed by a trial spawner reflects the next entity to be spawned.
  • The line of sight check for trial spawners was implemented to prevent mobs from spawning outside of the room, or outside trial chambers' structure, such as inside caves.<ref>
  1. redirect Template:YouTube link

Template:Redr</ref>

Gallery

Renders

Development images

In other media

See also

References

<references group="">

 </references>

External links

Navigation

Wood/Hypha
Stone-based
Template:EnvLink
Upcoming
Template:EnvLink
Template:EnvLink
Ore/Mineral
Decorative
Partial Blocks
Dyeable/Dyed
Lighting
Template:Els only
Sediment/Soil
Misc. rock
Ore/Mineral
Plant
Flower
Fungus & Related
Fauna & Related
Aquatic
Sculk
Fluid & Related
Non-physical
Interactable
Utilizable
Redstone/
Mechanical
Template:Els only
April Fools 2013
April Fools 2016
April Fools 2020
April Fools 2022
April Fools 2023
April Fools 2024
April Fools 2025
April Fools 2026

Template:Article otherTemplate:Article other

de:Prüfungs-Spawner es:Generador de desafío fr:Générateur des épreuves ja:試練のスポナー ko:시련 생성기 pl:Przyzywacz prób pt:Gerador do Desafio ru:Спаунер испытаний uk:Породжувач випробувань zh:试炼刷怪笼