Block Data Generator
Generate /give and /setblock commands for chests, shulker boxes, furnaces, brewing stands, spawners, Trial Spawners, command blocks, lecterns, jukeboxes, beacons, and beehives. Add items, lock containers, or set a loot table.
Blocks with data: chests preloaded with items, spawners set to spawn specific mobs, command blocks with commands already written, and more. Use `give` to get one as an item, or `setblock` to place one directly. The spawner format changed in 1.18, and the item format changed in 1.20.5; the generator handles this based on the selected version.
Frequently Asked Questions
How do I change which mob a spawner spawns?
In Creative Mode, right-click a spawner with Spawn Eggs to change its mob. To precisely control the number, range, and interval, generate a spawner with data on this page.
How do I get a command block?
/give @s command_block, and you need permission to use cheats; the server must also have enable-command-block=true。