Minecraft:Jukebox: Difference between revisions
More actions
imported>User-12316399 |
Remove broken links to missing pages |
||
| Line 7: | Line 7: | ||
| light = No | | light = No | ||
| tool = Axe | | tool = Axe | ||
| renewable = No ( | | renewable = No (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 | 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. | ||
== Obtaining == | == Obtaining == | ||
| Line 36: | Line 36: | ||
== Usage == | == Usage == | ||
=== Playback === | === Playback === | ||
{{control|Using}} a | {{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 {{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. | ||
[[Minecraft:Hopper]]s and [[Minecraft:dropper]]s and [[Minecraft:crafter]]s (via crafting | [[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. | ||
Tamed | Tamed parrots and allays dance while in a 3 block radius from a jukebox that is playing a disc. | ||
==== Allay duplication ==== | ==== Allay duplication ==== | ||
If an | 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. | ||
=== Redstone component === | === Redstone component === | ||
{{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 | 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 | 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. | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 96: | Line 96: | ||
==== 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 | 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. | ||
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 103: | ||
=== Fuel === | === Fuel === | ||
Jukeboxes can be used as a | Jukeboxes can be used as a fuel in [[Minecraft:furnace]]s, smelting 1.5 items per block. | ||
=== Note blocks === | === Note blocks === | ||
Jukeboxes can be placed under | 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 | Jukeboxes cannot be pushed by [[Minecraft:piston]]s. They also cannot be pushed or pulled by sticky pistons. | ||
== Sounds == | == Sounds == | ||
| Line 161: | Line 161: | ||
{{el|je}}: | {{el|je}}: | ||
{{bst|has_record|false|false,true|True when the jukebox contains a | {{bst|has_record|false|false,true|True when the jukebox contains a music disc.|foot=1}} | ||
=== Block data === | === Block data === | ||
| Line 171: | Line 171: | ||
*{{nbt|compound}} Block entity data | *{{nbt|compound}} Block entity data | ||
** {{nbt inherit/blockentity}} | ** {{nbt inherit/blockentity}} | ||
** {{nbt|compound|RecordItem}}: The single item stack stored in this jukebox. Does not exist if the jukebox is empty. The item must have a | ** {{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 inherit/itemnoslot|indent=***}} | *** {{nbt inherit/itemnoslot|indent=***}} | ||
** {{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. | ||
| Line 191: | Line 191: | ||
|{{HistoryLine|java alpha}} | |{{HistoryLine|java alpha}} | ||
|{{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 | |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.}} | ||
|{{HistoryLine|java beta}} | |{{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 [[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 | |{{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|java}} | |{{HistoryLine|java}} | ||
|{{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]].}} | ||
|{{HistoryLine||1.2.4|dev=release| | |{{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 [[Minecraft:redstone]] signal when a | |{{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.7.2|dev=1.7.1| | |{{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 | |{{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|||dev=14w10b|Jukeboxes no longer lose their texture when playing music.}} | |{{HistoryLine|||dev=14w10b|Jukeboxes no longer lose their texture when playing music.}} | ||
|{{HistoryLine||1.12|dev=17w14a| | |{{HistoryLine||1.12|dev=17w14a|Parrots now dance to playing jukeboxes.}} | ||
|{{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.}} | ||
|{{HistoryLine||1.16|dev=20w06a| | |{{HistoryLine||1.16|dev=20w06a|Crimson planks and warped planks can now be used to craft jukeboxes.}} | ||
|{{HistoryLine||1.19|dev=22w11a| | |{{HistoryLine||1.19|dev=22w11a|Mangrove planks can now be used to craft jukeboxes.}} | ||
|{{HistoryLine||1.19.1|dev=22w24a| | |{{HistoryLine||1.19.1|dev=22w24a|Allays now dance near jukeboxes that are playing music.}} | ||
|{{HistoryLine||1.19.3|exp=Update 1.20|dev=22w42a| | |{{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 | |{{HistoryLine||1.19.4|dev=23w06a|Jukeboxes now emit a note particle above them while playing a music disc, to match {{BE}}.}} | ||
|{{HistoryLine|||dev=23w07a|Jukeboxes now emit a redstone signal when any music disc is played, matching {{BE}}. | |{{HistoryLine|||dev=23w07a|Jukeboxes now emit a redstone signal when any music disc is played, matching {{BE}}. | ||
|Jukeboxes now redirect adjacent | |Jukeboxes now redirect adjacent redstone wire to point toward themselves. | ||
|[[Minecraft:Dropper]]s, [[Minecraft:hopper]]s, and | |[[Minecraft:Dropper]]s, [[Minecraft:hopper]]s, and minecarts with hopper can now interact with a jukebox.}} | ||
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w07a| | |{{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|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>}} | ||
| Line 222: | Line 222: | ||
|{{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.}} | ||
|{{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.}} | ||
|{{HistoryLine||1.19.10|dev=Preview 1.19.10.22| | |{{HistoryLine||1.19.10|dev=Preview 1.19.10.22|Allays 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. | |{{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 233: | Line 233: | ||
|Jukeboxes spit out the music disc when done playing.{{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?}}}} | ||
|{{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.}} | ||
|{{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 | |{{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=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Added | |{{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=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.}} | ||
}} | }} | ||
| Line 247: | Line 247: | ||
|{{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.}} | |{{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.}} | ||
|{{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>.}} | ||
|{{HistoryLine||1.13|dev=17w47a|Prior to | |{{HistoryLine||1.13|dev=17w47a|Prior to ''The Flattening'', this block's numeral ID was 84.}} | ||
|{{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>.}} | ||
}} | }} | ||
| Line 256: | Line 256: | ||
== 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. | ||
* 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. | * 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. | ||
{{-}} | {{-}} | ||
| Line 263: | Line 263: | ||
=== Mojang screenshots === | === Mojang screenshots === | ||
<gallery> | <gallery> | ||
File:Crimson Forest Jukebox.jpg|A jukebox playing in a | File:Crimson Forest Jukebox.jpg|A jukebox playing in a 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|" | 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> | ||
</gallery> | </gallery> | ||
| Line 275: | Line 275: | ||
== See also == | == See also == | ||
* | * Music | ||
== References == | == References == | ||
| Line 293: | Line 293: | ||
[[Category:Readable by comparators]] | [[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:唱片机 | |||
Revision as of 15:53, 9 April 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Infobox block 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.
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
Usage
Playback
Template:Control a music disc on a jukebox inserts the disc and plays 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 particles emit out the top when sound is playing. 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 disc fragments into 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.
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.
Redstone component
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 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 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.
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.
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 fuel in Minecraft:furnaces, smelting 1.5 items per block.
Note blocks
Jukeboxes can be placed under note blocks to produce "bass" sounds.
Piston interactivity
Jukeboxes cannot be pushed by Minecraft:pistons. They also cannot be pushed or pulled by sticky pistons.
Sounds
Music discs are not included here.
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table Template:ID table
Block states
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(orcontents) 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"/>
Achievements
Advancements
History
Java Edition
Bedrock Edition
Legacy Console Edition
-
A jukebox.
-
First image of a jukebox in Bedrock Edition.
Data history
Issues
Trivia
- 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
-
A jukebox playing in a crimson forest.
-
Jukebox in lush caves.
-
"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>Template:Mcnet</ref>
In other media
-
A group of jukeboxes.
-
A parrot dancing on a jukebox.
See also
- Music
References
External links
- Block of the Week: Jukebox – Minecraft.net on May 26, 2017
Template:Navbox redstone Template:Navbox blocks
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:唱片机