Item presets
CanPlaceOn item preset for adventure mode
CanPlaceOn item preset for adventure mode is now a complete Give workflow instead of a single overlay image. Use this for adventure-mode building puzzles, repair steps, or map sections where players should only place items against approved block families. The page treats the command as a reusable item definition, not a paste-only snippet, so the visible name, lore, component payload, output, and in-game delivery all have to agree. The workbench keeps the permission list visible next to the item text so the map rule can be reviewed before testing. The final capture proves the generated item reaches a real hotbar before you connect it to a map script, loot path, or command-pack workflow.
Preset result
An adventure-mode item with player-facing lore and a can_place_on rule for selected blocks.
Output
CanPlaceOn item command
/give @p minecraft:diamond_pickaxe[custom_name={text:"Builder Permission Token",color:"green",italic:false},lore=[{text:"CanPlaceOn: obsidian and wool",color:"gray",italic:false}],can_place_on=[{blocks:"minecraft:obsidian"},{blocks:"#minecraft:wool"}],custom_data={adventure_rule:"can_place"}] 1The longest command line is 295 characters, 39 over the 256-character chat input limit. Pasting it into chat can truncate the line and make Minecraft report a syntax error even when the generated command is valid.
- Use a Command Block: run
/give @s command_block, place it, then paste this command into the block command field. - Use a
.mcfunctionfor a reusable datapack: save the line without the leading slash atsaves/<world>/datapacks/<pack>/data/<ns>/function/<name>.mcfunctionwith a minimalpack.mcmeta, run/reload, then run/function <ns>:<name>. Do not paste.mcfunctioncontent into chat.
Preset screenshot
Build the preset
- Open the Give workbench and confirm the target selector is appropriate for the world or command block.
- Set the item to diamond pickaxe.
- Add the visible name and lore for Builder Permission Token item.
- Add only the components that matter for this item, then review the generated output.
- Copy the /give command for a smoke test, or save it to Project when it belongs to a larger workflow.
- Run the command in a creative test world and confirm the item appears in the player hand or hotbar.
Why Builder Permission Token item needs a preset
Use this for adventure-mode building puzzles, repair steps, or map sections where players should only place items against approved block families.
The workbench keeps the permission list visible next to the item text so the map rule can be reviewed before testing. That is the part a plain command snippet usually hides: the player-facing text, version-sensitive components, and copy-ready output all need to agree before the command leaves the workbench.
Use this preset as a review surface before the item enters a larger command chain. Confirm the tooltip tells players what the item does, confirm custom_data or other hidden components support command logic, and confirm the copied output still belongs to the selected Minecraft version. The in-game result is deliberately simple because it answers the first QA question: does this exact command deliver the item stack the article describes?
Version and component checks
Modern Java item commands use item components for many details that old tutorials wrote as NBT. Keep the selected version visible while editing, especially when the item uses names, lore, enchantments, rarity, custom model data, potion contents, or unbreakable state.
Block tags are version-sensitive and may not translate across editions. Use explicit blocks first, then add tags after the simple rule works.
After the command validates, run it in the same version family that will host the map or datapack. A command that copies cleanly can still be the wrong design if the component is unsupported, the selector targets too many players, or the item text promises behavior that the data does not enforce. Save stable variants in Project before adding scoreboard, loot, shop, NPC, or reset commands around them.
- Use the workbench fields before editing raw command text.
- Keep display text short enough for inventory tooltips.
- Use custom_data for command logic instead of relying on visible names.
Where to use it next
Test the item in Adventure Mode against the allowed block list before connecting it to a puzzle or reset function.
If the item will be reused, save it as a Project entry before adding scoreboard, loot table, NPC, or reset commands around it. That keeps the item definition auditable when the map grows.
For the matching adventure-mode break rule, compare the CanDestroy tool preset.
FAQ
Can I paste this Give command into chat?
Yes if the command length warning stays under the chat limit. If it grows past the limit, use a command block or a datapack function instead of pasting the full line into chat.
Can I change the item type after using this preset?
Yes. Change the item field first, then recheck every component. Some settings make sense for a diamond pickaxe but not for every Minecraft item.
Why include an in-game item screenshot?
The screenshot confirms the command delivers a real item stack, not just a valid-looking string in the output panel.
Open this workflow
Start from the related Give workbench, then adjust the preset fields for your world.