MineToolsminetools.cn · Minecraft Java Tools

Magenta Dye command

minecraft:magenta_dyeEnglish name Magenta Dye

Magenta Dye (minecraft:magenta_dye) can be stacked up to 64.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.

Common Commands

Give the nearest player 1 Magenta Dye
/give @p minecraft:magenta_dye
Give a stack (64)
/give @p minecraft:magenta_dye 64
Give all players
/give @a minecraft:magenta_dye
Gold Name
/give @p magenta_dye[custom_name={translate:"item.minecraft.magenta_dye",color:"gold",italic:false}]

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

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

Basic Information

Item ID
minecraft:magenta_dye
Max Stack Size
64
Type
Item

Similar Items

Items Made of the Same Material

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