MineToolsminetools.cn · Minecraft Java Tools

Goat Spawn Egg command

minecraft:goat_spawn_eggEnglish name Goat Spawn Egg

Goat Spawn Egg (minecraft:goat_spawn_egg) 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 Goat Spawn Egg
/give @p minecraft:goat_spawn_egg
Give a stack (64)
/give @p minecraft:goat_spawn_egg 64
Give all players
/give @a minecraft:goat_spawn_egg
Gold Name
/give @p goat_spawn_egg[custom_name={translate:"item.minecraft.goat_spawn_egg",color:"gold",italic:false}]

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

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

Basic Information

Item ID
minecraft:goat_spawn_egg
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.