Mineuniverse
Trial Spawner

Trial Spawner

A trial spawner is a type of spawner found in trial chambers. It spawns mobs in waves, ejects consumable items and/or trial keys after they are all…

20 min read Updated 4 views
Blocks Stackable resources Generated structure blocks Non-renewable resources Utility blocks Block entities Light sources Transparent blocks
Advertisement Remove ads with Premium →
Contents (33)
  1. Obtaining
  2. Natural generation
  3. Breaking
  4. Usage
  5. Activation
  6. Mob spawning
  7. Completion
  8. Custom trial spawners
  9. Loot
  10. Ominous trial
  11. Piston interactivity
  12. Sounds
  13. Generic
  14. Unique
  15. Data values
  16. ID
  17. Block states
  18. Block data
  19. Advancements
  20. Videos
  21. History
  22. Announcement
  23. Java Edition
  24. Bedrock Edition
  25. Issues
  26. Trivia
  27. Gallery
  28. Renders
  29. Development images
  30. In other media
  31. See also
  32. References
  33. External links
For the ominous variant, see Ominous Trial Spawner.
Trial Spawner
Active Trial Spawner.png: Infobox image for Minecraft block 'Trial Spawner'
Ejecting Trial Spawner.png: Infobox image for Minecraft block 'Trial Spawner'
Trial Spawner.png: Infobox image for Minecraft block 'Trial Spawner'
Invicon Trial Spawner.png: Inventory sprite for Trial Spawner in Minecraft as shown in-game with description: Trial Spawner
Renewable No
Stackable Yes (64)
Tool
Blast resistance 50
Hardness 50
Luminous
  • Yes, when not inactive
    • Waiting for players: 4
    • Active: 8
Transparent Partial
Flammable No
Catches fire
from lava
No
Map color
 11 STONE
Note block instrument Bass Drum

A trial spawner is a type of spawner found in trial chambers. It spawns 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 spawners can be obtained only by using the Creative inventory, using pick block or executing commands.

Natural generation

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

Breaking

No tool can accelerate the breaking process of trial spawner.

Block Trial Spawner
Hardness 50
Breaking time (secs)
Default 75.05 (JE)
75 (BE)
Efficiency
00
Legend
  • incorrect tool, drops nothing
  • correct tool, drops nothing or something other than the block itself
  • correct tool, drops the block itself
  • italicized can be instant mined

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 (even if the player is invisible). 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 cannot pass through visual box. This differs from the line of sight check used in mob AI, which cannot pass through collision box.

Trial spawners do not activate if the game rule spawn_mobs‌[JE only] or domobspawning‌[BE only] is false,[1][verify for Bedrock Edition], spawner_blocks_work is false, or if the difficulty is set to Peaceful.[2][verify for Bedrock Edition]

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

Chance to spawn a mob from a trial spawner within a radius.
🟩 70%
🟨 25%
🟧 5%
🟥 0%

