Subtitles (also known as captions) are a feature which display text for sounds in game. This feature is mainly intended for players who are hard of hearing, deaf or play with sounds off. They can also be used for hearing quieter sounds.
Usage
When subtitles are turned on, a black box appears in the bottom right corner, which lists sounds in the world that are nearby to the player. If the sounds are offscreen, "<" or ">" point in the direction the sound is coming from. As the sound fades away, the text also fades, becoming less white.
All sounds (whether environmental, from entities, block updates or other sources) have their own individualised subtitles. For entities, the entity is displayed followed by a specific verb, e.g. "Rabbit squeaks" or "Villager mumbles". However, the object is not specified for removing or placing blocks and the sound of footsteps.
Subtitles can be configured in the "Music & Sound" section of the Options menu.
Subtitles
Below are subtitles for all sound events.
Blocks
| Block | Data value | Subtitle |
|---|---|---|
| All blocks | subtitles.block.generic.break
|
Block broken |
subtitles.block.generic.footsteps
|
Footsteps | |
subtitles.block.generic.place
|
Block placed | |
| Anvil | subtitles.block.anvil.destroy
|
Anvil destroyed |
subtitles.block.anvil.land
|
Anvil landed | |
subtitles.block.anvil.use
|
Anvil used | |
| Brewing Stand | subtitles.block.brewing_stand.brew
|
Brewing Stand bubbles |
| Button | subtitles.block.button.click
|
Button clicks |
| Chest | subtitles.block.chest.close
|
Chest closes |
subtitles.block.chest.locked
|
Chest locked | |
subtitles.block.chest.open
|
Chest opens | |
| Chorus Flower | subtitles.block.chorus_flower.death
|
Chorus Flower withers |
subtitles.block.chorus_flower.grow
|
Chorus Flower grows | |
| Redstone Comparator | subtitles.block.comparator.click
|
Comparator clicks |
| Dispenser | subtitles.block.dispenser.dispense
|
Dispensed items |
subtitles.block.dispenser.fail
|
Dispenser failed | |
| Door | subtitles.block.door.toggle
|
Door creaks |
| Fence Gate | subtitles.block.fence_gate.toggle
|
Fence Gate creaks |
| Fire | subtitles.block.fire.ambient
|
Fire crackles |
subtitles.block.fire.extinguish
|
Fire extinguished | |
| Furnace | subtitles.block.furnace.fire_crackle
|
Furnace crackles |
| Iron Trapdoor | subtitles.block.iron_trapdoor.close
|
Trapdoor opens |
subtitles.block.iron_trapdoor.open
|
Trapdoor closes | |
| Lava | subtitles.block.lava.ambient
|
Lava pops |
subtitles.block.lava.extinguish
|
Lava hisses | |
| Lever | subtitles.block.lever.click
|
Lever clicks |
| Note Block | subtitles.block.note.note
|
Noteblock plays |
| Piston | subtitles.block.piston.move
|
Piston moves |
| Portal | subtitles.block.portal.ambient
|
Portal whooshes |
| Pressure Plate | subtitles.block.pressure_plate.click
|
Pressure Plate clicks |
| Redstone Torch | subtitles.block.redstone_torch.burnout
|
Torch fizzes |
| Wooden Trapdoor | subtitles.block.trapdoor.toggle
|
Trapdoor creaks |
| Tripwire | subtitles.block.tripwire.attach
|
Tripwire attaches |
subtitles.block.tripwire.click
|
Tripwire clicks | |
subtitles.block.tripwire.detach
|
Tripwire detaches | |
| Water | subtitles.block.water.ambient
|
Water splashes |
Mobs
| Mob | Data value | Subtitle |
|---|---|---|
| All mobs | subtitles.entity.generic.big_fall
|
Something fell |
subtitles.entity.generic.burn
|
Burning | |
subtitles.entity.generic.death
|
Dying | |
subtitles.entity.generic.drink
|
Sipping | |
subtitles.entity.generic.eat
|
Eating | |
subtitles.entity.generic.explode
|
Explosion | |
subtitles.entity.generic.extinguish
|
Fire extinguishes | |
subtitles.entity.generic.hurt
|
Something hurts | |
subtitles.entity.generic.small_fall
|
Something tripped | |
subtitles.entity.generic.splash
|
Splashing | |
subtitles.entity.generic.swim
|
Swimming | |
| Bat | subtitles.entity.bat.ambient
|
Bat screeches |
subtitles.entity.bat.death
|
Bat dies | |
subtitles.entity.bat.hurt
|
Bat hurt | |
subtitles.entity.bat.takeoff
|
Bat takes off | |
| Blaze | subtitles.entity.blaze.ambient
|
Blaze breathes |
subtitles.entity.blaze.burn
|
Blaze crackles | |
subtitles.entity.blaze.death
|
Blaze dies | |
subtitles.entity.blaze.hurt
|
Blaze hurts | |
subtitles.entity.blaze.shoot
|
Blaze shoots | |
| Ocelot | subtitles.entity.cat.ambient
|
Cat meows |
subtitles.entity.cat.death
|
Cat dies | |
subtitles.entity.cat.hurt
|
Cat hurts | |
| Chicken | subtitles.entity.chicken.ambient
|
Chicken clucks |
subtitles.entity.chicken.death
|
Chicken dies | |
subtitles.entity.chicken.egg
|
Chicken plops | |
subtitles.entity.chicken.hurt
|
Chicken hurts | |
| Cow | subtitles.entity.cow.ambient
|
Cow moos |
subtitles.entity.cow.death
|
Cow dies | |
subtitles.entity.cow.hurt
|
Cow hurts | |
subtitles.entity.cow.milk
|
Cow gets milked | |
| Creeper | subtitles.entity.creeper.death
|
Creeper dies |
subtitles.entity.creeper.hurt
|
Creeper hurts | |
subtitles.entity.creeper.primed
|
Creeper hisses | |
| Donkey | subtitles.entity.donkey.ambient
|
Donkey hee-haws |
subtitles.entity.donkey.angry
|
Donkey neighs | |
subtitles.entity.donkey.chest
|
Donkey Chest equips | |
subtitles.entity.donkey.death
|
Donkey dies | |
subtitles.entity.donkey.hurt
|
Donkey hurts | |
| Ender Dragon | subtitles.entity.enderdragon.ambient
|
Dragon roars |
subtitles.entity.enderdragon.death
|
Dragon dies | |
subtitles.entity.enderdragon.flap
|
Dragon flaps | |
subtitles.entity.enderdragon.growl
|
Dragon growls | |
subtitles.entity.enderdragon.hurt
|
Dragon hurts | |
subtitles.entity.enderdragon.shoot
|
Dragon shoots | |
| Enderman | subtitles.entity.enderman.ambient
|
Enderman vwoops |
subtitles.entity.enderman.death
|
Enderman dies | |
subtitles.entity.enderman.hurt
|
Enderman hurts | |
subtitles.entity.enderman.stare
|
Enderman cries out | |
subtitles.entity.enderman.teleport
|
Enderman teleports | |
| Endermite | subtitles.entity.endermite.ambient
|
Endermite scuttles |
subtitles.entity.endermite.death
|
Endermite dies | |
subtitles.entity.endermite.hurt
|
Endermite hurts | |
| Ghast | subtitles.entity.ghast.ambient
|
Ghast cries |
subtitles.entity.ghast.death
|
Ghast dies | |
subtitles.entity.ghast.hurt
|
Ghast hurts | |
subtitles.entity.ghast.shoot
|
Ghast shoots | |
| Guardian | subtitles.entity.guardian.ambient
|
Guardian moans |
subtitles.entity.guardian.ambient.land
|
Guardian flaps | |
subtitles.entity.guardian.attack
|
Guardian shoots | |
subtitles.entity.guardian.curse
|
Guardian curses | |
subtitles.entity.guardian.death
|
Guardian dies | |
subtitles.entity.guardian.flop
|
Guardian flops | |
subtitles.entity.guardian.hurt
|
Guardian hurts | |
| Horse | subtitles.entity.horse.ambient
|
Horse neighs |
subtitles.entity.horse.angry
|
Horse neighs | |
subtitles.entity.horse.armor
|
Horse armor equips | |
subtitles.entity.horse.breathe
|
Horse breathes | |
subtitles.entity.horse.death
|
Horse dies | |
subtitles.entity.horse.eat
|
Horse eats | |
subtitles.entity.horse.gallop
|
Horse gallops | |
subtitles.entity.horse.hurt
|
Horse hurts | |
subtitles.entity.horse.jump
|
Horse jumps | |
subtitles.entity.horse.saddle
|
Saddle equips | |
| Husk | subtitles.entity.husk.ambient
|
Husk groans |
subtitles.entity.husk.death
|
Husk dies | |
subtitles.entity.husk.hurt
|
Husk hurts | |
| Iron Golem | subtitles.entity.iron_golem.attack
|
Iron Golem attacks |
subtitles.entity.iron_golem.death
|
Iron Golem dies | |
subtitles.entity.iron_golem.hurt
|
Iron Golem hurts | |
| Magma Cube | subtitles.entity.magmacube.death
|
Magma Cube dies |
subtitles.entity.magmacube.hurt
|
Magma Cube hurts | |
subtitles.entity.magmacube.jump
|
Magma Cube jumps | |
| Mule | subtitles.entity.mule.ambient
|
Mule hee-haws |
subtitles.entity.mule.death
|
Mule dies | |
subtitles.entity.mule.hurt
|
Mule hurts | |
| Pig | subtitles.entity.pig.ambient
|
Pig oinks |
subtitles.entity.pig.death
|
Pig dies | |
subtitles.entity.pig.hurt
|
Pig hurts | |
subtitles.entity.pig.saddle
|
Saddle equips | |
| Player | subtitles.entity.player.burp
|
Burp |
subtitles.entity.player.death
|
Player dies | |
subtitles.entity.player.hurt
|
Player hurts | |
subtitles.entity.player.levelup
|
Player dings | |
| Polar Bear | subtitles.entity.polar_bear.ambient
|
Polar Bear groans |
subtitles.entity.polar_bear.baby_ambient
|
Polar Bear hums | |
subtitles.entity.polar_bear.death
|
Polar Bear dies | |
subtitles.entity.polar_bear.hurt
|
Polar Bear hurts | |
subtitles.entity.polar_bear.warning
|
Polar Bear roars | |
| Rabbit | subtitles.entity.rabbit.ambient
|
Rabbit squeaks |
subtitles.entity.rabbit.attack
|
Rabbit attacks | |
subtitles.entity.rabbit.death
|
Rabbit dies | |
subtitles.entity.rabbit.hurt
|
Rabbit hurts | |
subtitles.entity.rabbit.jump
|
Rabbit hops | |
| Sheep | subtitles.entity.sheep.ambient
|
Sheep baahs |
subtitles.entity.sheep.death
|
Sheep dies | |
subtitles.entity.sheep.hurt
|
Sheep hurts | |
| Shulker | subtitles.entity.shulker.ambient
|
Shulker lurks |
subtitles.entity.shulker.close
|
Shulker closes | |
subtitles.entity.shulker.death
|
Shulker dies | |
subtitles.entity.shulker.hurt
|
Shulker hurts | |
subtitles.entity.shulker.open
|
Shulker opens | |
subtitles.entity.shulker.shoot
|
Shulker shoots | |
subtitles.entity.shulker.teleport
|
Shulker teleports | |
| Shulker Projectile | subtitles.entity.shulker.hit
|
Shulker bullet explodes |
subtitles.entity.shulker.hurt
|
Shulker bullet breaks | |
| Silverfish | subtitles.entity.silverfish.ambient
|
Silverfish hisses |
subtitles.entity.silverfish.death
|
Silverfish dies | |
subtitles.entity.silverfish.hurt
|
Silverfish hurts | |
| Skeleton | subtitles.entity.skeleton.ambient
|
Skeleton rattles |
subtitles.entity.skeleton.death
|
Skeleton dies | |
subtitles.entity.skeleton.hurt
|
Skeleton hurts | |
subtitles.entity.skeleton.shoot
|
Skeleton shoots | |
| Skeleton Horse | subtitles.entity.skeleton_horse.ambient
|
Skeleton Horse cries |
subtitles.entity.skeleton_horse.death
|
Skeleton Horse dies | |
subtitles.entity.skeleton_horse.hurt
|
Skeleton Horse hurts | |
| Slime | subtitles.entity.slime.attack
|
Slime attacks |
subtitles.entity.slime.death
|
Slime dies | |
subtitles.entity.slime.hurt
|
Slime hurts | |
subtitles.entity.slime.jump
|
Slime jumps | |
subtitles.entity.slime.squish
|
Slime squashes | |
| Snowman | subtitles.entity.squid.death
|
Snow Golem dies |
subtitles.entity.squid.hurt
|
Snow Golem hurts | |
| Spider | subtitles.entity.spider.ambient
|
Spider hisses |
subtitles.entity.spider.death
|
Spider dies | |
subtitles.entity.spider.hurt
|
Spider hurts | |
| Squid | subtitles.entity.squid.ambient
|
Squid swims |
subtitles.entity.squid.death
|
Squid dies | |
subtitles.entity.squid.hurt
|
Squid hurts | |
| Stray | subtitles.entity.stray.ambient
|
Stray rattles |
subtitles.entity.stray.death
|
Stray dies | |
subtitles.entity.stray.hurt
|
Stray hurts | |
| Villager | subtitles.entity.villager.ambient
|
Villager mumbles |
subtitles.entity.villager.death
|
Villager dies | |
subtitles.entity.villager.hurt
|
Villager hurts | |
subtitles.entity.villager.no
|
Villager disagrees | |
subtitles.entity.villager.trading
|
Villager trades | |
subtitles.entity.villager.yes
|
Villager agrees | |
| Witch | subtitles.entity.witch.ambient
|
Witch giggles |
subtitles.entity.witch.death
|
Witch dies | |
subtitles.entity.witch.drink
|
Witch drinks | |
subtitles.entity.witch.hurt
|
Witch hurts | |
subtitles.entity.witch.throw
|
Witch throws | |
| Wither | subtitles.entity.wither.ambient
|
Wither angers |
subtitles.entity.wither.death
|
Wither dies | |
subtitles.entity.wither.hurt
|
Wither hurts | |
subtitles.entity.wither.shoot
|
Wither attacks | |
subtitles.entity.wither.spawn
|
Wither prepares | |
| Wither Skeleton | subtitles.entity.wither_skeleton.ambient
|
Wither Skeleton rattles |
subtitles.entity.wither_skeleton.death
|
Wither Skeleton dies | |
subtitles.entity.wither_skeleton.hurt
|
Wither Skeleton hurts | |
| Wolf | subtitles.entity.wolf.ambient
|
Wolf pants |
subtitles.entity.wolf.death
|
Wolf dies | |
subtitles.entity.wolf.growl
|
Wolf growls | |
subtitles.entity.wolf.hurt
|
Wolf hurts | |
subtitles.entity.wolf.shake
|
Wolf shakes | |
| Zombie | subtitles.entity.zombie.ambient
|
Zombie groans |
subtitles.entity.zombie.death
|
Zombie dies | |
subtitles.entity.zombie.hurt
|
Zombie hurts | |
subtitles.entity.zombie.infect
|
Zombie infects | |
| Zombie Horse | subtitles.entity.zombie_horse.ambient
|
Zombie Horse cries |
subtitles.entity.zombie_horse.death
|
Zombie Horse dies | |
subtitles.entity.zombie_horse.hurt
|
Zombie Horse hurts | |
| Zombie Pigman | subtitles.entity.zombie_pigman.ambient
|
Zombie Pigman grunts |
subtitles.entity.zombie_pigman.angry
|
Zombie Pigman angers | |
subtitles.entity.zombie_pigman.death
|
Zombie Pigman dies | |
subtitles.entity.zombie_pigman.hurt
|
Zombie Pigman hurts | |
| Zombie Villager | subtitles.entity.zombie_villager.converted
|
Zombie vociferates |
subtitles.entity.zombie_villager.cure
|
Zombie snuffles |
Objects
| Object | Data value | Subtitle |
|---|---|---|
| Armor Stand | subtitles.entity.armorstand.fall
|
Something fell |
| Arrow | subtitles.entity.arrow.hit
|
Arrow hits |
subtitles.entity.arrow.shoot
|
Arrow fired | |
subtitles.entity.arrow.successful_hit
|
Player hit | |
| Egg | subtitles.entity.egg.throw
|
Egg flies |
| Eye of Ender | subtitles.entity.endereye.launch
|
Eye of Ender shoots |
| Ender Pearl | subtitles.entity.enderpearl.throw
|
Ender Pearl flies |
| Experience Orb | subtitles.entity.experience_orb.pickup
|
Experience gained |
| Firework Rocket | subtitles.entity.firework.blast
|
Firework blasts |
subtitles.entity.firework.launch
|
Firework launches | |
subtitles.entity.firework.twinkle
|
Firework twinkles | |
| Fishing Rod | subtitles.entity.bobber.splash
|
Fishing hook splashes |
subtitles.entity.bobber.thrown
|
Bobber thrown | |
| Item Frame | subtitles.entity.itemframe.add_item
|
Item Frame fills |
subtitles.entity.itemframe.break
|
Item Frame breaks | |
subtitles.entity.itemframe.place
|
Item Frame placed | |
subtitles.entity.itemframe.remove_item
|
Item Frame empties | |
subtitles.entity.itemframe.rotate_item
|
Item Frame clicks | |
| Leash Knot | subtitles.entity.leashknot.break
|
Leash knot breaks |
subtitles.entity.leashknot.place
|
Leash knot tied | |
| Minecart | subtitles.entity.minecart.riding
|
Minecart rolls |
| Painting | subtitles.entity.painting.break
|
Painting breaks |
subtitles.entity.painting.place
|
Painting placed | |
| Splash Potion | subtitles.entity.potion.splash
|
Bottle smashes |
subtitles.entity.potion.throw
|
Bottle thrown | |
| Snowball | subtitles.entity.snowball.throw
|
Snowball flies |
| TNT | subtitles.entity.tnt.primed
|
TNT fizzes |
Items
| Item | Data value | Subtitle |
|---|---|---|
| All items | subtitles.entity.item.break
|
Item breaks |
subtitles.entity.item.pickup
|
Item plops | |
| Armor | subtitles.item.armor.equip
|
Gear equipped |
subtitles.item.armor.equip_chain
|
Chain armor jingles | |
subtitles.item.armor.equip_diamond
|
Diamond armor clangs | |
subtitles.item.armor.equip_gold
|
Gold armor clinks | |
subtitles.item.armor.equip_iron
|
Iron armor clanks | |
subtitles.item.armor.equip_leather
|
Leather armor rustles | |
| Bottle | subtitles.item.bottle.fill
|
Bottle fills |
| Bucket | subtitles.item.bucket.empty
|
Bucket empties |
subtitles.item.bucket.fill
|
Bucket fills | |
| Chorus Fruit | subtitles.item.chorus_fruit.teleport
|
Player teleports |
| Fire Charge | subtitles.item.firecharge.use
|
Fireball whooshes |
| Flint and Steel | subtitles.item.flintandsteel.use
|
Flint and Steel click |
| Hoe | subtitles.item.hoe.till
|
Hoe tills |
| Shears | subtitles.item.shear
|
Shears click |
| Shield | subtitles.item.shield.block
|
Shield blocks |
| Shovel | subtitles.item.shovel.flatten
|
Shovel flattens |
Enchantments
| Enchantment | Data value | Subtitle |
|---|---|---|
| Thorns | enchant.thorns.hit
|
Thorns prick |
Environment
| Weather | Data value | Subtitle |
|---|---|---|
| Lightning | subtitles.entity.lightning.impact
|
Lighting strikes |
subtitles.entity.lightning.thunder
|
Thunder roars | |
| Rain | subtitles.weather.rain
|
Rain falls |
| Ambience | subtitles.ambient.cave
|
Eerie noise |
History
| release | |||||
|---|---|---|---|---|---|
1.9{{Extension DPL}}<ul><li>[[Drinks|Drinks]]<br/>[[File:Drinking Steve.png|150px|right]] [[File:Drinking Alex.png|150px|right]]
'''Drinks''' are a narrow class of consumable [[item]]s that can be ingested by the player in an extremely similar manner to [[food]]. However, drinks are not encountered quite as commonly as food is, and they are not nearly as integral to survival gameplay. Drinks can generally be distinguished from food from the sounds they make upon consumption, the lack of particles emitted by them, and the fact that they leave behind an empty container after consumption. They also do not require the hunger bar to be depleted, and do not affect hunger or saturation values upon use (with the exception of [[honey bottle]]s).
Drinks are drunk by holding {{control|use item}} while having the drink [[item]] selected in the hotbar or in the off hand.
== Drinks ==
{{/table}}
== History ==
{{main|Milk#History|Potion#History|Honey Bottle#History}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Added water bottles and potions.}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Added honey bottles.}}
{{History|pocket alpha}}
{{History||v0.7.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}}
{{History||v0.12.1|snap=build 1|Added water bottles and potions.}}
{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Added honey bottles.}}
{{History|foot}}
{{Items}}
[[ja:飲み物]]
[[pt:Bebidas]]
[[Category:Food]]</li><li>[[Tag (item)|Tag (item)]]<br/>{{About|the April Fools item|the standard item used to rename mobs|Name Tag}}
{{wip}}
{{joke feature}}
{{exclusive|java}}
{{Item
| title = Tag
| image = Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
Tags and Bits are items exclusive to the [[Java Edition 23w13a or b|23w13a_or_b]] [[Easter eggs#April Fools|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[NBT format|NBT tags]].
==Obtaining==
A [[stonecutter]] can be used to cut a [[Name Tag|name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.
{{Stonecutting
|head=1
|showdescription=1
|Name Tag
|Name, 16; Tag, 16
|description=The resulting "Name" items must be named in an [[anvil]].
}}
{{Stonecutting
|showdescription=
|Name; Tag
|Bit, 16
|foot=1
}}
To be able to proceed from here the <code>nbt_crafting</code> vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square. In appears like these are the only tag items that can be crafted from Bits.
A [[Crafting Table|crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[stick]]s added to the crafting recipe specifies the value of the Byte, as a [[wikipedia:Signed number representations#Two's complement|signed 8-bit value]]. For example, a "Tag" and a full stack of sticks make a Byte with the value <code>64b</code>, while 255 sticks result in <code>-1b</code>. Only one of the sticks is consumed. Two Bytes can be crafted into a "Short Tag" (equivalent to 16 bit), two Shorts into an "Int Tag" (equivalent to 32 bit), and two Ints into a "Long Tag" (equivalent to 64 bit). Many other combinations that form either 16, 32, or 64 bit are possible. For example, two Shorts and an Int make a Long. When combining values, their digits are stuck together in the given order, e.g. <code>1b</code> and <code>0b</code> make <code>256s</code> (equivalent to 0100<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.
"Float" and "Double Tags" can be crafted by adding one or two [[boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[string]].
{{Crafting
|head=1
|showdescription=1
|A1= Bit; ; Bit; Bit |B1= ; Bit; Bit; Bit
|A2= ; Bit; Bit; |B2= Bit; ; ; Bit
|A3= Bit; ; Bit; Bit |B3= ; Bit; Bit; Bit
|Output= Right Curly; Left Curly; Left Square; Right Square
|ignoreusage=1
}}
{{Crafting
|Tag
|String
|Output= String Tag
|description=String tags must be named in an [[anvil]] to set their value.
|ignoreusage=1
}}
{{Crafting
|Tag; Tag; Tag
|; Stick; Stick, 64
|; ; Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[wikipedia:Signed number representations#Two's complement|two's complements]]:
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
⋮<br>
254 sticks = <code>-2b</code><br>
255 sticks = <code>-1b</code>
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Byte Tag; Byte Tag
|Byte Tag; Byte Tag; Byte Tag
| ; Byte Tag; Byte Tag
| ; Byte Tag; Byte Tag
| ; ; Byte Tag
| ; ; Byte Tag
| ; ; Byte Tag
| ; ; Byte Tag
|Output= Short Tag; Int Tag; Long Tag
|description=Shorts and Ints can be combined the same way, even mixed.
Digits are appended, e.g. two <code>1b</code> tags make <code>257b</code> (0101<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]).
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Float Tag; Float Tag; Float Tag; Float Tag
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Double Tag; Double Tag; Double Tag; Double Tag
|ignoreusage=1
}}
{{Crafting
|Left Curly; Left Curly
|Name; Name
|Byte Tag; Byte Tag
|Right Curly; Name |; Byte Tag | |; Name |; Byte Tag |; Right Curly
|Output= Compound Tag; Compound Tag
|description=Instead of Bytes any other tag can be used, including other compound tags.
|ignoreusage=1
}}
{{Crafting
|Left Square; Left Square
|Byte Tag; Byte Tag
|Right Square; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Right Square
|Output= List Tag; List Tag
|description=Instead of Bytes any other tag can be used, including other list tags.
|ignoreusage=1
}}
{{Crafting
|Compound Tag; List Tag
|Compound Tag; List Tag
|Output= Compound Tag; List Tag
|description=Up to 9 can be combined.
When compound tags contain identical names, only the latest of the corresponding values is used.
|ignoreusage=1
|foot=1
}}
"Name" and "String Tags" must be named in an [[anvil]] before they can be used. Unnamed Names and Strings always produce a "Sssyntax Error". None of the other tag items can be named.
All these items can be combined in a crafting table to form a short sequence of JSON code, as long as the resulting syntax is valid. For example:
*A pair of Curlies that enclose a named "Name" item and some value, e.g. a Byte, create a "Compound Tag" with the content <code>{Example:0b}</code>.
**Because of the limited size of the crafting table only 3 name-value pairs can be put between Curlies at a time. Compound Tags of any length can be created by concatenating two or more Compound Tags.
**An empty pair of Curlies produces an empty Compound Tag with the content <code>{}</code>.
*A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content <code>[0b,0b,0b,0b,0b,0b,0b]</code>.
**Because of the limited size of the crafting table only 7 values can be put between Square brackets at a time. List Tags of any length can be created by concatenating two or more List Tags.
**An empty pair of Square brackets produces an empty List with the content <code>[]</code>.
**"Name" items cannot be used in a List.
The resulting Compound and List Tags can be used as values in other Compound and List Tags, as deeply nested as you want.
==Usage==
Tags appear to have no further functionality. They cannot be eaten or placed in the world, except in an item frame, as each other item can. However, Compound Tags with values like <code>{Enchantments:[{id:"minecraft:sharpness",lvl:127b}]}</code> will show the [[Enchanting|enchantment]] glint and actually act accordingly when used.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref> This appears to work with many weapon and tool [[Enchanting#Summary of enchantments by item|enchantments]].
In theory, an extremely lucky <code>replace_recipe_output</code> vote can change the crafting recipe for compound tags to output something else. When cheats are enabled you can test this with a command like <code>/vote rule minecraft:replace_recipe_output approve {key:"minecraft:compound_tag",value:"minecraft:netherite_sword"}</code>. However, as long as this vote is approved no other compound tag can be crafted. Use <code>/vote rule minecraft:replace_recipe_output repeal *</code> to undo all recipe replacements.
In combination with the <code>midas_touch</code> vote tag items can be converted into [[Gold Ingot|gold ingots]]. These retain their NBT data. When the world is loaded in another version of the game tag items disappear, but gold ingots persist.
==Trivia==
*This implies that a [[Name Tag|name tag]] is 128 bit.
*Compound and list tags are special in so far that the value they show in their [[tooltip]] is not merely a property of the item, but their ''actual'' [[NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.
==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Tag.png|32px]] Added tags.}}
{{History|foot}}
==Gallery==
<gallery>
Tag.png|Tag
Bit.png|Bit
Byte Tag.png|Byte Tag
Double Tag.png|Double Tag
End Tag.png|End Tag
Float Tag.png|Float Tag
Int Tag.png|Int Tag
Left Curly.png|Left Curly
Left Square.png|Left Sqaure
List Tag.png|List Tag
Long Tag.png|Long Tag
Name (23w13a or b).png|Name
Right Curly.png|Right Curly
Right Square.png|Right Square
Short Tag.png|Short Tag
Sssyntax Error.png|Sssyntax Error
String Tag.png|String Tag
</gallery>
== References ==
{{reflist}}
{{items}}
{{jokes}}
[[pt:Tag (item)]]
[[Category:Joke items]]</li></ul> | 9 March 2015 | Dinnerbone asks for feedback on his initial work on subtitles. At this stage, subtitles were superimposed onto objects. | |||
| 16 March 2015 | Dinnerbone changes subtitles into the current format. | ||||
| 13 October 2015 | Grum tweets that he is working on subtitles, and that as a side effect there is more control over the playing of sound events. | ||||
| 15w43b | Added subtitles. | ||||
Issues
Issues relating to "Subtitles" are maintained on the bug tracker. Report issues there.
| Help | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Menu screens |
| ||||||||||||||||||
| Game customization | |||||||||||||||||||
| Editions |
| ||||||||||||||||||
| Miscellaneous | |||||||||||||||||||