Minecraft:Invalid data value Leaves: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 1: | Line 1: | ||
{{outdated|edition=java}} | {{outdated|edition=java}} | ||
{{ | {{MC/Exclusive|bedrock}} | ||
{{Infobox item | {{Infobox item | ||
| image = Missing Model JE3.png | | image = Missing Model JE3.png | ||
| Line 22: | Line 22: | ||
! Valid? | ! Valid? | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|Oak Leaves}} | ||
! 0 | ! 0 | ||
| Oak | | Oak | ||
| Line 28: | Line 28: | ||
| class="tc-yes" style="text-align:center" | '''Yes''' | | class="tc-yes" style="text-align:center" | '''Yes''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|Spruce Leaves}} | ||
! 1 | ! 1 | ||
| Spruce | | Spruce | ||
| class="tc-yes" style="text-align:center" | '''Yes''' | | class="tc-yes" style="text-align:center" | '''Yes''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|Birch Leaves}} | ||
! 2 | ! 2 | ||
| Birch | | Birch | ||
| class="tc-yes" style="text-align:center" | '''Yes''' | | class="tc-yes" style="text-align:center" | '''Yes''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|Jungle Leaves}} | ||
! 3 | ! 3 | ||
| Jungle | | Jungle | ||
| class="tc-yes" style="text-align:center" | '''Yes''' | | class="tc-yes" style="text-align:center" | '''Yes''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 4 | ! 4 | ||
| Oak | | Oak | ||
| Line 49: | Line 49: | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 5 | ! 5 | ||
| Spruce | | Spruce | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 6 | ! 6 | ||
| Birch | | Birch | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 7 | ! 7 | ||
| Jungle | | Jungle | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 8 | ! 8 | ||
| Oak | | Oak | ||
| Line 70: | Line 70: | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 9 | ! 9 | ||
| Spruce | | Spruce | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 10 | ! 10 | ||
| Birch | | Birch | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 11 | ! 11 | ||
| Jungle | | Jungle | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 12 | ! 12 | ||
| Oak | | Oak | ||
| Line 91: | Line 91: | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 13 | ! 13 | ||
| Spruce | | Spruce | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 14 | ! 14 | ||
| Birch | | Birch | ||
| class="tc-no" style="text-align:center" | '''No''' | | class="tc-no" style="text-align:center" | '''No''' | ||
|- | |- | ||
! {{ | ! {{MC/Blocksprite|missingno}} | ||
! 15 | ! 15 | ||
| Jungle | | Jungle | ||
| Line 117: | Line 117: | ||
=== Placement === | === Placement === | ||
{{ | {{MC/Info needed section|check to see how the behavior changed in earlier versions}} | ||
Up until 17w46a,{{ | Up until 17w46a,{{MC/Info needed|behaved like this in 14w11b, so when did this start?}} placed invalid data value leaves will always place leaves that do not decay. Leaves items with damage 4, 5, 6 and 7 will place leaves with metadata 4, 5, 6 and 7 respectively. Similarly, items with damage 12, 13, 14 and 15 will place blocks with metadata 12, 13, 14 and 15. Items with damage 8, 9, 10 and 11 will respectively place blocks with metadata 12, 13, 14 and 15. | ||
=== Conversion to future versions === | === Conversion to future versions === | ||
| Line 131: | Line 131: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java indev}} | |{{MC/HistoryLine|java indev}} | ||
|{{HistoryLine||0.31|dev=20100131-2156|Durability has been introduced. It can be assigned to leaves items via an inventory editor, but is functionally meaningless in this case.}} | |{{MC/HistoryLine||0.31|dev=20100131-2156|Durability has been introduced. It can be assigned to leaves items via an inventory editor, but is functionally meaningless in this case.}} | ||
|{{HistoryLine|java beta}} | |{{MC/HistoryLine|java beta}} | ||
|{{HistoryLine||1.2|Leaves items with a nonzero value set for damage now process this as a variant form of the item, rather than literal damage, resulting in the item forms now appearing distinct (spruce leaves now use their own texture).}} | |{{MC/HistoryLine||1.2|Leaves items with a nonzero value set for damage now process this as a variant form of the item, rather than literal damage, resulting in the item forms now appearing distinct (spruce leaves now use their own texture).}} | ||
|{{HistoryLine||1.4|The durability bar has been removed from leaves with higher damage values.}} | |{{MC/HistoryLine||1.4|The durability bar has been removed from leaves with higher damage values.}} | ||
|{{HistoryLine|java}} | |{{MC/HistoryLine|java}} | ||
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 6|Leaves with damage values above 3 are now obtainable in survival via the Silk Touch enchantment. Prior to this version, Silk Touch would ignore block metadata and always return an item with metadata 0.}} | |{{MC/HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 6|Leaves with damage values above 3 are now obtainable in survival via the Silk Touch enchantment. Prior to this version, Silk Touch would ignore block metadata and always return an item with metadata 0.}} | ||
|{{HistoryLine||1.2.1|dev=12w03a|The jungle biome and its associated tree have been implemented, making the leaves block with metadata 3 obtainable in survival, alongside its invalid item variants 7, 11 and 15. Prior to this version, if these metadata variants were desired, a tree from prior to Beta 1.2 would be required due to metadata used for decay calculations being repurposed for distinguishing species; this method was also not renewable.}} | |{{MC/HistoryLine||1.2.1|dev=12w03a|The jungle biome and its associated tree have been implemented, making the leaves block with metadata 3 obtainable in survival, alongside its invalid item variants 7, 11 and 15. Prior to this version, if these metadata variants were desired, a tree from prior to Beta 1.2 would be required due to metadata used for decay calculations being repurposed for distinguishing species; this method was also not renewable.}} | ||
|{{HistoryLine||1.3.1|dev=?<!--present in 12w21a, not in 12w17a, and 12w18a and 12w19a refuse to let me enter singleplayer worlds-->|Leaves now have different tooltips for each species. All invalid data value item forms of leaves are named "Oak Leaves", regardless of species.}} | |{{MC/HistoryLine||1.3.1|dev=?<!--present in 12w21a, not in 12w17a, and 12w18a and 12w19a refuse to let me enter singleplayer worlds-->|Leaves now have different tooltips for each species. All invalid data value item forms of leaves are named "Oak Leaves", regardless of species.}} | ||
|{{HistoryLine||1.4.6|dev=12w49a|The Silk Touch enchantment now only drops leaves with metadata 0 to 3, making higher values unobtainable in Survival.}} | |{{MC/HistoryLine||1.4.6|dev=12w49a|The Silk Touch enchantment now only drops leaves with metadata 0 to 3, making higher values unobtainable in Survival.}} | ||
|{{HistoryLine||1.8|dev=14w17a|Leaves with data values outside of the expected range now have the correct name corresponding to the data value it represents, rather than all sharing the name "Oak Leaves".}} | |{{MC/HistoryLine||1.8|dev=14w17a|Leaves with data values outside of the expected range now have the correct name corresponding to the data value it represents, rather than all sharing the name "Oak Leaves".}} | ||
|{{HistoryLine|||dev=14w25a|{{ | |{{HistoryLine|||dev=14w25a|{{MC/Pximg|Missing Model (inventory) JE1.png|32px}} With the introduction of data-driven item models, any item with a data value outside of what is accepted by the game has no model to point to, resulting in use of the missing item model.}} | ||
|{{HistoryLine|||dev=14w30a|Invalid data value leaves, alongside other invalid data value items, now appear the size of a full block when held in third person or by another player or mob.}} | |{{MC/HistoryLine|||dev=14w30a|Invalid data value leaves, alongside other invalid data value items, now appear the size of a full block when held in third person or by another player or mob.}} | ||
|{{HistoryLine||1.9|dev=15w31a|{{ | |{{HistoryLine||1.9|dev=15w31a|{{MC/Pximg|Missing Model (inventory) JE2.png|32px}} The missing model's inventory appearance has changed, resulting in the appearance of invalid data value leaves also changing. | ||
|The items also appear the size of a full block when held in first person and when dropped on the ground, and also appear larger than before in an item frame.}} | |The items also appear the size of a full block when held in first person and when dropped on the ground, and also appear larger than before in an item frame.}} | ||
|{{HistoryLine||1.13|dev=17w43a|{{ | |{{HistoryLine||1.13|dev=17w43a|{{MC/Pximg|Missing Model (inventory) JE3.png|32px}} The missing texture has changed, resulting in the appearance of invalid data value leaves also changing.}} | ||
|{{HistoryLine|||dev=17w47a|Numeric IDs for blocks and items have been completely removed from the game, with different species of leaves being given their own string IDs. As a result, invalid data value leaves have been "removed" as any such item now converts cleanly into oak leaves.}} | |{{MC/HistoryLine|||dev=17w47a|Numeric IDs for blocks and items have been completely removed from the game, with different species of leaves being given their own string IDs. As a result, invalid data value leaves have been "removed" as any such item now converts cleanly into oak leaves.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{MC/HistoryLine|bedrock}} | ||
|{{HistoryLine||?|Leaves items with invalid data values may have been obtainable at certain points in the game.<ref>{{bug|MCPE-41408|||Fixed}}</ref>}} | |{{HistoryLine||?|Leaves items with invalid data values may have been obtainable at certain points in the game.<ref>{{bug|MCPE-41408|||Fixed}}</ref>}} | ||
}} | }} | ||
| Line 158: | Line 158: | ||
=== Legacy Console Edition === | === Legacy Console Edition === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|console}} | |{{MC/HistoryLine|console}} | ||
|{{HistoryLine||xbox=TU7|xbone=?|ps3=?|psvita=?|ps4=?|wiiu=?|switch=?|Leaves with damage values above 3 are now obtainable in survival with the introduction of the Silk Touch enchantment.}} | |{{MC/HistoryLine||xbox=TU7|xbone=?|ps3=?|psvita=?|ps4=?|wiiu=?|switch=?|Leaves with damage values above 3 are now obtainable in survival with the introduction of the Silk Touch enchantment.}} | ||
|{{HistoryLine||xbox=TU14|xbone=?|ps3=?|psvita=?|ps4=?|wiiu=?|switch=?|The Silk Touch enchantment now only drops leaves with metadata 0 to 3, making higher values unobtainable.<ref>https://www.minecraftforum.net/forums/minecraft-editions/minecraft-xbox-360-edition/mcx360-discussion/2064202-mcxbla-title-update-change-logs ("Corrected the leaves obtained using silk touch on Jungle trees", fix confirmed for all species)</ref>}} | |{{MC/HistoryLine||xbox=TU14|xbone=?|ps3=?|psvita=?|ps4=?|wiiu=?|switch=?|The Silk Touch enchantment now only drops leaves with metadata 0 to 3, making higher values unobtainable.<ref>https://www.minecraftforum.net/forums/minecraft-editions/minecraft-xbox-360-edition/mcx360-discussion/2064202-mcxbla-title-update-change-logs ("Corrected the leaves obtained using silk touch on Jungle trees", fix confirmed for all species)</ref>}} | ||
}} | }} | ||
| Line 183: | Line 183: | ||
|- | |- | ||
! rowspan="3" | 0.31 | ! rowspan="3" | 0.31 | ||
! 20100131{{ | ! 20100131{{MC/Verify|we know more about version gaps now}} | ||
| [[File:Leaves 4 (inventory) JE1.png|32px]] | | [[File:Leaves 4 (inventory) JE1.png|32px]] | ||
| [[File:Leaves 5 (inventory) JE1.png|32px]] | | [[File:Leaves 5 (inventory) JE1.png|32px]] | ||
| Line 198: | Line 198: | ||
| style="text-align:left" | Durability introduced. Currently meaningless for leaves. | | style="text-align:left" | Durability introduced. Currently meaningless for leaves. | ||
|- | |- | ||
! 20100201-2227{{ | ! 20100201-2227{{MC/Verify|we know more about version gaps now}} | ||
| [[File:Leaves 4 (inventory) JE2.png|32px]] | | [[File:Leaves 4 (inventory) JE2.png|32px]] | ||
| [[File:Leaves 5 (inventory) JE2.png|32px]] | | [[File:Leaves 5 (inventory) JE2.png|32px]] | ||
| Line 213: | Line 213: | ||
| style="text-align:left" | All 3D items now appear slightly darker on the left. | | style="text-align:left" | All 3D items now appear slightly darker on the left. | ||
|- | |- | ||
! {{ | ! {{MC/Info needed|it's before 0206 but after 0202}} | ||
| [[File:Leaves 4 (inventory) JE3.png|32px]] | | [[File:Leaves 4 (inventory) JE3.png|32px]] | ||
| [[File:Leaves 5 (inventory) JE3.png|32px]] | | [[File:Leaves 5 (inventory) JE3.png|32px]] | ||
| Line 466: | Line 466: | ||
; Metadata values above 16 | ; Metadata values above 16 | ||
{{ | {{MC/Main|/Unobtainable values}} | ||
== Issues == | == Issues == | ||
| Line 472: | Line 472: | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== External links == | == External links == | ||
| Line 482: | Line 482: | ||
== Navigation == | == Navigation == | ||
{{Navbox IDV items}} | {{MC/Navbox IDV items}} | ||
Latest revision as of 20:29, 9 April 2026
Template:Outdated Script error: No such module "Exclusive". Template:Infobox item Invalid data value leaves are item forms of the primary Minecraft:leaves block with damage values outside of the usual range which leaves can usually be obtained in.
Obtaining
Without the use of Minecraft:commands, invalid data value leaves are unobtainable in the last versions in which they existed without inheriting them from a prior version in which they were obtainable.
Breaking leaves blocks
Invalid data value leaves were obtainable by breaking leaves blocks placed in the world which had specific metadata values. When broken, the item would inherit the exact metadata that the block had, rather than be converted into one of the four valid states. This can be done from Beta 1.9 Prerelease 6 onwards.
The bug allowing for this was fixed in 12w49a,<ref>Template:Bug</ref> making invalid data value leaves unobtainable from this version onwards.
| Value | Species | Obtained from | Valid? | |
|---|---|---|---|---|
|
0 | Oak | Shears, or silk touch on a single leaf from a tree | Yes |
|
1 | Spruce | Yes | |
|
2 | Birch | Yes | |
|
3 | Jungle | Yes | |
|
4 | Oak | Silk Touch on a player-placed leaves block | No |
|
5 | Spruce | No | |
|
6 | Birch | No | |
|
7 | Jungle | No | |
|
8 | Oak | Silk Touch on a leaves block from a tree after an adjacent leaves block has been broken | No |
|
9 | Spruce | No | |
|
10 | Birch | No | |
|
11 | Jungle | No | |
|
12 | Oak | Silk Touch on a player-placed leaves block after an adjacent leaves block has been broken | No |
|
13 | Spruce | No | |
|
14 | Birch | No | |
|
15 | Jungle | No | |
In summary:
- A large amount of leaves with metadata 8, 9, 10 or 11, depending on the species of the tree in question, can be obtained by breaking the leaves of a naturally-generated or sapling-grown tree using a tool with the Silk Touch enchantment. The first leaves block broken will always be of metadata 0, 1, 2 or 3, but the majority of subsequently broken leaves will return values 8, 9, 10 or 11.
- Leaves with metadata 12, 13, 14 or 15, depending on species, can be obtained in bulk by manually placing leaves in a large, connected fashion such as a cuboid, and then proceeding to break all of these with a Silk Touch tool.
- Leaves with metadata 4, 5, 6 or 7, depending on species, can be obtained in bulk by manually placing leaves in a spaced-out fashion, such that none of the placed leaves blocks are touching each other (even diagonally), and then breaking the blocks with a Silk Touch tool.
When placing leaves for the latter two cases, it is recommended that valid data value leaves are placed, as the placement of invalid data value leaves has not been fully researched for the version range in question.
Usage
Placement
- REDIRECT Template:Incomplete section
Up until 17w46a,<more information needed></more information needed> placed invalid data value leaves will always place leaves that do not decay. Leaves items with damage 4, 5, 6 and 7 will place leaves with metadata 4, 5, 6 and 7 respectively. Similarly, items with damage 12, 13, 14 and 15 will place blocks with metadata 12, 13, 14 and 15. Items with damage 8, 9, 10 and 11 will respectively place blocks with metadata 12, 13, 14 and 15.
Conversion to future versions
In 1.13 (17w47a) onwards, distinguishing between block and item variants using metadata and damage was formally abolished. As a result of this, existing items would be converted over to the new ID system automatically. Invalid data value leaves behave anomalously in that instead of converting to their respective parent species, they all convert to oak leaves instead. Despite these items often being unknowingly collected and stored in older versions in such a way that conversion like this would end up being undesirable, Mojang have decided to not fix this.<ref>Template:Bug</ref>
Nomenclature
Leaves items with data values higher than 3, particularly oak leaves with a damage value of 4,<ref>https://youtu.be/HrTZOigsMwk</ref> are often referred to as "alpha leaves". This is a particularly egregious misnomer, as any of the twelve extreme data values can be obtained in versions as late as 1.4.5, with absolutely no involvement from Alpha or even Beta versions of the game. How exactly this specific term reached common usage remains unknown, although it may be tied to the existence of "alpha trees", in which trees generated or grown before Java Edition Beta 1.2 would be comprised of multiple species of leaves if upgraded to this version or beyond, as metadata which was previously reserved for leaf decay was now used for distinguishing different species of leaves from each other.
Similarly confusingly, petrified oak slabs are sometimes referred to as "alpha slabs", despite the fact that the block was introduced in Beta 1.3, several months after the end of the Alpha era of the game.
History
Java Edition
Bedrock Edition
Legacy Console Edition
- Inventory appearances
- Metadata values above 16
{{#vardefine:params|0 }}Template:Hatnote
Issues
Invalid data value leaves are an issue, and due to their removal, can be considered already fixed.
References
<references group="">
</references>
External links
- Invalid Data Value Leaves at the Minecraft Discontinued Features wiki
Videos
- A video detailing how each of the twelve obtainable invalid data value variants of leaves can be obtained
- An earlier video on the same topic
| Obtainable in Survival |
| ||
|---|---|---|---|
| Others | |||
| Related |