MineToolsminetools.cn · Minecraft Java Tools

Egg command

minecraft:eggEnglish name Egg

Egg (minecraft:egg) can be stacked up to 16.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.

Common Commands

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

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

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

Basic Information

Item ID
minecraft:egg
Max Stack Size
16
Type
Item

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