<?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%3AJukebox_song_definition</id>
	<title>Minecraft:Jukebox song 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%3AJukebox_song_definition"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Jukebox_song_definition&amp;action=history"/>
	<updated>2026-07-26T14:54:58Z</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:Jukebox_song_definition&amp;diff=168625&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:Jukebox_song_definition&amp;diff=168625&amp;oldid=prev"/>
		<updated>2026-07-20T11:50: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;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;jukebox song&amp;#039;&amp;#039;&amp;#039; is a song played when an item with the {{cd|minecraft:jukebox_playable}} item data component is inserted into a {{BlockLink|jukebox}}. Jukebox songs can be defined using [[Minecraft:JSON]] files in a [[Minecraft:data pack]] at the path {{cd|data/&amp;lt;namespace&amp;gt;/jukebox_song/}}.&lt;br /&gt;
&lt;br /&gt;
== JSON format ==&lt;br /&gt;
Jukebox songs 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.&lt;br /&gt;
** {{nbt|string}}{{nbt|compound|sound_event}}: {{json ref|server-side sound event|inline=1}} &amp;amp;mdash; The event to play when the item is inserted in a jukebox. Note that only vanilla &amp;#039;&amp;#039;Minecraft&amp;#039;&amp;#039; sound events have a server-side sound event that can be referenced directly by {{nbt|string}} ID; custom sound events must be specified in {{nbt|compound}} object form.&lt;br /&gt;
*** {{nbt inherit/sound event}}&lt;br /&gt;
** {{nbt|string}}{{nbt|compound|description}}: A [[Minecraft:text component]] to display in the tooltip of the item.&lt;br /&gt;
** {{nbt|float|length_in_seconds}}: The length of the song in seconds. Determines the length of the redstone output of the jukebox. If the sound is longer, it is cut off after this time.&lt;br /&gt;
** {{nbt|int|comparator_output}}: Value between 0 and 15 &amp;amp;mdash; The redstone power output by a [[Minecraft:comparator]] when placed next to a jukebox playing this song.&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|dev=24w21a|Added jukebox songs to [[Minecraft:data pack]]s.}}&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:Plattenspielermusikdefinition]]&lt;br /&gt;
[[Minecraft:fr:Définition de chanson de jukebox]]&lt;br /&gt;
[[Minecraft:ko:주크박스 곡 정의]]&lt;br /&gt;
[[Minecraft:pt:Definição de música do toca-discos]]&lt;br /&gt;
[[Minecraft:uk:Визначення пісні програвача]]&lt;br /&gt;
[[Minecraft:zh:唱片机曲目定义格式]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>