This article will discuss all things wood and plant-like of the non edible variety. You can find their individual Minecraft Items ID on the homepage, but here are some additional details that can help if you are doing some modding. These items have variables, such as colors, animations, or growth cycles, hence the additional coding.
Special data for certain block and item types. Storage differs according to level format.
0 Usual tree bark texture
1 Spruce tree bark texture
2 Birch tree bark texture
Leaves will never decay if the bit is set to 0×8. This bit is set automatically on leaf blocks placed by players and overrides bit 0×4.
Leaves will decay if bit 0×4 is set. When the code checks the leaves for decay, the bit will be cleared. It will be reset when a block touching the leaves changes.
0 Usual tree leaves
1 Spruce tree leaves
2 Birch tree leaves
3 Usual texture, spruce color leaves
The bottom two bits determine what type of tree the sapling will become and can be seen below.
0 Usual tree sapling
1 Spruce tree sapling
2 Birch tree sapling
3 Defaults to normal tree type
There are four values available in the remaining bits and the top two bits act as a counter for growth.
0×0 is a brand new cactus plant. There are random increments for the data value of a cactus. It will grow an extra block, to a maximum of three blocks high, when the value reaches 15.
These codes will tell the vine on which facing side it should start growing. Most other directional data is not able to be tested as bit flags, but vines do have this feature, except for on the top side. If there is a solid block right above it, or if data is set to 0, a “top” is interpreted by the system to be there.
Though not a crop, it is an item block that may affect crops, so it was included here just for the sake of it. Snow height varies from 0X0 to 0X7, 0X0 being the thinnest snow layer and 0X7 is the thickest. The height repeats for values 8-15. Note that snow does not occur naturally at other heights than 0, but can be edited or hacked in.
Hope this helps with your coding endeavors! Don’t forget to get all of your Minecraft Items ID from our homepage!