Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Jukebox: Difference between revisions

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
| light = No
| light = No
| tool = Axe
| tool = Axe
| renewable = No (except via vault)
| renewable = No ([[Minecraft:Renewable resource#Vault|except via vault]])
| stackable = Yes (64)
| stackable = Yes (64)
| flammable = No
| flammable = No
| lavasusceptible = Yes
| lavasusceptible = Yes
}}
}}
A '''jukebox''' is a [[Minecraft:block]] used to insert and play music discs. Playing a disc causes it to produce a redstone signal and allows nearby allays to duplicate when given amethyst shards.
A '''jukebox''' is a [[Minecraft:block]] used to insert and play [[Minecraft:music disc]]s. Playing a disc causes it to produce a [[Minecraft:redstone signal]] and allows nearby [[Minecraft:allay]]s to duplicate when given [[Minecraft:amethyst shard]]s.


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


=== Crafting ===
=== Crafting ===
Line 36: Line 36:
== Usage ==
== Usage ==
=== Playback ===
=== Playback ===
{{MC/Control|Using}} a music disc on a jukebox inserts the disc and plays music or other audio corresponding to the type of music disc used. Pressing {{MC/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. Audio being played by a jukebox can be heard from up to 64 blocks away.
{{control|Using}} a [[Minecraft:music disc]] on a jukebox inserts the disc and plays [[Minecraft:music]] or other audio 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 [[Minecraft:particles]] emit out the top when sound is playing. [[Minecraft:Audio]] being played by a jukebox can be heard from up to 64 blocks away.


[[Minecraft:Hopper]]s and [[Minecraft:dropper]]s and [[Minecraft:crafter]]s (via crafting disc fragments into music disc 5) can be used to insert discs into a jukebox.
[[Minecraft:Hopper]]s and [[Minecraft:dropper]]s and [[Minecraft:crafter]]s (via crafting [[Minecraft:disc fragment]]s into [[Minecraft:music disc 5]]) can be used to insert discs into a jukebox.


Tamed parrots and allays dance while in a 3 block radius from a jukebox that is playing a disc.  
Tamed [[Minecraft:parrot]]s and [[Minecraft:allay]]s dance while in a 3 block radius from a jukebox that is playing a disc.  


==== Allay duplication ====
==== Allay duplication ====
If an amethyst shard is used on an allay dancing next to a playing jukebox, the allay splits in two (itself and a new allay) and the amethyst shard is consumed. Both allays have a 5-minute cooldown before they can be duplicated again.
[[File:Allay breeding.png|thumb|An allay duplicating.]]
If an [[Minecraft:amethyst shard]] is used on an allay dancing next to a playing jukebox, the allay splits in two (itself and a new allay) and the amethyst shard is consumed. Both allays have a 5-minute cooldown before they can be duplicated again.


=== Redstone component ===
=== Redstone component ===
{{MC/See also|Redstone circuit}}
{{see also|Redstone circuit}}


A jukebox can act as a redstone [[Minecraft: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, redstone repeaters, and mechanism components. 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 can act as a redstone [[Minecraft:Redstone components#Power components|power source]]. A redstone signal of strength 15 is emitted while music from a disc is playing, powering any adjacent [[Minecraft:redstone wire]], [[Minecraft:redstone repeater]]s, and [[Minecraft: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 redstone comparator can read a jukebox to produce a signal that varies in strength based on which disc is inserted. The comparator emits power as long as the music disc is stored in the jukebox, even if it has stopped playing. The following table shows the redstone signal strength output for each disc.  
A [[Minecraft:redstone comparator]] can read a jukebox to produce a signal that varies in strength based on which disc is inserted. The comparator emits power as long as the music disc is stored in the jukebox, even if it has stopped playing. The following table shows the redstone signal strength output for each disc.  


{| class="wikitable"
{| class="wikitable"
Line 56: Line 57:
! Intensity
! Intensity
|-
|-
|(no disc)||{{MC/Blocksprite|redstone-dust-dot-off}} 0
|(no disc)||{{BlockSprite|redstone-dust-dot-off}} 0
|-
|-
|{{MC/Itemlink|Music Disc 13|''13''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 1
|{{ItemLink|Music Disc 13|''13''}}||{{BlockSprite|redstone-dust-dot-on}} 1
|-
|-
|{{MC/Itemlink|Music Disc cat|''cat''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 2
|{{ItemLink|Music Disc cat|''cat''}}||{{BlockSprite|redstone-dust-dot-on}} 2
|-
|-
|{{MC/Itemlink|Music Disc blocks|''blocks''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 3
|{{ItemLink|Music Disc blocks|''blocks''}}||{{BlockSprite|redstone-dust-dot-on}} 3
|-
|-
|{{MC/Itemlink|Music Disc chirp|''chirp''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 4
|{{ItemLink|Music Disc chirp|''chirp''}}||{{BlockSprite|redstone-dust-dot-on}} 4
|-
|-
|{{MC/Itemlink|Music Disc far|''far''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 5
|{{ItemLink|Music Disc far|''far''}}||{{BlockSprite|redstone-dust-dot-on}} 5
|-
|-
|{{MC/Itemlink|Music Disc mall|''mall''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 6
|{{ItemLink|Music Disc mall|''mall''}}||{{BlockSprite|redstone-dust-dot-on}} 6
|-
|-
|{{MC/Itemlink|Music Disc mellohi|''mellohi''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 7
|{{ItemLink|Music Disc mellohi|''mellohi''}}||{{BlockSprite|redstone-dust-dot-on}} 7
|-
|-
|{{MC/Itemlink|Music Disc stal|''stal''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 8
|{{ItemLink|Music Disc stal|''stal''}}<br>{{ItemLink|Music Disc Bounce|''Bounce''}}{{upcoming|Chaos Cubed}}||{{BlockSprite|redstone-dust-dot-on}} 8
|-
|-
|{{MC/Itemlink|Music Disc strad|''strad''}}<br>{{MC/Itemlink|Music Disc Lava Chicken|''Lava Chicken''}}
|{{ItemLink|Music Disc strad|''strad''}}<br>{{ItemLink|Music Disc Lava Chicken|''Lava Chicken''}}
|{{MC/Blocksprite|redstone-dust-dot-on}} 9
|{{BlockSprite|redstone-dust-dot-on}} 9
|-
|-
|{{MC/Itemlink|Music Disc ward|''ward''}}<br>{{MC/Itemlink|Music Disc Tears|''Tears''}}
|{{ItemLink|Music Disc ward|''ward''}}<br>{{ItemLink|Music Disc Tears|''Tears''}}
|{{MC/Blocksprite|redstone-dust-dot-on}} 10
|{{BlockSprite|redstone-dust-dot-on}} 10
|-
|-
|{{MC/Itemlink|Music Disc 11|''11''}}<br>{{MC/Itemlink|id=Music Disc Creator Music Box|Music Disc Creator (Music Box)|''Creator (Music Box)''}}
|{{ItemLink|Music Disc 11|''11''}}<br>{{ItemLink|id=Music Disc Creator Music Box|Music Disc Creator (Music Box)|''Creator (Music Box)''}}
|{{MC/Blocksprite|redstone-dust-dot-on}} 11
|{{BlockSprite|redstone-dust-dot-on}} 11
|-
|-
|{{MC/Itemlink|Music Disc wait|''wait''}}<br>{{MC/Itemlink|Music Disc Creator|''Creator''}}
|{{ItemLink|Music Disc wait|''wait''}}<br>{{ItemLink|Music Disc Creator|''Creator''}}
|{{MC/Blocksprite|redstone-dust-dot-on}} 12
|{{BlockSprite|redstone-dust-dot-on}} 12
|-
|-
|{{MC/Itemlink|Music Disc Pigstep|''Pigstep''}}<br>{{MC/Itemlink|Music Disc Precipice|''Precipice''}}
|{{ItemLink|Music Disc Pigstep|''Pigstep''}}<br>{{ItemLink|Music Disc Precipice|''Precipice''}}
|{{MC/Blocksprite|redstone-dust-dot-on}} 13
|{{BlockSprite|redstone-dust-dot-on}} 13
|-
|-
|{{MC/Itemlink|Music Disc otherside|''otherside''}}<br>{{MC/Itemlink|Music Disc Relic|''Relic''}}
|{{ItemLink|Music Disc otherside|''otherside''}}<br>{{ItemLink|Music Disc Relic|''Relic''}}
|{{MC/Blocksprite|redstone-dust-dot-on}} 14
|{{BlockSprite|redstone-dust-dot-on}} 14
|-
|-
|{{MC/Itemlink|Music Disc 5|''5''}}||{{MC/Blocksprite|redstone-dust-dot-on}} 15
|{{ItemLink|Music Disc 5|''5''}}||{{BlockSprite|redstone-dust-dot-on}} 15
|}
|}


==== Looping ====
==== Looping ====
Jukeboxes disable adjacent hoppers while 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 pulled out and stored in the hopper. To pull out the disc before the song ends, a minecart with hopper can be used, since it is not affected by the jukebox's redstone impulse.
Jukeboxes disable adjacent hoppers while 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 pulled out and stored in the hopper. To pull out the disc before the song ends, a [[Minecraft:minecart with hopper]] can be used, since it is not affected by the jukebox's redstone impulse.


A system of hoppers and droppers can then be used to automatically re-insert the disc, causing it to loop. Multiple different discs can be inserted into a system to create music playlists.
A system of hoppers and droppers can then be used to automatically re-insert the disc, causing it to loop. Multiple different discs can be inserted into a system to create music playlists.
Line 103: Line 104:


=== Fuel ===
=== Fuel ===
Jukeboxes can be used as a fuel in [[Minecraft:furnace]]s, smelting 1.5 items per block.
Jukeboxes can be used as a [[Minecraft:fuel]] in [[Minecraft:furnace]]s, smelting 1.5 items per block.
 
=== Note blocks ===
Jukeboxes can be placed under note blocks to produce "bass" sounds.


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


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


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


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


== Data values ==
== Data values ==
=== ID ===
=== ID ===
{{MC/Edition|java}}:
{{edition|java}}:
{{ID table
{{ID table
|edition=java
|edition=java
Line 138: Line 136:
|foot=1}}
|foot=1}}


{{MC/Edition|bedrock}}:
{{edition|bedrock}}:
{{ID table
{{ID table
|edition=bedrock
|edition=bedrock
Line 158: Line 156:


=== Block states ===
=== Block states ===
{{MC/See also|Block states}}
{{see also|Block states}}


{{MC/El|je}}:
{{el|je}}:
{{bst|has_record|false|false,true|True when the jukebox contains a music disc.|foot=1}}
{{bst|has_record|false|false,true|True when the jukebox contains a [[Minecraft:music disc]].|foot=1}}


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


{{MC/El|java}}:
{{el|java}}:
{{MC/See also|Block entity format}}
{{see also|Block entity format}}
<section begin="block data"/><div class="treeview">
<section begin="block data"/><div class="treeview">
*{{MC/Nbt|compound}} Block entity data
*{{nbt|compound}} Block entity data
** {{MC/Nbt inherit/blockentity}}
** {{nbt inherit/blockentity}}
** {{MC/Nbt|compound|RecordItem}}: The single item stack stored in this jukebox. Does not exist if the jukebox is empty. The item must have a jukebox_playable component in order to be placed into here by a player. Represents the <code>container.0</code> (or <code>contents</code>) slot.
** {{nbt|compound|RecordItem}}: The single item stack stored in this jukebox. Does not exist if the jukebox is empty. The item must have a [[Minecraft:data_component_format#jukebox_playable|jukebox_playable]] component in order to be placed into here by a player. Represents the <code>container.0</code> (or <code>contents</code>) slot.
*** {{MC/Nbt inherit/itemnoslot|indent=***}}
*** {{nbt inherit/itemnoslot|indent=***}}
** {{MC/Nbt|long|ticks_since_song_started}}: The number of ticks since the song started playing. Automatically stops the sound event of the song once it reaches the song's length in ticks, and controls when particles are created. Does not exist when there is no song playing or no item.
** {{nbt|long|ticks_since_song_started}}: The number of ticks since the song started playing. Automatically stops the sound event of the song once it reaches the song's length in ticks, and controls when particles are created. Does not exist when there is no song playing or no item.
</div><section end="block data"/>
</div><section end="block data"/>


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


== Achievements ==
== Achievements ==
{{MC/Load achievements|music to my ears;sound of music}}
{{load achievements|music to my ears;sound of music}}


== Advancements ==
== Advancements ==
{{MC/Load advancements|sound of music}}
{{load advancements|sound of music}}


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


=== ''Bedrock Edition'' ===
=== ''Bedrock Edition'' ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine||1.2.0|dev=beta 1.2.0.2|[[File:Jukebox JE1 BE1.png|32px]] Added jukeboxes.}}
|{{HistoryLine||1.2.0|dev=beta 1.2.0.2|[[File:Jukebox JE1 BE1.png|32px]] Added jukeboxes.}}
|{{MC/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.10.0|dev=beta 1.10.0.3|[[File:Jukebox JE2 BE2.png|32px]] The texture of jukeboxes has now been changed.}}
|{{MC/HistoryLine||1.19.10|dev=Preview 1.19.10.22|Allays now dance near jukeboxes that are playing music.}}
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.22|[[Minecraft:Allay]]s now dance near jukeboxes that are playing music.}}
|{{MC/HistoryLine||1.20.30|dev=Preview 1.20.20.21|Increased the hardness of jukeboxes from 0.8 to 2.
|{{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.}}
|Increased the blast resistance of jukeboxes from 0.8 to 6.}}
}}
}}
Line 229: Line 226:
=== Legacy Console Edition ===
=== Legacy Console Edition ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|console}}
|{{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.
|{{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.{{MC/Verify|type=change|was this added later? How about removal?}}}}
|Jukeboxes spit out the music disc when done playing.{{verify|type=change|was this added later? How about removal?}}}}
|{{MC/HistoryLine||xbox=TU9|The distance jukeboxes can be heard from has now been increased.}}
|{{HistoryLine||xbox=TU9|The distance jukeboxes can be heard from has now been increased.}}
|{{MC/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 [[Minecraft:redstone]] signal when a comparator is placed behind it; its strength (1–12) depends on which disc is inserted.}}
|{{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 [[Minecraft:redstone]] signal when a [[Minecraft:comparator]] is placed behind it; its strength (1–12) depends on which [[Minecraft:disc]] is inserted.}}
|{{MC/HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Added parrots, which dance to playing jukeboxes.}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Added [[Minecraft:parrot]]s, which dance to playing jukeboxes.}}
|{{MC/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.}}
|{{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>
<gallery>
Line 244: Line 241:
=== Data history ===
=== Data history ===
{{HistoryTable
{{HistoryTable
|{{MC/HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.8|dev=14w06a|Jukeboxes now use the newly-implemented model json file {{MC/Code|models/block/cube.json}}; previously the geometry was defined in the game code itself.}}
|{{HistoryLine||1.8|dev=14w06a|Jukeboxes now use the newly-implemented model json file {{code|models/block/cube.json}}; previously the geometry was defined in the game code itself.}}
|{{MC/HistoryLine||1.11|dev=16w32a|The [[Minecraft:block entity]] ID has been changed from <code>RecordPlayer</code> to <code>jukebox</code>.}}
|{{HistoryLine||1.11|dev=16w32a|The [[Minecraft:block entity]] ID has been changed from <code>RecordPlayer</code> to <code>jukebox</code>.}}
|{{MC/HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this block's numeral ID was 84.}}
|{{HistoryLine||1.13|dev=17w47a|Prior to [[Minecraft:1.13/Flattening|''The Flattening'']], this block's numeral ID was 84.}}
|{{MC/HistoryLine||1.19.1|dev=22w24a|Added block entity tags <code>IsPlaying</code>, <code>RecordStartTick</code>, and <code>TickCount</code>.}}
|{{HistoryLine||1.19.1|dev=22w24a|Added block entity tags <code>IsPlaying</code>, <code>RecordStartTick</code>, and <code>TickCount</code>.}}
|{{HistoryLine||1.21|dev=24w21a|Changed jukebox block entity data: removed {{nbt|boolean|IsPlaying}}, {{nbt|long|RecordStartTick}}, and {{nbt|long|TickCount}}; added {{nbt|long|ticks_since_song_started}}.}}
}}
}}


== Issues ==
== Issues ==
{{MC/Issue list}}
{{Issue list}}


== Trivia ==
== Trivia ==
[[File:C418 skin.png|upright=0.4|thumb|C418's skin]]
[[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.
* [[Minecraft: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 {{MC/W|phonograph|newtab=1}} can use a diamond-tipped stylus. Similarly, the jukebox uses a [[Minecraft:diamond]] as a crafting ingredient. It is unknown if this was a coincidence or a deliberate choice.
* In real life, a {{W|phonograph|newtab=1}} can use a diamond-tipped stylus. Similarly, the jukebox uses a [[Minecraft:diamond]] as a crafting ingredient. It is unknown if this was a coincidence or a deliberate choice.
{{MC/-}}
{{-}}


== Gallery ==
== Gallery ==
=== Mojang screenshots ===
=== Mojang screenshots ===
<gallery>
<gallery>
File:Crimson Forest Jukebox.jpg|A jukebox playing in a crimson forest.
File:Crimson Forest Jukebox.jpg|A jukebox playing in a [[Minecraft:crimson forest]].
Lush Cave Jukebox.jpg|Jukebox in lush caves.
Lush Cave Jukebox.jpg|Jukebox in lush caves.
File:t-1.21-tech-custom-music.jpg|"Steve is playing around with a Jukebox in the center of a Village. A [[Minecraft: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>
File:t-1.21-tech-custom-music.jpg|"[[Minecraft:Steve]] is playing around with a Jukebox in the center of a [[Minecraft:Village]]. A [[Minecraft: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>
</gallery>


Line 275: Line 273:


== See also ==
== See also ==
* Music
* [[Minecraft:Music]]


== References ==
== References ==
{{MC/Reflist}}
{{Reflist}}


== External links ==
== External links ==
Line 284: Line 282:


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


[[Category:Manufactured blocks]]
[[Category:Manufactured blocks]]
Line 293: Line 291:
[[Category:Readable by comparators]]
[[Category:Readable by comparators]]


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

Latest revision as of 11:07, 22 May 2026

Template:Infobox block A jukebox is a Minecraft:block used to insert and play Minecraft:music discs. Playing a disc causes it to produce a Minecraft:redstone signal and allows nearby Minecraft:allays to duplicate when given Minecraft:amethyst shards.

Obtaining

Breaking

A jukebox can be broken using any Minecraft:tool, but an Minecraft:axe is the fastest. Jukeboxes also drop all of their contents. Template:Breaking row

Crafting

Template:Crafting

Usage

Playback

Template:Control a Minecraft:music disc on a jukebox inserts the disc and plays Minecraft:music or other audio corresponding to the type of music disc used. Pressing Template:Control 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 Minecraft:particles emit out the top when sound is playing. Minecraft:Audio being played by a jukebox can be heard from up to 64 blocks away.

Minecraft:Hoppers and Minecraft:droppers and Minecraft:crafters (via crafting Minecraft:disc fragments into Minecraft:music disc 5) can be used to insert discs into a jukebox.

Tamed Minecraft:parrots and Minecraft:allays dance while in a 3 block radius from a jukebox that is playing a disc.

Allay duplication

File:Allay breeding.png
An allay duplicating.

If an Minecraft:amethyst shard is used on an allay dancing next to a playing jukebox, the allay splits in two (itself and a new allay) and the amethyst shard is consumed. Both allays have a 5-minute cooldown before they can be duplicated again.

Redstone component

Template:See also

A jukebox can act as a redstone power source. A redstone signal of strength 15 is emitted while music from a disc is playing, powering any adjacent Minecraft:redstone wire, Minecraft:redstone repeaters, and Minecraft:mechanism components. 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 Minecraft:redstone comparator can read a jukebox to produce a signal that varies in strength based on which disc is inserted. The comparator emits power as long as the music disc is stored in the jukebox, even if it has stopped playing. The following table shows the redstone signal strength output for each disc.

Disc Intensity
(no disc) Template:BlockSprite 0
Template:ItemLink Template:BlockSprite 1
Template:ItemLink Template:BlockSprite 2
Template:ItemLink Template:BlockSprite 3
Template:ItemLink Template:BlockSprite 4
Template:ItemLink Template:BlockSprite 5
Template:ItemLink Template:BlockSprite 6
Template:ItemLink Template:BlockSprite 7
Template:ItemLink
Template:ItemLinkTemplate:Upcoming
Template:BlockSprite 8
Template:ItemLink
Template:ItemLink
Template:BlockSprite 9
Template:ItemLink
Template:ItemLink
Template:BlockSprite 10
Template:ItemLink
Template:ItemLink
Template:BlockSprite 11
Template:ItemLink
Template:ItemLink
Template:BlockSprite 12
Template:ItemLink
Template:ItemLink
Template:BlockSprite 13
Template:ItemLink
Template:ItemLink
Template:BlockSprite 14
Template:ItemLink Template:BlockSprite 15

Looping

Jukeboxes disable adjacent hoppers while 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 pulled out and stored in the hopper. To pull out the disc before the song ends, a Minecraft:minecart with hopper can be used, since it is not affected by the jukebox's redstone impulse.

A system of hoppers and droppers can then be used to automatically re-insert the disc, causing it to loop. Multiple different discs can be inserted into a system to create music playlists.

If a hopper under the jukebox is powered by anything else, it does not eject the disc, allowing systems to be paused once the current disc stops playing.

Fuel

Jukeboxes can be used as a Minecraft:fuel in Minecraft:furnaces, smelting 1.5 items per block.

Piston interactivity

Jukeboxes cannot be pushed by Minecraft:pistons. They also cannot be pushed or pulled by Minecraft:sticky pistons.

Sounds

Music discs are not included here.

Template:Edition: Template:Sound table/Block/Wood/JE

Template:Edition: Template:Sound table/Block/Wood/BE

Data values

ID

Template:Edition: Template:ID table Template:ID table

Template:Edition: Template:ID table Template:ID table

Block states

Template:See also

Template:El: Template:Bst

Block data

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

Template:El: Template:See also

<section begin="block data"/>

  • Template:Nbt Block entity data
    • Template:Nbt inherit/blockentity
    • Template:Nbt: The single item stack stored in this jukebox. Does not exist if the jukebox is empty. The item must have a jukebox_playable component in order to be placed into here by a player. Represents the container.0 (or contents) slot.
    • Template:Nbt: The number of ticks since the song started playing. Automatically stops the sound event of the song once it reaches the song's length in ticks, and controls when particles are created. Does not exist when there is no song playing or no item.

<section end="block data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Block entity format.

Achievements

Template:Load achievements

Advancements

Template:Load advancements

History

Template:More sounds

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Data history

Template:HistoryTable

Issues

Template:Issue list

Trivia

File:C418 skin.png
C418's skin
  • Minecraft: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 Template:W can use a diamond-tipped stylus. Similarly, the jukebox uses a Minecraft:diamond as a crafting ingredient. It is unknown if this was a coincidence or a deliberate choice.


Gallery

Mojang screenshots

In other media

See also

References

Template:Reflist

External links

Navigation

Template:Navbox redstone Template:Navbox blocks

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