{{About|the block that plays music discs|the block that makes music when hit|Note Block}}
{{Infobox block
|image=Jukebox.png
|transparent=No
|light=No
|tool=Axe
|renewable=No ([[Renewable resource#Vault|except via vault]])
|stackable=Yes (64)
|flammable=No
|lavasusceptible=Yes
}}
A '''jukebox''' is a [[block]] used to play [[music disc]]s.

== Obtaining ==
=== Breaking ===
A jukebox can be broken using any [[tool]], but an [[axe]] is the fastest. Jukeboxes also drop all of their contents.
{{breaking row|horizontal=1|Jukebox|Axe|foot=1}}

=== Crafting ===
{{Crafting
|A1= Any Planks
|B1= Any Planks
|C1= Any Planks
|A2= Any Planks
|B2= Diamond
|C2= Any Planks
|A3= Any Planks
|B3= Any Planks
|C3= Any Planks
|Output= Jukebox
|type= Decoration block
}}

== Usage ==
=== Playback ===
{{control|Using}} a [[music disc]] on a jukebox inserts the disc and plays [[music]] corresponding to the type of music disc used. Pressing {{control|use}} on the jukebox again ejects the disc and stops any music playing. Music discs play only once before they must be ejected and reinserted. Note [[particles]] emit out the top when sound is playing. Unlike most other blocks, the [[sound]] from the jukebox can be heard from up to 64 blocks away.

[[Hopper]]s and [[dropper]]s can be used to insert a [[disc]] into a jukebox.

Tamed [[parrot]]s and [[allay]]s dance when in a 3 block radius from a jukebox that is playing a disc. 

==== Allay duplication ====
If an [[amethyst shard]] is used on an allay dancing next to a playing jukebox, the allay consumes the amethyst shard, emits heart particles, and duplicates into two allays. Both allays have a 5-minute cooldown before they can be duplicated again.

=== Redstone component ===
{{see also|Redstone circuit}}

A jukebox can act as a redstone [[Redstone components#Power components|power source]]. A redstone signal of strength 15 is emitted while music from a disc is playing, powering any adjacent [[redstone wire]]s, [[redstone repeater]]s, and [[mechanism component]]s. The signal turns off when the music track ends or if the disc is removed before the track ends. Being a power source, a jukebox redirects adjacent redstone wires to point to itself.

A jukebox also emits a redstone signal when a [[redstone comparator]] is placed directly behind it or through an adjoining block. The signal strength depends on the ID of the inserted disc; the following table shows the redstone strength output for each disc. The comparator is powered as long as the music disc is stored in the jukebox, even if it has stopped playing.

{| class="wikitable"
! Disc
! Intensity
|-
|(no disc)||{{BlockSprite|redstone-dust-dot-off}} 0
|-
|{{ItemSprite|music-disc-13}} ''13''||{{BlockSprite|redstone-dust-dot-on}} 1
|-
|{{ItemSprite|music-disc-cat}} ''cat''||{{BlockSprite|redstone-dust-dot-on}} 2
|-
|{{ItemSprite|music-disc-blocks}} ''blocks''||{{BlockSprite|redstone-dust-dot-on}} 3
|-
|{{ItemSprite|music-disc-chirp}} ''chirp''||{{BlockSprite|redstone-dust-dot-on}} 4
|-
|{{ItemSprite|music-disc-far}} ''far''||{{BlockSprite|redstone-dust-dot-on}} 5
|-
|{{ItemSprite|music-disc-mall}} ''mall''||{{BlockSprite|redstone-dust-dot-on}} 6
|-
|{{ItemSprite|music-disc-mellohi}} ''mellohi''||{{BlockSprite|redstone-dust-dot-on}} 7
|-
|{{ItemSprite|music-disc-stal}} ''stal''||{{BlockSprite|redstone-dust-dot-on}} 8
|-
|{{ItemSprite|music-disc-strad}} ''strad''||{{BlockSprite|redstone-dust-dot-on}} 9
|-
|{{ItemSprite|music-disc-ward}} ''ward''||{{BlockSprite|redstone-dust-dot-on}} 10
|-
|{{ItemSprite|music-disc-11}} ''11''<br>{{ItemSprite|music-disc-creator-music-box}} ''Creator (Music Box)''
|{{BlockSprite|redstone-dust-dot-on}} 11
|-
|{{ItemSprite|music-disc-wait}} ''wait''<br>{{ItemSprite|music-disc-creator}} ''Creator''
|{{BlockSprite|redstone-dust-dot-on}} 12
|-
|{{ItemSprite|music-disc-pigstep}} ''Pigstep''<br>{{ItemSprite|music-disc-precipice}} ''Precipice''
|{{BlockSprite|redstone-dust-dot-on}} 13
|-
|{{ItemSprite|music-disc-otherside}} ''otherside''<br>{{ItemSprite|music-disc-relic}} ''Relic''
|{{BlockSprite|redstone-dust-dot-on}} 14
|-
|{{ItemSprite|music-disc-5}} ''5''||{{BlockSprite|redstone-dust-dot-on}} 15
|}

==== Looping ====
Jukeboxes disable adjacent hoppers when a music disc is playing inside them, due to them emitting a redstone signal even without using a comparator. When the song ends, the hopper placed below the jukebox is re-enabled, so the disc is automatically ejected and stored in the hopper. A system of hoppers and droppers can then be used to automatically re-insert the disc, causing it to loop.

If the hopper under the jukebox is powered by anything else, it does not eject the disc, breaking the loop.

=== Fuel ===
Jukeboxes can be used as a [[fuel]] in [[furnace]]s, smelting 1.5 items per block.

=== Note blocks ===
Jukeboxes can be placed under [[note block]]s to produce "bass" sounds.

=== Piston interactivity ===
Jukeboxes cannot be pushed by [[piston]]s. They also cannot be pushed or pulled by [[sticky piston]]s.

== Sounds ==
''Music discs are not included here.''

{{edition|java}}:
{{Sound table/Block/Wood/JE}}

{{edition|bedrock}}:
{{Sound table/Block/Wood/BE}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Jukebox
|spritetype=block
|nameid=jukebox
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=jukebox
|spritetype=block
|nameid=jukebox
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Jukebox
|spritetype=block
|nameid=jukebox
|id=84
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=jukebox
|spritetype=block
|nameid=Jukebox
|foot=1}}

=== Metadata ===
{{see also|Data values}}
{{/DV}}

=== Block states ===
{{see also|Block states}}
{{/BS}}

=== Block data ===
A jukebox has a block entity associated with it that holds additional data about the block.

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

{{el|bedrock}}:
: See [[Bedrock Edition level format/Block entity format]].

== Achievements ==
{{load achievements|sound of music}}

== Advancements ==
{{load advancements|sound of music}}

== History ==
{{HistoryTable
|{{HistoryLine|java alpha}}
|{{HistoryLine||v1.0.14|[[File:Jukebox JE1 BE1.png|32px]] Added jukeboxes.
|Jukeboxes support up to 15 [[music disc]]s, using their data values: 0 being empty, 1 meaning it contained disc "13", and 2 meaning it contained disc "cat". Values 3–15 support any additional discs, though only "13" and "cat" are available in the vanilla game at the time.}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.6|dev=Test Build 3|The jukebox now ''supports'' more than 15 different music discs, because jukeboxes now have a [[block entity]], which keeps track of the music disc by its [[item]] id, instead of using the block's data values. However, this potential wouldn't be used until [[Java Edition 1.20]] added the 16th music disc well over a decade later.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 6|Jukeboxes are now broken faster using an [[axe]].}}
|{{HistoryLine||1.2.4|dev=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft jukeboxes.}}
|{{HistoryLine||1.5|dev=13w04a|Active jukeboxes now emit a [[redstone]] signal when a [[comparator]] is placed behind it; its strength (1–12) depends on which [[disc]] is inserted.}}
|{{HistoryLine||1.7.2|dev=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft jukeboxes.}}
|{{HistoryLine||1.8|dev=14w10a|[[File:14w10a jukebox.png|32px]] [[File:14w10a jukebox (anisotropic filtering).png|32px]] Jukeboxes lose their texture when playing music.<ref>{{bug|MC-50226}}</ref>}}
|{{HistoryLine|||dev=14w10b|Jukeboxes no longer lose their texture when playing music.}}
|{{HistoryLine||1.11|dev=16w32a|The [[block entity]] ID has been changed from <code>RecordPlayer</code> to <code>jukebox</code>.}}
|{{HistoryLine||1.12|dev=17w14a|[[Parrot]]s now dance to playing jukeboxes.}}
|{{HistoryLine||1.13|dev=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 84.}}
|{{HistoryLine||1.14|dev=18w43a|[[File:Jukebox JE2 BE2.png|32px]] The texture of jukeboxes has been changed.}}
|{{HistoryLine||1.16|dev=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft jukeboxes.}}
|{{HistoryLine||1.19|dev=22w11a|[[Mangrove planks]] can now be used to craft jukeboxes.}}
|{{HistoryLine||1.19.1|dev=22w24a|[[Allay]]s now dance near jukeboxes that are playing music.
|Added block entity tags <code>IsPlaying</code>, <code>RecordStartTick</code>, and <code>TickCount</code>.}}
|{{HistoryLine||1.19.3|exp=Update 1.20|dev=22w42a|[[Bamboo planks]] can now be used to craft jukeboxes.}}
|{{HistoryLine||1.19.4|dev=23w06a|Jukeboxes now emit a note particle above them while playing a [[music disc]], to match {{el|be}}.}}
|{{HistoryLine|||dev=23w07a|Jukeboxes now emit a redstone signal when any music disc is played, matching {{el|be}}.
|Jukeboxes now redirect adjacent [[redstone wire]] to point toward themselves.
|[[Dropper]]s, [[hopper]]s, and [[minecarts with hopper]] can now interact with a jukebox.}}
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a|[[Cherry planks]] can now be used to craft jukeboxes.}}
|{{HistoryLine||1.20|dev=23w18a|Jukeboxes have been added to the "Redstone Blocks" tab in the Creative inventory.}}
|{{HistoryLine||1.20.2|dev=23w33a|Jukeboxes now use wood sounds instead of stone sounds.<ref>{{bug|MC-200484|||Fixed}}</ref>}}
|{{HistoryLine||1.21|dev=?|Changed Jukebox block entity data: removed {{nbt|boolean|IsPlaying}}, {{nbt|long|RecordStartTick}}, and {{nbt|long|TickCount}}; added {{nbt|long|ticks_since_song_started}}}}

|{{HistoryLine|bedrock}}
|{{HistoryLine||1.2.0|dev=beta 1.2.0.2|[[File:Jukebox JE1 BE1.png|32px]] Added jukeboxes.}}
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|[[File:Jukebox JE2 BE2.png|32px]] The texture of jukeboxes has now been changed.}}
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.22|[[Allay]]s now dance near jukeboxes that are playing music.}}
|{{HistoryLine||1.20.30|dev=Preview 1.20.20.21|Increased the hardness of jukeboxes from 0.8 to 2.
|Increased the blast resistance of jukeboxes from 0.8 to 6.}}

