Minecraft : Suspicious Sand and Blocks Give Command Generator for Java 26.3
Try the Commands Troubleshooting and Help page if you get stuff with server errors. Found a bug or want a feature, let us know on reddit.
Suspicious Blocks
Generate commands for the suspicious blocks, such as suspicious sand and suspicious gravel. These blocks accept a single item or loot table for random items. The suspicious blocks can only loot an item once, and only by using a brush. All other ways of mining or moving will cause the contents to be lost. Both suspicious sand and suspicious gravel work the same.
Item Command
A suspicious block can contain a single item, that item can have both a quantity and item tag. The command is simular to other blocks that contain items. The item tag can contain enchantments, attributes, and other item data.
/give @a suspicious_sand{BlockEntityTag:{item:{id:diamond_pickaxe,tag:{Enchantments:[{lvl:1,id:silk_touch}]}}}} /give @a suspicious_sand[block_entity_data={id:suspicious_sand,item:{id:diamond_pickaxe,components:{Enchantments:[{lvl:1,id:silk_touch}]}}}]
Loot Table Command
The suspicious block can also use loot tables to select an item. Loot tables can be found in the Minecraft jar file. The loot table names change between verions and not every loot table produces items. The loot table will only yeild an item once.
/give @s suspicious_sand[block_entity_data={id:suspicious_sand,LootTable:"chests/ancient_city"}] /give @s suspicious_sand{BlockEntityTag:{LootTable:"archaeology/trail_ruins_common"}}
Minecraft Versions Permalinks
If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.
Version History
added26.3 content
addedMore predicates
addedPreloading 26.3 items and content
addedSummon options for interaction, marker, ominous_item_spawner
patchGive generator patch can_break, can_place
addedSummon item_display and text_display
patchSummon issue with fireworks and potions
patchSummon issue with summon eggs (again)
addedend_crystal nbt tags
patchdamage_resistant for multi values in 26.1
patchbee nbt tags
patchmotion and rotation nbt tags
patchvarious uuid and nbt pathing issues
patchsummon blocks fixes and improvements
patchsome autocomplete quirky issues during typing
addedUUID converter
patchFix for issue with items not re-encoding correctly for items, trades and containers
patchTrades for 1.20.4 and earlier now auto add Count if missing
Read version history »
(131 More Updates)