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)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
Line 18: Line 18:
| lavasusceptible = No
| lavasusceptible = No
}}
}}
A '''trial spawner''' is a type of spawner found in trial chambers. It spawns [[Minecraft:mob]]s 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''' is a type of [[Minecraft:spawner]] found in [[Minecraft:trial chambers]]. It spawns [[Minecraft:mob]]s in waves, ejects consumable items and/or [[Minecraft:trial keys]] after they are all defeated, and then deactivates for 30 minutes. Having more [[Minecraft:Survival]]/[[Minecraft:Adventure]] mode [[Minecraft:player]]s 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.
A trial spawner will convert into an active [[Minecraft:ominous trial spawner]] during an [[Minecraft:ominous trial]], even if it was on cooldown.


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


=== Natural generation ===
=== Natural generation ===
Trial spawners generate naturally in every chamber and every corridor of trial chambers, except for the entrance chamber.
Trial spawners generate naturally in every chamber and every corridor of [[Minecraft:trial chambers]], except for the entrance chamber.


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


== Usage ==
== 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.
A trial spawner summons a limited number of mobs, scaled based on the number of nearby [[Minecraft:player]]s. When these mobs are defeated, the spawner ejects a reward for each player and enters a cooldown period.


=== Activation ===
=== 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.
A trial spawner has a required player range of 14 blocks. Any player in Survival or Adventure mode activates the spawner if the [[Minecraft: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.
The line of sight check for trial spawners can pass through transparent solid blocks, such as [[Minecraft:copper grate]]s 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 {{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>
Trial spawners do not activate if the [[Minecraft:game rule]] {{gmr|spawn_mobs|domobspawning}} is {{cd|false}},<ref>{{bug|MC-266487||Trial Spawners do not activate/spawn mobs if gamerule "doMobSpawning" is set to "false"}}</ref>{{verify|edition=be}} or if the difficulty is set to [[Minecraft:Peaceful]].<ref>{{bug|MC-278006||Trial spawners never try to spawn mobs in peaceful difficulty}}</ref>{{verify|edition=be}}


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 [[Minecraft: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.
The [[Minecraft:light level]] around a trial spawner does not affect how it summons entities.


=== Mob spawning ===
=== Mob spawning ===
[[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 [[Minecraft:skeleton]]s spawning from their respective trial spawners.]]
{{MC/See also|Trial Chambers#Trial spawners}}
{{See also|Trial Chambers#Trial spawners}}


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}}.
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}}.


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 [[Minecraft:chunk]]s. 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.
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.
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 {{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}}.
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}}.


==== Spawning values ====
==== Spawning values ====
Line 76: Line 76:
|-
|-
| ''Default values''
| ''Default values''
| {{MC/Convert|40|game ticks|seconds}}
| {{convert|40|game ticks|seconds}}
| 6
| 6
| 2
| 2
Line 83: Line 83:
|-
|-
| Breeze
| Breeze
| {{MC/Convert|20|game ticks|seconds}}
| {{convert|20|game ticks|seconds}}
| 2
| 2
| 1
| 1
Line 90: Line 90:
|-
|-
|Baby zombie
|Baby zombie
|{{MC/Convert|20|game ticks|seconds}}
|{{convert|20|game ticks|seconds}}
|Default
|Default
|Default
|Default
Line 97: Line 97:
|-
|-
| All others in trial chambers
| All others in trial chambers
| {{MC/Convert|20|game ticks|seconds}}
| {{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>)
| {{MC/Convert|160|game ticks|seconds}}
| {{convert|160|game ticks|seconds}}
| Default
| Default
| Default
| Default
Line 111: Line 111:
|}
|}


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.)
Mobs spawn in positions that have a line of sight to the trial spawner, in a 4-block [[Minecraft:Euclidian distance|spherical radius]]. This is different from the [[Minecraft: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 ===
=== Completion ===
Line 119: Line 119:


==== Cooldown ====
==== Cooldown ====
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>
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>


=== Custom trial spawners ===
=== Custom trial spawners ===
{{MC/Control|Using}} a spawn egg on a trial spawner sets the trial spawner's type to that egg's entity.
{{control|Using}} a [[Minecraft: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 [[Minecraft:ominous trial spawner]] it will keep its same loot and will not update to use the Ominous loot.


=== 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 [[Minecraft: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.
{{MC/LootChest|trial-chambers-trial-spawner}}
{{LootChest|trial-chambers-trial-spawner}}


=== Ominous trial ===
=== Ominous trial ===
{{MC/Main|Ominous Trial Spawner}}
{{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 [[Minecraft:Bad Omen]] that is within the activation range of a trial spawner is given the [[Minecraft:Trial Omen]] effect, starting an [[Minecraft:ominous trial]]. During an ominous trial, trial spawners near a player with Trial Omen are converted into [[Minecraft:ominous trial spawner]]s. 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 ===
=== Piston interactivity ===
Trial spawner can't be pushed by [[Minecraft:piston]]s or pulled by sticky pistons.
Trial spawner can't be pushed by [[Minecraft:piston]]s or pulled by [[Minecraft:sticky piston]]s.


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


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


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


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


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


{{MC/JE}}:
{{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 [[Minecraft:ominous trial spawner]].}}
{{bst|trial_spawner_state|inactive
{{bst|trial_spawner_state|inactive
|active|When the spawner is active.
|active|When the spawner is active.
Line 342: Line 342:
|waiting_for_reward_ejection|Prior to reward ejection.|foot=1}}
|waiting_for_reward_ejection|Prior to reward ejection.|foot=1}}


{{MC/BE}}:
{{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 [[Minecraft:ominous trial spawner]].|Unsupported}}
{{bst|trial_spawner_state|0
{{bst|trial_spawner_state|0
|0|When no mob is set.|Unsupported
|0|When no mob is set.|Unsupported
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.


{{MC/JE}}:
{{JE}}:
{{MC/See also|Block entity format}}
{{see also|Block entity format}}
<section begin="block data" /><div class="treeview">
<section begin="block data" /><div class="treeview">
*{{MC/Nbt|compound}} Block entity data
*{{nbt|compound}} Block entity data
** {{MC/Nbt inherit/blockentity}}
** {{nbt inherit/blockentity}}
** {{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|required_player_range}}: Between 1 and 128. Defaults to 14. &mdash; Maximum distance in blocks for players to join the battle.
** {{MC/Nbt|int|target_cooldown_length}}: Defaults to 36000. &mdash; Time in ticks of the cooldown period. Includes the time spent ejecting rewards.
** {{nbt|int|target_cooldown_length}}: Defaults to 36000. &mdash; Time in ticks of the cooldown period. Includes the time spent ejecting rewards.
** {{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|string}}{{nbt|compound|normal_config}}: (optional) {{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}}
** {{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|string}}{{nbt|compound|ominous_config}}: (optional) {{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.
** {{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|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|int-array}}: A UUID.
*** {{nbt|int-array}}: A UUID.
** {{MC/Nbt|list|current_mobs}}: A set of mob UUIDs. &mdash; The mobs that were spawned by this spawner and are still alive.
** {{nbt|list|current_mobs}}: A set of mob UUIDs. &mdash; The mobs that were spawned by this spawner and are still alive.
*** {{MC/Nbt|int-array}}: A UUID.
*** {{nbt|int-array}}: A UUID.
** {{MC/Nbt|long|cooldown_ends_at}}: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
** {{nbt|long|cooldown_ends_at}}: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
** {{MC/Nbt|long|next_mob_spawns_at}}: Gametime in ticks when the next spawn attempt happens. 0 if not currently active.
** {{nbt|long|next_mob_spawns_at}}: Gametime in ticks when the next spawn attempt happens. 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|int|total_mobs_spawned}}: The total amount of mobs that have already been spawned in this cycle. 0 if not currently active.
** {{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|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.
*** {{nbt_inherit/spawn_data}}
*** {{nbt_inherit/spawn_data}}
** {{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.
** {{nbt|string|ejecting_loot_table}}: A resource location to the [[Minecraft: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.
</div><section end="block data" />
</div><section end="block data" />


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


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


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


== History ==
== History ==
=== Announcement ===
=== Announcement ===
{{HistoryTable
{{HistoryTable
|{{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.}}
|{{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:Minecraft Live 2023]].}}
}}
}}


=== ''Java Edition'' ===
=== ''Java Edition'' ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|java}}
|{{HistoryLine|java}}
|{{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.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.5|exp=Update 1.21|dev=24w04a|No longer ignores the <code>custom_spawn_rules</code> data field.}}
|{{HistoryLine||1.20.5|exp=Update 1.21|dev=24w04a|No longer ignores the <code>custom_spawn_rules</code> data field.}}
|{{MC/HistoryLine|||dev=24w11a|Now appears more frequently in the trial chambers corridors.}}
|{{HistoryLine|||dev=24w11a|Now appears more frequently in the [[Minecraft:trial chambers]] corridors.}}
|{{MC/HistoryLine|||dev=24w13a|Can now become an ominous trial spawner if the player who activates it has trial omen.
|{{HistoryLine|||dev=24w13a|Can now become an [[Minecraft:ominous trial spawner]] if the player who activates it has [[Minecraft: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.
}}
}}
|{{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|||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 [[Minecraft:ominous trial spawner]]s.}}
|{{MC/HistoryLine||1.21|dev=24w18a|Trial spawners are now available without using the "Update 1.21" experimental data pack.}}
|{{HistoryLine||1.21|dev=24w18a|Trial spawners are now available without using the "Update 1.21" experimental data pack.}}
|{{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=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 [[Minecraft:ominous trial spawner]].}}
|{{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.}}
|{{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
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{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.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.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.
|{{HistoryLine||1.21.0|exp=Update 1.21|dev=Preview 1.21.0.20|Can now become an [[Minecraft:ominous trial spawner]] if the player who activates it has [[Minecraft: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.}}
|{{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.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 [[Minecraft:ominous trial spawner]]s as well as introduce a new design for the bottom face.}}
|{{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.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 [[Minecraft: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 ==
{{MC/Issue list}}
{{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>{{MC/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>{{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 [[Minecraft:zombified piglin]]s and [[Minecraft:witch]]es respectively when struck by [[Minecraft:lightning]].
** [[Minecraft:Piglin]]s, piglin brutes and hoglins converting to zombified piglins and zoglins when outside of [[Minecraft:the Nether]] for 15 seconds.
** [[Minecraft:Piglin]]s, [[Minecraft:piglin brute]]s and [[Minecraft:hoglin]]s converting to [[Minecraft:zombified piglin]]s and [[Minecraft:zoglin]]s when outside of [[Minecraft:the Nether]] for 15 seconds.
** Skeletons converting into strays when they freeze.
** [[Minecraft:Skeleton]]s converting into [[Minecraft:stray]]s when they freeze.
** [[Minecraft:Husk]]s and [[Minecraft:zombie]]s converting into [[Minecraft:zombie]]s and drowneds when submerged in water for too long.
** [[Minecraft:Husk]]s and [[Minecraft:zombie]]s converting into [[Minecraft:zombie]]s and [[Minecraft:drowned]]s when submerged in water for too long.


== Gallery ==
== Gallery ==
=== Renders ===
=== Renders ===
<gallery>
<gallery>
Trial Chambers breeze.png|A breeze trial spawner
Trial Chambers breeze.png|A [[Minecraft:breeze]] trial spawner
Slime trial spawner.png|A slime trial spawner
Slime trial spawner.png|A [[Minecraft:slime]] trial spawner
Zombie trial spawner.png|A [[Minecraft:zombie]] trial spawner
Zombie trial spawner.png|A [[Minecraft:zombie]] trial spawner
Baby zombie trial spawner.png|A baby zombie trial spawner
Baby zombie trial spawner.png|A [[Minecraft:baby zombie]] trial spawner
Trial Chambers husk.png|A [[Minecraft:husk]] trial spawner
Trial Chambers husk.png|A [[Minecraft:husk]] trial spawner
Skeleton trial spawner.png|A skeleton trial spawner
Skeleton trial spawner.png|A [[Minecraft:skeleton]] trial spawner
Bogged trial spawner.png|A bogged trial spawner
Bogged trial spawner.png|A [[Minecraft:bogged]] trial spawner
Stray trial spawner.png|A stray trial spawner
Stray trial spawner.png|A [[Minecraft:stray]] trial spawner
Spider trial spawner.png|A spider trial spawner
Spider trial spawner.png|A [[Minecraft:spider]] trial spawner
Cave spider trial spawner.png|A cave spider trial spawner
Cave spider trial spawner.png|A [[Minecraft:cave spider]] trial spawner
Silverfish trial spawner.png|A silverfish trial spawner
Silverfish trial spawner.png|A [[Minecraft:silverfish]] trial spawner
</gallery>
</gallery>


Line 455: Line 455:
<gallery>
<gallery>
SpawnerParticles2.png|A trial spawner emitting particles upon activation
SpawnerParticles2.png|A trial spawner emitting particles upon activation
Trial Key First Image.jpg|A defeated breeze trial spawner
Trial Key First Image.jpg|A defeated [[Minecraft:breeze]] trial spawner
Breeze room.jpeg|A room with a breeze trial spawner in the middle
Breeze room.jpeg|A room with a [[Minecraft:breeze]] trial spawner in the middle
</gallery>
</gallery>


=== In other media ===
=== In other media ===
<gallery>
<gallery>
File:Looting Trial Spawner Artwork.jpg|Ari, Noor, and [[Minecraft:Efe]] looting a trial spawner and receiving trial keys.
File:Looting Trial Spawner Artwork.jpg|[[Minecraft:Ari]], [[Minecraft:Noor]], and [[Minecraft:Efe]] looting a trial spawner and receiving trial keys.
File:Spider trial spawner trailer.png|A spider trial spawner as it appears in the Tricky Trials Update Official Trailer.
File:Spider trial spawner trailer.png|A spider trial spawner as it appears in the [[Minecraft:Tricky Trials Update Official Trailer]].
File:Bogged trial spawner trailer.png|A bogged trial spawner activating before Efe, Kai, Makena, Steve, and Sunny.
File:Bogged trial spawner trailer.png|A bogged trial spawner activating before Efe, [[Minecraft:Kai]], [[Minecraft:Makena]], [[Minecraft:Steve]], and [[Minecraft:Sunny]].
</gallery>
</gallery>


Line 471: Line 471:


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


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


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


[[Category:Block entities]]
[[Category:Block entities]]
Line 485: Line 485:
[[Category:Hazardous blocks]]
[[Category:Hazardous blocks]]


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

Latest revision as of 11:14, 13 April 2026

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

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

Obtaining

Trial spawner can be obtained only by using the Minecraft:Creative inventory, using Template:Control or executing Minecraft:commands.

Natural generation

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

Breaking

No tool can accelerate the breaking process of trial spawner. Template: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 Minecraft: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 Minecraft: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 Minecraft: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 Minecraft:game rule Template:Gmr is Template:Cd,<ref>Template:Bug</ref>Template:Verify or if the difficulty is set to Minecraft:Peaceful.<ref>Template:Bug</ref>Template:Verify

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

The Minecraft: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 Minecraft:skeletons spawning from their respective trial spawners.

Template:See also

When a player enters a trial spawner's range, the spawner attempts to spawn 1 mob every Template: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 Minecraft: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 Template:Convert, or every Template: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 Template:Convert 6 2 2 1
Breeze Template:Convert 2 1 1 0.5
Baby zombie Template:Convert Default Default Default 0.5
All others in trial chambers Template:Convert Default Default 3 0.5
Slow versions (those that appear in chamber_8) Template: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 Minecraft: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 Template: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

Template:Control a Minecraft: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 Minecraft: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 Minecraft: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. Template:LootChest

Ominous trial

Template:Main A player with Minecraft:Bad Omen that is within the activation range of a trial spawner is given the Minecraft:Trial Omen effect, starting an Minecraft:ominous trial. During an ominous trial, trial spawners near a player with Trial Omen are converted into Minecraft: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 Minecraft:sticky pistons.

Sounds

Generic

Template:Sound table/Block/Trial spawner

Unique

Template:JE Template:SoundTable

Template:BE: Template:SoundTable

Data values

ID

Template:JE: Template:ID table Template:ID table

Template:BE: Template:ID table Template:ID table

Block states

Template:See also

Template:JE: Template:Bst Template:Bst

Template:BE: Template:Bst Template:Bst

Block data

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

Template:JE: Template:See also

<section begin="block data" />

<section end="block data" />

Template:BE:

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

Advancements

Template:Load advancements

Videos

Template:Yt

History

Announcement

Template:HistoryTable

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

Gallery

Renders

Development images

In other media

See also

References

Template:Reflist

External links

Navigation

Template:Navbox blocks

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