Updated:
Goat Horn: item ID and commands
The ID for Goat Horn is minecraft:goat_horn. It is an item, used with /give and /clear. It was added in Java 1.19.
Basic data
| Name | Goat Horn |
|---|---|
| ID (Java Edition) | minecraft:goat_horn |
| Type | Item |
| Java versions | Java 1.19 and later |
| Bedrock 26.52 | Same ID works (tested on a server) |
| Stack size | 1 |
Commands you can copy
Java Edition
Give one
/give @p minecraft:goat_horn 1Put in main hand (Java 1.17+)
/item replace entity @p weapon.mainhand with minecraft:goat_hornRemove from inventory
/clear @p minecraft:goat_hornOpen this command in the Give generator
Bedrock Edition
Give one
/give @p goat_horn 1Remove from inventory
/clear @p goat_hornVersion notes
It was added in Java 1.19. Older versions report that the ID is unknown.
Java 1.20.5 and later write extra item data in [ ] (components); 1.20.4 and earlier use { } (NBT). A plain /give with only the ID is the same in both.
Questions
What is the ID for Goat Horn?
It is minecraft:goat_horn. In commands you can also write goat_horn without minecraft:.
Why does the command turn red?
The ID is misspelled, or it does not exist in that version yet. Goat Horn works in Java 1.19 and later. The Command Error Doctor can check it.