When a player enters a trial spawner's range, the spawner attempts to spawn 1 mob every 40 game ticks (2 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 § 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.

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 20 game ticks (1 second), or every 160 game ticks (8 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 § Spawning values.

Spawning values

Type Spawn interval Total mobs (base) Total mobs added per player Simultaneous mobs (base) Simultaneous mobs added per player
Default values 40 game ticks (2 seconds) 6 2 2 1
Breeze 20 game ticks (1 second) 2 1 1 0.5
Baby zombie 20 game ticks (1 second) Default Default Default 0.5
All others in trial chambers 20 game ticks (1 second) Default Default 3 0.5
Slow versions (those that appear in chamber_8 and encounter_4) 160 game ticks (8 seconds) 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 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 30 minutes (36000 game ticks) before it can be activated again. The cooldown timer decreases even if the trial spawner is unloaded.[3]

Custom trial spawners

Using a spawn egg on a trial spawner sets the trial spawner's type to that egg's entity. If a spawn egg is renamed on an anvil, then used on the spawner, all mobs from that spawner will be named.

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. In Java Edition and Bedrock Edition, each trial chambers trial spawner contains 1 item stack, with the following distribution:

Item Stack Size Weight Chance Avg.
per spawner
Avg. # spawners
to defeat
Trial Key 110⁄2050.0%0.5002.0
Bread 1–33⁄2015.0%0.3006.7
Cooked Chicken 13⁄2015.0%0.1506.7
Baked Potato 1–32⁄2010.0%0.20010.0
Potion of Regeneration 11⁄205.0%0.05020.0
Potion of Swiftness 11⁄205.0%0.05020.0

Ominous trial

Main article: 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.

Piston interactivity

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

Sounds

Generic

Java Edition:

BlockSprite trial-spawner.png: Sprite image for trial-spawner in Minecraft trial_spawner sound type
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
​Block brokenBlocksOnce the block has been brokenblock.trial_spawner.breaksubtitles.block.generic.break​0.90.816
​Block placed​[until: JE 26.4]BlocksWhen the block is placedblock.trial_spawner.placesubtitles.block.generic.place​1.00.816
​Block breakingBlocksWhile the block is in the process of being brokenblock.trial_spawner.hitsubtitles.block.generic.hit​0.250.516
​Something falls on a blockEntity-DependentFalling on the block with fall damageblock.trial_spawner.fallsubtitles.block.generic.fall​0.50.7516
​FootstepsEntity-DependentWalking on the blockblock.trial_spawner.stepsubtitles.block.generic.footsteps​0.151.016

Bedrock Edition:

BlockSprite trial-spawner.png: Sprite image for trial-spawner in Minecraft trial_spawner sound type
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitch
​ ?BlocksOnce the block has brokentrial_spawner.break​ ?1.00.8
​ ?BlocksWhen the block is placedtrial_spawner.place​ ?1.00.8
​ ?BlocksWhile the block is in the process of being brokentrial_spawner.hit​ ?0.380.5
​ ?BlocksFalling on the block with fall damagetrial_spawner.step​ ?0.41.0
​ ?BlocksWalking on the blocktrial_spawner.step​ ?0.151.0
​ ?BlocksJumping from the blocktrial_spawner.step​ ?0.121.0
​ ?BlocksFalling on the block without fall damagetrial_spawner.step​ ?0.21.0

Unique

Java Edition

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
​Trial Spawner cracklesBlocksRandomly while activeblock.trial_spawner.ambientsubtitles.block.trial_spawner.ambient​0.75–1.00.5–1.516
​Trial Spawner charges upBlocksWhen a trial spawner is approached by a valid playerblock.trial_spawner.detect_playersubtitles.block.trial_spawner.detect_player​1.0Varies[sound 1]16
​Trial Spawner spawns a mobBlocksWhen a trial spawner spawns a mobblock.trial_spawner.spawn_mobsubtitles.block.trial_spawner.spawn_mob​1.00.8–1.216
​Trial Spawner opensBlocksWhen a trial spawner's shutter opensblock.trial_spawner.open_shuttersubtitles.block.trial_spawner.open_shutter​1.01.016
​Trial Spawner closesBlocksWhen a trial spawner's shutter closesblock.trial_spawner.close_shuttersubtitles.block.trial_spawner.close_shutter​1.01.016
​Trial Spawner ejects itemsBlocksWhen a trial spawner ejects an itemblock.trial_spawner.eject_itemsubtitles.block.trial_spawner.eject_item​1.00.8–1.216
​Omen engulfs Trial SpawnerFriendly MobsWhen a trial spawner becomes ominousblock.trial_spawner.ominous_activatesubtitles.block.trial_spawner.ominous_activate​Varies[sound 2]0.8–1.216
  1. ↑ Can be 0.8-1.2 or 0.76-1.14 for each sound
  2. ↑ Plays two sounds of 0.3 and 1.0 simultaneously

Bedrock Edition:

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitch
​ ?BlocksRandomly while activetrial_spawner.ambient​ ?0.75–1.00.5–1.5
​ ?BlocksWhen a trial spawner is approached by a valid playertrial_spawner.detect_player​ ?1.00.76–1.14
​ ?BlocksWhen a trial spawner spawns a mobtrial_spawner.spawn_mob​ ?1.00.8–1.2
​ ?BlocksWhen a trial spawner's shutter openstrial_spawner.open_shutter​ ?1.01.0
​ ?BlocksWhen a trial spawner's shutter closestrial_spawner.close_shutter​ ?1.01.0
​ ?BlocksWhen a trial spawner ejects an itemtrial_spawner.eject_item​ ?1.00.8–1.1
​ ?BlocksWhen a trial spawner becomes ominoustrial_spawner.charge_activate​ ?1.01.0

Data values

ID

Java Edition:

NameIdentifierForm Translation key
BlockSprite trial-spawner.png: Sprite image for trial-spawner in Minecraft Trial Spawnertrial_spawnerBlock & Item block.minecraft.trial_spawner
NameIdentifier
BlockSprite trial-spawner.png: Sprite image for trial-spawner in Minecraft Block entitytrial_spawner

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1] Translation key
BlockSprite trial-spawner.png: Sprite image for trial-spawner in Minecraft Trial Spawnertrial_spawner-315Block & Giveable Item[i 2]Identical[i 3] tile.trial_spawner.name
  1. ↑ ID of block's direct item form, which is used in savegame files and addons.
  2. ↑ Available with /give command.
  3. ↑ The block's direct item form has the same ID as the block.