|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Jukebox JE1 BE1.png|32px]] Added jukeboxes.
|Jukeboxes spit out the music disc when done playing.{{verify|type=change|was this added later? How about removal?}}}}
|{{HistoryLine||xbox=TU9|The distance jukeboxes can be heard from has now been increased.}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|Active jukeboxes now emit a [[redstone]] signal when a [[comparator]] is placed behind it; its strength (1–12) depends on which [[disc]] is inserted.}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Added [[parrot]]s, which dance to playing jukeboxes.}}
|{{HistoryLine||xbox=none|xbone=none|ps3=none|psvita=none|ps4=1.90|wiiu=none|switch=none|[[File:Jukebox JE2 BE2.png|32px]] The texture of jukeboxes has now been changed.}}

}}
<gallery>
File:Better Together Jukebox.jpg|First image of a jukebox in ''Bedrock Edition''.
</gallery>

== Gallery ==
=== Screenshots ===
<gallery>
File:Crimson Forest Jukebox.jpg|A jukebox playing in a [[crimson forest]].
File:Steve's Nether Star on a Jukebox.jpg|"[[Steve]] is playing around with a Jukebox in the center of a [[Village]]. A [[Nether Star]] can be seen on top of the Jukebox."<ref>{{mcnet|minecraft-java-edition-1-21|Minecraft Java Edition 1.21|June 13, 2024}}</ref>
</gallery>

