MineToolsminetools.cn · Minecraft Java Tools

Spyglass command

minecraft:spyglassEnglish name Spyglass

Spyglass (minecraft:spyglass) can't be stacked; only 1 can go in a slot.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.

Common Commands

Give the nearest player 1 Spyglass
/give @p minecraft:spyglass
Give all players
/give @a minecraft:spyglass
Gold Name
/give @p spyglass[custom_name={translate:"item.minecraft.spyglass",color:"gold",italic:false}]

To use a name of your own, replace the translate part with plain text

Clear all Spyglass from the player
/clear @p minecraft:spyglass
Check if holding Spyglass
/execute as @a if items entity @s weapon.mainhand minecraft:spyglass run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.spyglass"}]
Edit in the Item Generator (name, enchantments, attributes, ...)

Basic Information

Item ID
minecraft:spyglass
Max Stack Size
1
Type
Item

Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.