NameSavegame ID
BlockSprite trial-spawner.png: Sprite image for trial-spawner in Minecraft Block entityTrialSpawner

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
ominousfalse false
true
Controls whether this trial spawner is an ominous trial spawner.
trial_spawner_stateinactive activeWhen the spawner is active.
cooldownWhen the spawner is on cooldown.
ejecting_rewardWhile ejecting rewards.
inactiveWhen no mob is set.
waiting_for_playersWhen no players are nearby, not on cooldown, and a mob is set.
waiting_for_reward_ejectionPrior to reward ejection.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
ominousNot Supportedfalsefalse
true
UnsupportedControls whether this trial spawner is an ominous trial spawner.
trial_spawner_stateNot Supported0 0UnsupportedWhen no mob is set.
1UnsupportedWhen no players are nearby, not on cooldown, and a mob is set.
2UnsupportedWhen the spawner is active.
3UnsupportedPrior to reward ejection.
4UnsupportedWhile ejecting reward.
5UnsupportedWhen the spawner is on cooldown.

Block data

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

Java Edition:

  • [NBT Compound / JSON Object] Block entity data
    • Tags common to all block entities see Template:Nbt inherit/blockentity/template
    • [Int] required_player_range: Between 1 and 128. Defaults to 14. — Maximum distance in blocks for players to join the battle.
    • [Int] target_cooldown_length: Defaults to 36000. — Time in ticks of the cooldown period. Includes the time spent ejecting rewards.
    • [String][NBT Compound / JSON Object] normal_config: (optional) One trial spawner configuration (an [String] ID, or a new [NBT Compound / JSON Object] trial spawner configuration definition) — The configuration to use when not ominous.
      • Trial Spawner Configuration see Template:Nbt inherit/trial_spawner_config/template
    • [String][NBT Compound / JSON Object] ominous_config: (optional) One trial spawner configuration (an [String] ID, or a new [NBT Compound / JSON Object] trial spawner configuration definition) — The configuration to use when ominous.
      • Trial Spawner Configuration see Template:Nbt inherit/trial_spawner_config/template
      The following fields are used to keep track of the current state of the trial spawner.
    • [NBT List / JSON Array] registered_players: 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 rewards.
      • [Int Array]: A UUID.
    • [NBT List / JSON Array] current_mobs: A set of mob UUIDs. — The mobs that were spawned by this spawner and are still alive.
      • [Int Array]: A UUID.
    • [Long] cooldown_ends_at: Gametime in ticks when the cooldown ends. 0 if not currently in cooldown.
    • [Long] next_mob_spawns_at: Gametime in ticks when the next spawn attempt happens. 0 if not currently active.
    • [Int] total_mobs_spawned: The total amount of mobs that have already been spawned in this cycle. 0 if not currently active.
    • [NBT Compound / JSON Object] spawn_data: The next mob to attempt to spawn. Selected from [NBT List / JSON Array] spawn_potentials after the last attempt. Determines the mob displayed in the spawner.
      • Spawn Data see Template:Nbt inherit/spawn data/template
    • [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 / JSON Array] loot_tables_to_eject after all mobs are defeated.

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

Advancements

IconAdvancementIn-game descriptionActual requirements (if different)
How Did We Get Here?Have every effect applied at the same time