== Issues ==
{{Issue list}}

== Trivia ==
[[File:C418 skin.png|upright=0.4|thumb|C418's skin]]
* [[C418]] has a Steve skin with a jukebox for a head, as a visual gag alluding to his role as lead musician at the time.
* In real life, a {{W|phonograph|newtab=1}} can use a diamond-tipped stylus. Similarly, the jukebox uses a [[diamond]] as a crafting ingredient.

== See also ==
*[[Music]]

== References ==
{{Reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/block-week-jukebox Block of the Week: Jukebox] – Minecraft.net on May 26, 2017

== Navigation ==
{{Navbox redstone|components}}
{{Navbox blocks|Utility}}

[[Category:Manufactured blocks]]
[[Category:Utility blocks]]
[[Category:Storage]]
[[Category:Block entities]]
[[Category:Readable by comparators]]

[[de:Plattenspieler]]
[[el:Τζούκμποξ]]
[[es:Tocadiscos]]
[[fr:Jukebox]]
[[hu:Zenegép]]
[[it:Giradischi]]
[[ja:ジュークボックス]]
[[ko:주크박스]]
[[nl:Jukebox]]
[[pl:Szafa grająca]]
[[pt:Toca-discos]]
[[ru:Проигрыватель]]
[[th:ตู้เพลง]]
[[tr:Müzik Kutusu]]
[[uk:Програвач]]
[[zh:唱片机]]
