Updated:
Trial Spawner: item ID and commands
The ID for Trial Spawner is minecraft:trial_spawner. It is a placeable block, so the same ID works in /give, /setblock and /fill. It was added in Java 1.21.
Basic data
| Name | Trial Spawner |
|---|---|
| ID (Java Edition) | minecraft:trial_spawner |
| Type | Block (also an item) |
| Java versions | Java 1.21 and later |
| Bedrock 26.52 | Same ID works (tested on a server) |
| Stack size | 64 |
| Hardness | 50 |
| Blast resistance | 50 |
Commands you can copy
Java Edition
Give one
/give @p minecraft:trial_spawner 1Give a full stack (64)
/give @p minecraft:trial_spawner 64Place at your feet
/setblock ~ ~ ~ minecraft:trial_spawnerFill a 5×5 floor
/fill ~-2 ~-1 ~-2 ~2 ~-1 ~2 minecraft:trial_spawnerRemove from inventory
/clear @p minecraft:trial_spawnerOpen this command in the Give generator
Bedrock Edition
Give one
/give @p trial_spawner 1Give a full stack (64)
/give @p trial_spawner 64Place at your feet
/setblock ~ ~ ~ trial_spawnerRemove from inventory
/clear @p trial_spawnerBlock states
| State | Values | Default |
|---|---|---|
ominous | true, false | false |
trial_spawner_state | inactive, waiting_for_players, active, waiting_for_reward_ejection, ejecting_reward, cooldown | inactive |
Place it with a state
/setblock ~ ~ ~ minecraft:trial_spawner[ominous=true]Bedrock uses different state names and syntax (for example ["facing_direction"=2]).
Version notes
It was added in Java 1.21. Older versions report that the ID is unknown.
Java 1.20.5 and later write extra item data in [ ] (components); 1.20.4 and earlier use { } (NBT). A plain /give with only the ID is the same in both.
Questions
What is the ID for Trial Spawner?
It is minecraft:trial_spawner. In commands you can also write trial_spawner without minecraft:.
Why does the command turn red?
The ID is misspelled, or it does not exist in that version yet. Trial Spawner works in Java 1.21 and later. The Command Error Doctor can check it.