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

Minecraft:Tag (item): Difference between revisions

From SAS Gaming Wiki
imported>Amethyst hhh
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{About|the April Fools' Day joke item|other uses|Tag}}
{{About|the April Fools' Day joke item|other uses|Tag}}
{{joke feature}}
{{MC/Joke feature}}
{{Infobox item
{{Infobox item
| title = Tag
| title = Tag
Line 7: Line 7:
| stackable = Yes (64)
| stackable = Yes (64)
}}
}}
'''Tags''' and '''Bits''' are items exclusive to the [[Minecraft:Java Edition 23w13a or b|23w13a_or_b]] [[Minecraft:April Fools' Day jokes#2023|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[Minecraft:NBT format|NBT tags]].
'''Tags''' and '''Bits''' are items exclusive to the 23w13a_or_b April Fools' joke snapshot from 2023. They are used to craft in-game representations of NBT tags.


== Obtaining ==
== Obtaining ==
A [[Minecraft:stonecutter]] can be used to cut a [[Minecraft:name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.
A [[Minecraft:stonecutter]] can be used to cut a name tag into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.


{{Stonecutting
{{Stonecutting
Line 28: Line 28:
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.
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.


A [[Minecraft:crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[Minecraft:stick]]s added to the crafting recipe specifies the value of the Byte, as a [[Minecraft: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 [[Minecraft:wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.
A crafting table can be used to convert a "Tag" item into a "Byte Tag." The amount of [[Minecraft:stick]]s added to the crafting recipe specifies the value of the Byte, as a 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 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 [[Minecraft:boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[Minecraft:string]].
"Float" and "Double Tags" can be crafted by adding one or two [[Minecraft:boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[Minecraft:string]].
Line 53: Line 53:
|;    ;      Stick, 63
|;    ;      Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[Minecraft:wikipedia:Signed number representations#Two's complement|two's complements]]:
|description=Only 1 stick is consumed. 128 and more sticks make two's complements:
128 sticks = <code>-128b</code><br>
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
129 sticks = <code>-127b</code><br>
Line 73: Line 73:
|description=Shorts and Ints can be combined the same way, even mixed.
|description=Shorts and Ints can be combined the same way, even mixed.


Digits are appended, e.g. two <code>1b</code> tags make <code>257s</code> (0101<sub>16</sub> in [[Minecraft:wikipedia:Hexadecimal|hexadecimal]]).
Digits are appended, e.g. two <code>1b</code> tags make <code>257s</code> (0101<sub>16</sub> in hexadecimal).
|ignoreusage=1
|ignoreusage=1
}}
}}
Line 161: Line 161:


== Usage ==
== Usage ==
Compound Tags with [[Minecraft:enchantment]] data will exhibit the traits of that enchantment.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref>
Compound Tags with enchantment data will exhibit the traits of that enchantment.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref>


== Trivia ==
== Trivia ==
*This implies that a [[Minecraft:name tag]] is 256 bit.
*This implies that a name tag is 256 bit.
*Compound and list tags are special in so far that the value they show in their [[Minecraft:tooltip]] is not merely a property of the item, but their ''actual'' [[Minecraft:NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*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 data. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[Minecraft:History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.
*The snapshot also contains an unused texture for an {{MC/Itemlink|End Tag}}.


== Issues ==
== Issues ==
Issues relating to "Tag" and "Bit" are not maintained on the [[Minecraft:bug tracker]] because they're [[Minecraft:April Fools' joke]]s, and are therefore not in the newest stable version or snapshot. Issues reported there are closed as "Invalid".
Issues relating to "Tag" and "Bit" are not maintained on the bug tracker because they're April Fools' jokes, and are therefore not in the newest stable version or snapshot. Issues reported there are closed as "Invalid".


== Gallery ==
== Gallery ==
Line 195: Line 195:


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


== Navigation ==
== Navigation ==
{{Navbox items|Joke}}
{{MC/Navbox items|Joke}}
{{Navbox jokes|23w13a or b}}
{{MC/Navbox jokes|23w13a or b}}


[[Category:Joke items]]
[[Category:Joke items]]


[[Minecraft:ja:Tag (アイテム)]]
ja:Tag (アイテム)
[[Minecraft:pt:Edição Java 23w13a or b/Tag]]
pt:Edição Java 23w13a or b/Tag
[[Minecraft:zh:标签(物品)]]
zh:标签(物品)

Latest revision as of 21:02, 9 April 2026

Template:Message boxTemplate:Article other Template:Infobox item Tags and Bits are items exclusive to the 23w13a_or_b April Fools' joke snapshot from 2023. They are used to craft in-game representations of NBT tags.

Obtaining

A Minecraft:stonecutter can be used to cut a name tag into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.

Template:Stonecutting Template:Stonecutting

To be able to proceed from here the nbt_crafting vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square.

A crafting table can be used to convert a "Tag" item into a "Byte Tag." The amount of Minecraft:sticks added to the crafting recipe specifies the value of the Byte, as a signed 8-bit value. For example, a "Tag" and a full stack of sticks make a Byte with the value 64b, while 255 sticks result in -1b. 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. 1b and 0b make 256s (equivalent to 010016 in 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 Minecraft:boats to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of Minecraft:string.

Template:Crafting Template:Crafting Template:Crafting Template:Crafting Template:Crafting Template:Crafting Template:Crafting Template:Crafting Template:Crafting Template:Crafting

"Name" and "String Tags" must be named in an Minecraft: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 NBT data, 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 {Example:0b}.
    • 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 {}.
  • A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content [0b,0b,0b,0b,0b,0b,0b].
    • 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 [].
    • "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

Compound Tags with enchantment data will exhibit the traits of that enchantment.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref>

Trivia

  • This implies that a name tag is 256 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 data. This is also the reason why naming them is disabled as that would mess up the NBT data.
  • The snapshot also contains an unused texture for an
  1. REDIRECT Template:ItemLink.

Issues

Issues relating to "Tag" and "Bit" are not maintained on the bug tracker because they're April Fools' jokes, and are therefore not in the newest stable version or snapshot. Issues reported there are closed as "Invalid".

Gallery

Renders

References

<references group="">

 </references>

Navigation

Display/storage
Buckets
Bottles
Informational
Vehicles/mobility
Template:El only
Music discs
Other
Edu only
Seeds
Raw materials
Processed
Edu only
Dyes
Banner patterns
Pottery sherds
Smithing templates
April Fools 2015
April Fools 2016
April Fools 2019
April Fools 2020
April Fools 2023
April Fools 2024
April Fools 2025
April Fools 2026

Template:Article otherTemplate:Article other

Non-update jokes
Blocks
Items
World generation
Dimension
  • Template:EnvLink
  • Easter egg dimensions
    • ant
    • basic
    • blacklight
    • blue
    • brand
    • bridges
    • busy
    • checkerboard
    • chess
    • colors
    • content
    • credits
    • custom
    • darkness
    • decay
    • fleet
    • gallery
    • green
    • holes
    • isolation
    • library
    • llama
    • message
    • missing
    • notes
    • nothing
    • origin
    • patterns
    • perfection
    • pillars
    • red
    • retro
    • rooms
    • shapes
    • skygrid
    • slime
    • spiral
    • sponge
    • terminal
    • this_is_a_very_long_phrase_that_hopefully_is_not_in_any_dictionary
    • tunnels
    • wall
    • zones
Structures
Biomes
Commands
Blocks
Items
Mobs
Entities
Effects
World generation
Dimension
Structures
Biomes
Commands
Blocks
Items
Mobs
Effects
Enchantments
World generation
Dimension
Structures
Features
Biomes
Rarities
Fonts
Add-Ons
Blocks
Items
Mobs
Effects
World generation
Biomes

Template:Article other

ja:Tag (アイテム) pt:Edição Java 23w13a or b/Tag zh:标签(物品)