<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AInstrument_definition</id>
	<title>Minecraft:Instrument definition - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AInstrument_definition"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Instrument_definition&amp;action=history"/>
	<updated>2026-06-26T01:34:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Instrument_definition&amp;diff=154956&amp;oldid=prev</id>
		<title>SyncBot: Sync: new page from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Instrument_definition&amp;diff=154956&amp;oldid=prev"/>
		<updated>2026-06-25T11:14:24Z</updated>

		<summary type="html">&lt;p&gt;Sync: new page from Minecraft&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{exclusive|java}}&lt;br /&gt;
An &amp;#039;&amp;#039;&amp;#039;instrument&amp;#039;&amp;#039;&amp;#039; consists of a sound with its corresponding range and use duration. They are currently only used for [[Minecraft:goat horn]]s.&lt;br /&gt;
&lt;br /&gt;
== Definition ==&lt;br /&gt;
&lt;br /&gt;
Instruments can be defined in [[Minecraft:data pack]]s, as part of the directory structure below.&lt;br /&gt;
&lt;br /&gt;
{{Data pack directory|instrument|&amp;lt;nowiki&amp;gt;&amp;lt;name&amp;gt;.json&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== JSON Format ==&lt;br /&gt;
Instruments are defined using the following format:&lt;br /&gt;
&amp;lt;div class=&amp;quot;treeview&amp;quot;&amp;gt;&lt;br /&gt;
* {{nbt|compound}} The root object.&amp;lt;section begin=&amp;quot;json format&amp;quot; /&amp;gt;&lt;br /&gt;
** {{nbt|compound|description}}: A [[Minecraft:text component]] that is used as a description in tooltips.&lt;br /&gt;
** {{nbt|string}}{{nbt|compound|sound_event}}: {{json_ref|sound event|inline=1}}&lt;br /&gt;
*** {{nbt inherit/sound event}}&lt;br /&gt;
** {{nbt|float|use_duration}}: A non-negative float for how long the use duration is.&lt;br /&gt;
** {{nbt|float|range}}: A non-negative float for the range of the sound.&amp;lt;section end=&amp;quot;json format&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.21.2|dev=24w33a|Added instruments to [[Minecraft:data pack]]s, used only for [[Minecraft:goat horn]]s.}}&lt;br /&gt;
|{{HistoryLine|upcoming java}}&lt;br /&gt;
|{{HistoryLine||26.3|dev=snapshot1|The format of elements in the instrument registry have been updated: added the {{cd|durability_damage}} field, updated the {{cd|use_duration}} field.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition technical|datapack}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Bockshorninstrumentendefinition]]&lt;br /&gt;
[[Minecraft:fr:Définition d&amp;#039;instrument de corne de chèvre]]&lt;br /&gt;
[[Minecraft:pt:Definição de instrumento de chifre de cabra]]&lt;br /&gt;
[[Minecraft:zh:山羊角乐器定义格式]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>