Trial Spawner – Wiki Guide
A trial spawner is a type of spawner found only within trial chambers. It spawns mobs in waves, with the amount depending on the number of nearby players in Survival or Adventure mode. When all of its spawned mobs are defeated, it ejects a similarly weighted quantity of useful consumable items or trial keys, and then goes on cooldown for a period of 30 minutes.
Background
Inactive Active
Ejecting reward
Icon in Inventory:
Stackable: Yes (64)
Tool: None
Hardness: 50
Obtaining
Trial spawners cannot be obtained in Survival, even with Silk Touch, and can not be moved with a piston.
Natural generation
Trial spawners generate naturally in every chamber and every corridor of trial chambers, except for the entrance corridor.
Breaking
A trial spawner can be broken but it does not drop itself as an item and takes an extended amount of time to break. It can only be obtained via the Creative menu, the /give
command, or by using pick block.
Due to their high blast resistance, trial spawners are immune to explosions, but can still be destroyed by the wither’s block-breaking attack and blue wither skulls.
Block | Trial Spawner |
---|---|
Hardness | 50 |
Breaking time (secs) | ||
---|---|---|
Default | 250 |
Usage
A trial spawner summons a limited amount of mobs, scaled based on the number of nearby players. When these mobs are defeated, the spawner drops a reward for each player and enters a cooldown period.
Activation
A trial spawner activates when any player in Survival or Adventure mode gets within 14 blocks of its center, and then it begins summoning the mobs set in the spawner.
Trial spawners do not activate in Peaceful difficulty, even if set to a entity capable of spawning in Peaceful.
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
When a player enters the activation radius of 14 blocks, it attempts to spawn 1 mob every 40 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 will spawn a total of 6 mobs before ejecting loot and going into cooldown.
The number of mobs spawned scales up if another player comes within 14 blocks of the spawner. For every additional player present, there can be 1 more mob alive at once, and 2 more mobs are spawned in total. For example, with 2 players, 8 mobs spawn in total with 3 at once, but with 3 players, 10 mobs spawn in total with 4 at once.
The values mentioned above are the default values. Naturally generated spawners in trial chambers use different values. Additionally, these numbers can be configured by modifying the block’s NBT data.
Mobs spawn in positions that have a line of sight to the spawner, which must be in a 4-block spherical radius, as opposed to the regular monster spawner, which has a larger spawning box. 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 the trial spawner must be defeated before the trial spawner can drop loot. A mob is considered defeated when is either killed or transformed into another entity (excepting the transformation of creepers into charged creepers; the charged creeper must be defeated before completion of the trial spawner).
If a mob spawns more mobs upon death, only the initial mob must be defeated in order to complete the spawner (i.e. slimes and magma cubes).
Upon completion, the trial spawner enters a cooldown state for 36,000 ticks (30 minutes) before it can be activated again.
Custom trial spawners
Using a spawn egg on a trial spawner sets the trial spawner’s type to that egg’s entity.
Trial spawners placed by players do not have loot data by default and do not drop loot upon completion.
Loot
When all mobs have been killed, the 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 the 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, each trial spawner contains 1 item stack, with the following distribution:
Item | Stack Size | Weight | Chance | Avg.per spawner | Avg.spawners to defeat |
---|---|---|---|---|---|
Trial Key | 1 | 13⁄26 | 50.0% | 0.500 | 2.0 |
Glow Berries | 2–10 | 3⁄26 | 11.5% | 0.692 | 8.7 |
Emerald | 1–6 | 3⁄26 | 11.5% | 0.404 | 8.7 |
Baked Potato | 1–3 | 3⁄26 | 11.5% | 0.231 | 8.7 |
Golden Carrot | 1–3 | 1⁄26 | 3.8% | 0.077 | 26.0 |
Ender Pearl | 1 | 1⁄26 | 3.8% | 0.038 | 26.0 |
Potion of Regeneration | 1 | 1⁄26 | 3.8% | 0.038 | 26.0 |
Potion of Strength | 1 | 1⁄26 | 3.8% | 0.038 | 26.0 |
Data values
ID
Java Edition:
Name | Identifier | Form | Translation key |
---|---|---|---|
Trial Spawner | trial_spawner |
Block & Item | block.minecraft.trial_spawner |
Name | Identifier |
---|---|
Block entity | trial_spawner |
Bedrock Edition:
Name | Identifier | Numeric ID | Form | Item ID[i 1] | Translation key |
---|---|---|---|---|---|
Trial Spawner | trial_spawner |
-315 |
Block & Giveable Item[i 2] | Identical[i 3] | tile.trial_spawner.name |
- ID of block’s direct item form, which is used in savegame files and addons.
- Available with
/give
command.- The block’s direct item form has the same id as the block.
Name | Savegame ID |
---|---|
Block entity | TrialSpawner |
Block states
Java Edition:
Name | Default value | Allowed values | Description |
---|---|---|---|
trial_spawner_state | inactive |
active |
When the spawner is active. |
cooldown |
When the spawner is on cooldown. | ||
ejecting_reward |
While ejecting reward. | ||
inactive |
When no mob is set. | ||
waiting_for_players |
When no players are nearby, not on cooldown, and a mob is set. | ||
waiting_for_reward_ejection |
Prior to reward ejection. |
Bedrock Edition:
Name | Metadata Bits | Default value | Allowed values | Values for Metadata Bits |
Description |
---|---|---|---|---|---|
trial_spawner_state | Not Supported | 0 |
0 |
Unsupported |
When no mob is set. |
1 |
Unsupported |
When no players are nearby, not on cooldown, and a mob is set. | |||
2 |
Unsupported |
When the spawner is active. | |||
3 |
Unsupported |
Prior to reward ejection. | |||
4 |
Unsupported |
While ejecting reward. | |||
5 |
Unsupported |
When the spawner is on cooldown. |