The source of the effects is irrelevant for the purposes of this advancement. Other status effects may be applied to the player, but are ignored for this advancement.

This is a hidden advancement, meaning that it can be viewed by the player only after completing it, regardless of if its child advancement(s), if any, have been completed.

Videos

History

Announcement

October 15, 2023 Trial spawners are announced at Minecraft Live 2023.

Java Edition

Java Edition
1.20.3
Experiment
Update 1.21
23w45a Added trial spawners.
1.20.5
Experiment
Update 1.21
24w04a No longer ignores the custom_spawn_rules data field.
24w11a Now appears more frequently in the trial chambers corridors.
24w13a Can now become an ominous trial spawner if the player who activates it has trial omen.
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.
Baby Zombie spawners now have 2 mobs present at once to start with instead of 3.
Can now activate only when a player is in line of sight.
pre1 Updated textures to match ominous trial spawners.
1.2124w18a Trial spawners are now available without using the "Update 1.21" experimental data pack.
24w19a Updated textures to be more consistent across all states as well as the ominous trial spawner.
pre2 Updated bottom texture to match Bedrock Edition.

Bedrock Edition

Bedrock Edition
1.20.60
Experiment
Update 1.21
Preview 1.20.60.20 Added trial spawners.
1.21.0
Experiment
Update 1.21
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.
1.21.0Preview 1.21.0.22 Trial spawners are now available without using the "Update 1.21" experimental toggle.
Updated textures to match ominous trial spawners as well as introduce a new design for the bottom face.
1.21.20Preview 1.21.10.20 Updated textures to be more consistent across all states as well as the ominous trial spawner.
1.21.30Preview 1.21.30.22 Trial spawner collision size is now a full block.[4]

Issues

Issues relating to "Trial Spawner" are maintained on the bug tracker. Issues should be reported and viewed there.

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.[5]
  • Trial spawners can still eject their loot, even if all mobs they spawned were not defeated but rather converted as listed below:

Renders

Development images

In other media

See also

References

  1. ↑ MC-266487 – Trial Spawners do not activate/spawn mobs if gamerule "doMobSpawning" is set to "false"
  2. ↑ MC-278006 – Trial spawners never try to spawn mobs in peaceful difficulty
  3. ↑ MC-277624 – Trial Spawner still count down their 30 minutes cooldown when unloaded – resolved as "Works as Intended".
  4. ↑ MCPE-178305 – Trial Spawner's hitbox is a bit small – resolved as "Fixed".
  5. ↑ "ALL ABOUT THE TRIAL CHAMBERS" – Minecraft on YouTube
Advertisement Remove ads with Premium →

More in Hazardous blocks

View all 27 →
Sculk ShriekerSculk ShriekerA sculk shrieker is a sculk block that "shrieks" if any player touches its top (even indirectly) or activates a nearby sculk sensor. Only players can…Soul CampfireSoul CampfireSoul campfires are dimmer variants of campfires. Soul campfires deal more damage than normal campfires and have turquoise flames. Just like normal…Soul FireSoul FireSoul fire is a dimmer turquoise variation of fire that is created when soul sand or soul soil is ignited. Soul fire deals more damage than normal fire and…Sweet BerriesSweet BerriesSweet berries are a food item obtained from sweet berry bushes and are used to plant them. Sweet berry bushes are quick-growing plants that grow sweet…TNTTNTTNT is an explosive block that can be lit by a redstone signal, flint and steel, stray fire, flaming projectile or explosion. When lit, TNT becomes primed…Underwater TNTUnderwater TNTUnderwater TNT is a block that can be used by the player to initiate a controlled explosion underwater.WaterWaterWater is a fluid that naturally generates abundantly in the Overworld.Wither RoseWither RoseA wither rose is a flower that inflicts the Wither effect on players and mobs that touch it. It drops when a mob or player is killed by a wither.

Related mods

Just Trial Spawners Just Trial Spawners Mod · 144.4K downloads Resettable Trial Vaults & Spawners Resettable Trial Vaults & Spawners Mod · 49.7K downloads Undopia 3D Trial Spawners Undopia 3D Trial Spawners Resource Pack · 35.3K downloads Mineable Trial Spawner and Vaults Mineable Trial Spawner and Vaults Mod · 3.3K downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home