technical documentation for Minecraft b1.7.3
1# Blocks 2 3For empty data values, assume it to **always** be `0`. 4 5ID is an `i8`, and metadata is an `i8` where the final 4 bits are the _metadata 6nibble_. 7 8| Name | ID | Data | 9| ------------------------ | --- | ------------------------------ | 10| Air | 0 | | 11| Stone | 1 | | 12| Grass Block | 2 | | 13| Dirt | 3 | | 14| Cobblestone | 4 | | 15| Wooden Planks | 5 | | 16| Oak Sapling | 6 | `0` | 17| Spruce Sapling | 6 | `1` | 18| Birch Sapling | 6 | `2` | 19| Bedrock | 7 | | 20| Water (Flowing) | 8 | [See below][fluid] | 21| Water (Still) | 9 | | 22| Lava (Flowing) | 10 | [See below][fluid] | 23| Lava (Still) | 11 | | 24| Sand | 12 | | 25| Gravel | 13 | | 26| Gold Ore | 14 | | 27| Iron Ore | 15 | | 28| Coal Ore | 16 | | 29| Oak Log | 17 | `0` | 30| Spruce Log | 17 | `1` | 31| Birch Log | 17 | `2` | 32| Oak Leaves | 18 | `0` | 33| Spruce Leaves | 18 | `1` | 34| Birch Leaves | 18 | `2` | 35| Sponge | 19 | | 36| Glass | 20 | | 37| Lapis Lazuli Ore | 21 | | 38| Lapis Lazuli Block | 22 | | 39| Dispenser | 23 | [See below][dispenser] | 40| Sandstone | 24 | | 41| Note Block | 25 | | 42| Bed | 26 | [See below][bed] | 43| Powered Rail | 27 | [See below][powered_rail] | 44| Detector Rail | 28 | [See below][detector_rail] | 45| Sticky Piston | 29 | [See below][piston] | 46| Cobweb | 30 | | 47| Dead Shrub | 31 | `0` | 48| Grass | 31 | `1` | 49| Fern | 31 | `2` | 50| Dead Bush | 32 | | 51| Piston | 33 | [See below][piston] | 52| Piston Head | 34 | [See below][piston_head] | 53| White Wool | 35 | `0` | 54| Orange Wool | 35 | `1` | 55| Magenta Wool | 35 | `2` | 56| Light Blue Wool | 35 | `3` | 57| Yellow Wool | 35 | `4` | 58| Lime Wool | 35 | `5` | 59| Pink Wool | 35 | `6` | 60| Gray Wool | 35 | `7` | 61| Light Gray (Silver) Wool | 35 | `8` | 62| Cyan Wool | 35 | `9` | 63| Purple Wool | 35 | `10` | 64| Blue Wool | 35 | `11` | 65| Brown Wool | 35 | `12` | 66| Green Wool | 35 | `13` | 67| Red Wool | 35 | `14` | 68| Black Wool | 35 | `15` | 69| Moving Piston | 36 | | 70| Dandelion | 37 | | 71| Rose | 38 | | 72| Brown Mushroom | 39 | | 73| Red Mushroom | 40 | | 74| Gold Block | 41 | | 75| Iron Block | 42 | | 76| Double Stone Slab | 43 | `0` | 77| Double Sandstone Slab | 43 | `1` | 78| Double Wooden Slab | 43 | `2` | 79| Double Cobblestone Slab | 43 | `3` | 80| Stone Slab | 44 | `0` | 81| Sandstone Slab | 44 | `1` | 82| Wooden Slab | 44 | `2` | 83| Cobblestone Slab | 44 | `3` | 84| Bricks | 45 | | 85| TNT | 46 | | 86| Bookshelves | 47 | | 87| Mossy Cobblestone | 48 | | 88| Obsidian | 49 | | 89| Torch | 50 | [See below][torch] | 90| Fire | 51 | [See below][fire] | 91| Monster Spawner | 52 | | 92| Wooden Stairs | 53 | [See below][stairs] | 93| Chest | 54 | | 94| Redstone Wire | 55 | [See below][redstone_wire] | 95| Diamond Ore | 56 | | 96| Diamond Block | 57 | | 97| Crafting Table | 58 | | 98| Wheat | 59 | [See below][wheat] | 99| Farmland | 60 | [See below][farmland] | 100| Furnace | 61 | [See below][furnace] | 101| Lit Furnace | 62 | [See below][furnace] | 102| Standing Sign | 63 | [See below][standing_sign] | 103| Wooden Door | 64 | [See below][door] | 104| Ladder | 65 | [See below][ladder] | 105| Rail | 66 | [See below][rail] | 106| Cobblestone Stairs | 67 | [See below][stairs] | 107| Wall-Mounted Sign | 68 | [See below][wall_sign] | 108| Lever | 69 | [See below][lever] | 109| Stone Pressure Plate | 70 | [See below][pressure_plate] | 110| Iron Door | 71 | [See below][door] | 111| Wooden Pressure Plate | 72 | [See below][pressure_plate] | 112| Redstone Ore | 73 | | 113| Glowing Redstone Ore | 74 | | 114| Redstone Torch (Off) | 75 | [See below][redstone_torch] | 115| Redstone Torch (On) | 76 | [See below][redstone_torch] | 116| Button | 77 | [See below][button] | 117| Snow Layer | 78 | [See below][snow_layer] | 118| Ice | 79 | | 119| Snow Block | 80 | | 120| Cactus | 81 | | 121| Clay Block | 82 | | 122| Sugar Cane | 83 | | 123| Jukebox | 84 | | 124| Fence | 85 | | 125| Pumpkin | 86 | [See below][pumpkin] | 126| Netherrack | 87 | | 127| Soul Sand | 88 | | 128| Glowstone | 89 | | 129| Nether Portal | 90 | | 130| Jack O Lantern | 91 | [See below][pumpkin] | 131| Cake | 92 | [See below][cake] | 132| Redstone Repeater (Off) | 93 | [See below][redstone_repeater] | 133| Redstone Repeater (On) | 94 | [See below][redstone_repeater] | 134| Locked Chest | 95 | | 135| Trapdoor | 96 | [See below][trapdoor] | 136 137## Bed Metadata 138 139- Bit Usage: `H O F F` 140- Valid range: `0..15` 141 142### Bit Definitions: 143 144- `FF`: Facing direction 145 - `0 (00)`: Positive Z (South) 146 - `1 (01)`: Negative X (West) 147 - `2 (10)`: Negative Z (North) 148 - `3 (11)`: Positive X (East) 149 150- `O`: Occupied status 151 - `0`: Unoccupied 152 - `1`: Occupied 153 154- `H`: Head piece 155 - `0`: Foot piece 156 - `1`: Head piece 157 158### Examples: 159 160- `0 (0000)`: Foot, unoccupied, facing South 161- `5 (0101)`: Foot, unoccupied, facing West 162- `11 (1011)`: Head, unoccupied, facing East 163- `15 (1111)`: Head, occupied, facing East 164 165## Fluid Metadata 166 167- Bit Usage: `F D D D` 168- Valid range: `0..15` 169 170### Bit Definitions: 171 172- `DDD`: Distance to source 173 - `0`: Source block or adjacent to source 174 - `1-7`: Distance from source 175 176- `F`: Falling state 177 - `0`: Normal horizontal flow 178 - `1`: Falling vertically (acts like source for spreading) 179 180### Examples: 181 182- `0 (0000)`: Source block 183- `3 (0011)`: Distance 3 from source, flowing horizontally 184- `8 (1000)`: Falling fluid (acts like source) 185- `11 (1011)`: Falling fluid with distance 3 (rare edge case) 186 187## Dispenser Metadata 188 189- Bit Usage: `F F F F` 190- Valid range: `0..5` 191 192### Bit Definitions: 193 194- `FFFF`: Facing direction 195 - `0`: Negative Y (Down) 196 - `1`: Positive Y (Up) 197 - `2`: Negative Z (North) 198 - `3`: Positive Z (South) 199 - `4`: Negative X (West) 200 - `5`: Positive X (East) 201 202### Examples: 203 204- `0 (0000)`: Facing down 205- `2 (0010)`: Facing north 206- `4 (0100)`: Facing west 207- `5 (0101)`: Facing east 208 209## Rail Metadata 210 211- Bit Usage: `D D D D` 212- Valid range: `0..9` 213 214### Bit Definitions: 215 216- `DDDD`: Direction/Shape 217 - `0`: North-South straight 218 - `1`: East-West straight 219 - `2`: East ascending (going up towards +X) 220 - `3`: West ascending (going up towards -X) 221 - `4`: North ascending (going up towards -Z) 222 - `5`: South ascending (going up towards +Z) 223 - `6`: South-East curve 224 - `7`: South-West curve 225 - `8`: North-West curve 226 - `9`: North-East curve 227 228### Examples: 229 230- `0 (0000)`: North-South straight 231- `6 (0110)`: South-East curve 232- `8 (1000)`: North-West curve 233- `9 (1001)`: North-East curve 234 235## Powered Rail Metadata 236 237- Bit Usage: `P D D D` 238- Valid range: `0..13` 239 240### Bit Definitions: 241 242- `DDD`: Direction/Shape 243 - `0`: North-South straight 244 - `1`: East-West straight 245 - `2`: East ascending (going up towards +X) 246 - `3`: West ascending (going up towards -X) 247 - `4`: North ascending (going up towards -Z) 248 - `5`: South ascending (going up towards +Z) 249 250- `P`: Powered state 251 - `0`: Unpowered 252 - `1`: Powered 253 254### Examples: 255 256- `0 (0000)`: North-South straight, unpowered 257- `1 (0001)`: East-West straight, unpowered 258- `8 (1000)`: North-South straight, powered 259- `10 (1010)`: East ascending, powered 260 261## Detector Rail Metadata 262 263- Bit Usage: `A D D D` 264- Valid range: `0..13` 265 266### Bit Definitions: 267 268- `DDD`: Direction/Shape 269 - `0`: North-South straight 270 - `1`: East-West straight 271 - `2`: East ascending (going up towards +X) 272 - `3`: West ascending (going up towards -X) 273 - `4`: North ascending (going up towards -Z) 274 - `5`: South ascending (going up towards +Z) 275 276- `A`: Active/Triggered state 277 - `0`: No minecart detected 278 - `1`: Minecart detected 279 280### Examples: 281 282- `0 (0000)`: North-South straight, no minecart 283- `1 (0001)`: East-West straight, no minecart 284- `8 (1000)`: North-South straight, minecart detected (powering) 285- `10 (1010)`: East ascending, minecart detected (powering) 286 287## Piston Head Metadata 288 289- Bit Usage: `S D D D` 290- Valid range:\*\* `0..13` 291 292### Bit Definitions: 293 294- `DDD`: Facing direction 295 - `0`: Down (Negative Y) 296 - `1`: Up (Positive Y) 297 - `2`: North (Negative Z) 298 - `3`: South (Positive Z) 299 - `4`: West (Negative X) 300 - `5`: East (Positive X) 301 302- `S`: Is Sticky 303 - `0`: Regular 304 - `1`: Sticky 305 306### Examples: 307 308- `0 (0000)`: Regular piston head facing down 309- `1 (0001)`: Regular piston head facing up 310- `8 (1000)`: Sticky piston head facing down 311- `13 (1101)`: Sticky piston head facing south 312 313## Piston Metadata 314 315Piston is pretty much the same as its [Piston Head][piston_head] counterpart, 316just with different uses of the 3rd bit. 317 318- Bit Usage: `E D D D` 319- Valid range: `0..13` 320 321### Bit Definitions: 322 323- `DDD`: Facing direction 324 - `0`: Down (Negative Y) 325 - `1`: Up (Positive Y) 326 - `2`: North (Negative Z) 327 - `3`: South (Positive Z) 328 - `4`: West (Negative X) 329 - `5`: East (Positive X) 330 331- `E`: Is Extended 332 - `0`: Retracted 333 - `1`: Extended 334 335### Special Behaviors: 336 337- Note that stickiness is determined by block ID 338 339### Examples: 340 341- `0 (0000)`: Facing down, retracted 342- `1 (0001)`: Facing up, retracted 343- `8 (1000)`: Facing down, extended 344- `11 (1011)`: Facing south, extended 345 346## Torch Metadata 347 348- Bit Usage: `- A A A` 349- Valid range: `1..5` 350 351### Bit Definitions: 352 353- `AAA`: Attachment direction 354 - `1`: Attached to West face (pointing East) 355 - `2`: Attached to East face (pointing West) 356 - `3`: Attached to North face (pointing South) 357 - `4`: Attached to South face (pointing North) 358 - `5`: Standing on ground/block below 359 360### Examples: 361 362- `1 (0001)`: Wall torch pointing East (attached to West wall) 363- `3 (0011)`: Wall torch pointing South (attached to North wall) 364- `5 (0101)`: Standing torch (on ground/block below) 365 366## Fire Metadata 367 368- Bit Usage: `A A A A` 369- Valid range: `0..15` 370 371### Bit Definitions: 372 373- `AAAA`: Age/Intensity level (4 bits) 374 - `0`: Newly created fire 375 - `1-14`: Aging fire 376 - `15`: Maximum age (most likely to spread or die out) 377 378### Special Behaviors: 379 380- Age increases by 0 or 1 each tick (randomly) 381- Death conditions: 382 - Age > 3 and no solid block below = dies 383 - Age = 15 and no flammable neighbors = may die randomly 384- Younger fires spread more aggressively 385 386### Examples: 387 388- `0 (0000)`: Fresh fire just lit 389- `5 (0101)`: Moderate age fire 390- `15 (1111)`: Maximum age fire 391 392## Stairs Metadata 393 394- Bit Usage: `- - D D` 395- Valid range: `0..3` 396 397### Bit Definitions: 398 399- `DD`: Facing direction 400 - `0`: Ascending East (facing West wall) 401 - `1`: Ascending West (facing East wall) 402 - `2`: Ascending South (facing North wall) 403 - `3`: Ascending North (facing South wall) 404 405### Examples: 406 407- `0 (0000)`: Stairs ascending toward East 408- `1 (0001)`: Stairs ascending toward West 409- `2 (0010)`: Stairs ascending toward South 410- `3 (0011)`: Stairs ascending toward North 411 412## Redstone Wire Metadata 413 414- Bit Usage: `P P P P` 415- Valid range: `0..15` 416 417### Bit Definitions: 418 419- `PPPP`: Power level 420 - `0`: No power 421 - `1-15`: Power strength (15 is maximum) 422 423### Examples: 424 425- `0 (0000)`: Unpowered wire 426- `1 (0001)`: Weak power (far from source) 427- `15 (1111)`: Maximum power (at source or powered by strong source) 428 429## Wheat Metadata 430 431- Bit Usage: `- G G G` 432- Valid range: `0..7` 433 434### Bit Definitions: 435 436- `GGG`: Growth stage 437 - `0`: Just planted (smallest) 438 - `1-6`: Growing stages 439 - `7`: Fully grown (ready to harvest) 440 441### Examples: 442 443- `0 (0000)`: Newly planted wheat 444- `3 (0011)`: Half-grown wheat 445- `7 (0111)`: Fully mature wheat (harvestable) 446 447## Farmland Metadata 448 449- Bit Usage: `- H H H` 450- Valid range: `0..7` 451 452### Bit Definitions: 453 454- `HHH`: Hydration level 455 - `0`: Dry farmland (will revert to dirt without crops nearby) 456 - `1-6`: Partially hydrated 457 - `7`: Fully hydrated (optimal for crop growth) 458 459### Examples: 460 461- `0 (0000)`: Dry farmland 462- `4 (0100)`: Moderately hydrated farmland 463- `7 (0111)`: Fully hydrated farmland 464 465## Furnace Metadata 466 467- Bit Usage: `- - D D` 468- Valid range: `2..5` 469 470### Bit Definitions: 471 472- `DD`: Facing direction 473 - `2`: North (Negative Z) 474 - `3`: South (Positive Z) 475 - `4`: West (Negative X) 476 - `5`: East (Positive X) 477 478### Special Behaviors: 479 480- Note that idle/active state is determined by block ID 481 482### Examples: 483 484- `2 (0010)`: Furnace facing North 485- `3 (0011)`: Furnace facing South 486- `4 (0100)`: Furnace facing West 487- `5 (0101)`: Furnace facing East 488 489## Standing Sign Metadata 490 491- Bit Usage: `D D D D` 492- Valid range: `0..15` 493 494### Bit Definitions: 495 496- `DDDD`: Rotation direction 497 - `0`: South 498 - `1`: South-Southwest 499 - `2`: Southwest 500 - `3`: West-Southwest 501 - `4`: West 502 - `5`: West-Northwest 503 - `6`: Northwest 504 - `7`: North-Northwest 505 - `8`: North 506 - `9`: North-Northeast 507 - `10`: Northeast 508 - `11`: East-Northeast 509 - `12`: East 510 - `13`: East-Southeast 511 - `14`: Southeast 512 - `15`: South-Southeast 513 514### Examples: 515 516- `0 (0000)`: Sign facing South 517- `4 (0100)`: Sign facing West 518- `8 (1000)`: Sign facing North 519- `12 (1100)`: Sign facing East 520 521## Wall Sign Metadata 522 523- Bit Usage: `- - D D` 524- Valid range: `2..5` 525 526### Bit Definitions: 527 528- `DD`: Attached wall direction 529 - `2`: Attached to North wall (facing South) 530 - `3`: Attached to South wall (facing North) 531 - `4`: Attached to West wall (facing East) 532 - `5`: Attached to East wall (facing West) 533 534### Examples: 535 536- `2 (0010)`: Wall sign facing South (attached to North wall) 537- `3 (0011)`: Wall sign facing North (attached to South wall) 538- `4 (0100)`: Wall sign facing East (attached to West wall) 539- `5 (0101)`: Wall sign facing West (attached to East wall) 540 541## Door Metadata 542 543- Bit Usage: `T O F F` 544- Valid range: `0..15` 545 546### Bit Definitions: 547 548- `FF`: Facing direction 549 - `0`: North (Negative Z) 550 - `1`: East (Positive X) 551 - `2`: South (Positive Z) 552 - `3`: West (Negative X) 553 554- `O`: Is Open 555 - `0`: Closed 556 - `1`: Open 557 558- `T`: Half 559 - `0`: Bottom half of door 560 - `1`: Top half of door 561 562### Examples: 563 564- `0 (0000)`: Bottom half, closed, facing North 565- `4 (0100)`: Bottom half, open, facing North 566- `8 (1000)`: Top half, closed, facing North 567- `12 (1100)`: Top half, open, facing North 568 569## Ladder Metadata 570 571- Bit Usage: `- - D D` 572- Valid range: `2..5` 573 574### Bit Definitions: 575 576- `DD`: Attached wall direction 577 - `2`: Attached to South wall (facing North) 578 - `3`: Attached to North wall (facing South) 579 - `4`: Attached to East wall (facing West) 580 - `5`: Attached to West wall (facing East) 581 582### Examples: 583 584- `2 (0010)`: Ladder on South wall (climb facing North) 585- `3 (0011)`: Ladder on North wall (climb facing South) 586- `4 (0100)`: Ladder on East wall (climb facing West) 587- `5 (0101)`: Ladder on West wall (climb facing East) 588 589## Lever Metadata 590 591- Bit Usage: `A A A A` 592- Valid range: `1..14` 593 594### Bit Definitions: 595 596- `AAA`: Attachment orientation 597 - `1`: Attached to West wall (lever points East) 598 - `2`: Attached to East wall (lever points West) 599 - `3`: Attached to North wall (lever points South) 600 - `4`: Attached to South wall (lever points North) 601 - `5`: On ground/ceiling (random orientation) 602 - `6`: On ground/ceiling (alternate orientation) 603 604- `A`:` Is Activated 605 - `0`: Lever off 606 - `1`: Lever on 607 608### Examples: 609 610- `1 (0001)`: Wall lever off, pointing East 611- `9 (1001)`: Wall lever on, pointing East 612- `5 (0101)`: Ground lever off 613- `13 (1101)`: Ground lever on 614 615## Pressure Plate Metadata 616 617- Bit Usage: `- - - A` 618- Valid range: `0..1` 619 620### Bit Definitions: 621 622- `A`: Activation state 623 - `0`: Not pressed 624 - `1`: Pressed 625 626### Examples: 627 628- `0 (0000)`: Pressure plate not pressed 629- `1 (0001)`: Pressure plate pressed (providing power) 630 631## Redstone Torch Metadata 632 633- Bit Usage: `- A A A` 634- Valid range: `1..5` 635 636### Bit Definitions: 637 638- `AAA`: Attachment direction 639 - `1`: Attached to West face (pointing East) 640 - `2`: Attached to East face (pointing West) 641 - `3`: Attached to North face (pointing South) 642 - `4`: Attached to South face (pointing North) 643 - `5`: Standing on ground/block below 644 645### Special Behaviors: 646 647- Note that on/off state is determined by block ID 648 649### Examples: 650 651- `1 (0001)`: Redstone torch pointing East (attached to West wall) 652- `3 (0011)`: Redstone torch pointing South (attached to North wall) 653- `5 (0101)`: Standing redstone torch (on ground/block below) 654 655## Snow Layer Metadata 656 657- Bit Usage: `- D D D` 658- Valid range: `0..7` 659 660### Bit Definitions: 661 662- `DDD`: Snow depth/thickness 663 - `0`: 1 layer thick (2/16 blocks high) 664 - `1`: 2 layers thick (4/16 blocks high) 665 - `2`: 3 layers thick (6/16 blocks high) 666 - `3`: 4 layers thick (0.5 blocks high, starts having collision) 667 - `4`: 5 layers thick (10/16 blocks high) 668 - `5`: 6 layers thick (12/16 blocks high) 669 - `6`: 7 layers thick (14/16 blocks high) 670 - `7`: 8 layers thick (1 block high) 671 672### Examples: 673 674- `0 (0000)`: Thin snow layer (2/16 block high) 675- `3 (0011)`: Half-block snow (8/16 block high, has collision) 676- `7 (0111)`: Full-block snow (16/16 block high) 677 678## Button Metadata 679 680- Bit Usage: `A D D D` 681- Valid range: `1..12` 682 683### Bit Definitions: 684 685- `DDD`: Attached wall direction 686 - `1`: Attached to West wall (button faces East) 687 - `2`: Attached to East wall (button faces West) 688 - `3`: Attached to North wall (button faces South) 689 - `4`: Attached to South wall (button faces North) 690 691- `A`: Activated state 692 - `0`: Button not pressed 693 - `1`: Button pressed 694 695### Examples: 696 697- `1 (0001)`: Button on West wall, not pressed 698- `9 (1001)`: Button on West wall, pressed (providing power) 699- `4 (0100)`: Button on South wall, not pressed 700- `12 (1100)`: Button on South wall, pressed (providing power) 701 702## Pumpkin Metadata 703 704- Bit Usage: `- - D D` 705- Valid range: `0..3` 706 707### Bit Definitions: 708 709- `DD`: Facing direction 710 - `0`: South (Positive Z) 711 - `1`: West (Negative X) 712 - `2`: North (Negative Z) 713 - `3`: East (Positive X) 714 715### Examples: 716 717- `0 (0000)`: Pumpkin facing South 718- `1 (0001)`: Pumpkin facing West 719- `2 (0010)`: Pumpkin facing North 720- `3 (0011)`: Pumpkin facing East 721 722## Cake Metadata 723 724- Bit Usage: `- B B B` 725- Valid range: `0..5` 726 727### Bit Definitions: 728 729- `BBB`: Slices eaten 730 - `0`: Whole cake 731 - `1-5`: Number of slices eaten so far 732 733### Examples: 734 735- `0 (0000)`: Full cake, uneaten 736- `3 (0011)`: 3 slices eaten (half cake left) 737- `5 (0101)`: 5 slices eaten (last visible slice) 738 739## Redstone Repeater Metadata 740 741- Bit Usage: `D D F F` 742- Valid range: `0..15` 743 744### Bit Definitions: 745 746- `FF`: Facing (output direction) 747 - `0`: South (Positive Z) 748 - `1`: West (Negative X) 749 - `2`: North (Negative Z) 750 - `3`: East (Positive X) 751 752- `DD`: Delay setting 753 - `0`: 1 redstone tick (2 ticks) 754 - `1`: 2 redstone ticks (4 ticks) 755 - `2`: 3 redstone ticks (6 ticks) 756 - `3`: 4 redstone ticks (8 ticks) 757 758### Special Behaviors: 759 760- Note that powered/unpowered state is determined by block ID. 761 762### Examples: 763 764- `0 (0000)`: Facing South, 1-tick delay 765- `5 (0101)`: Facing West, 2-tick delay 766- `10 (1010)`: Facing North, 3-tick delay 767- `15 (1111)`: Facing East, 4-tick delay 768 769## Trapdoor Metadata 770 771- Bit Usage: `O D D` 772- Valid range: `0..7` 773 774### Bit Definitions: 775 776- `DD`: Attached wall 777 - `0`: Attached to South wall (block at +Z) 778 - `1`: Attached to North wall (block at −Z) 779 - `2`: Attached to East wall (block at +X) 780 - `3`: Attached to West wall (block at −X) 781 782- `O`: Open state 783 - `0`: Closed 784 - `1`: Open 785 786### Examples: 787 788- `0 (000)`: Closed, attached to South wall 789- `1 (001)`: Closed, attached to North wall 790- `4 (100)`: Open, attached to South wall 791- `7 (111)`: Open, attached to West wall 792 793[wheat]: #wheat-metadata 794[trapdoor]: #trapdoor-metadata 795[redstone_repeater]: #redstone-repeater-metadata 796[cake]: #cake-metadata 797[pumpkin]: #pumpkin-metadata 798[button]: #button-metadata 799[snow_layer]: #snow-layer-metadata 800[redstone_torch]: #redstone-torch-metadata 801[pressure_plate]: #pressure-plate-metadata 802[lever]: #lever-metadata 803[ladder]: #ladder-metadata 804[door]: #door-metadata 805[standing_sign]: #standing-sign-metadata 806[wall_sign]: #wall-sign-metadata 807[furnace]: #furnace-metadata 808[farmland]: #farmland-metadata 809[redstone_wire]: #redstone-wire-metadata 810[stairs]: #stairs-metadata 811[fire]: #fire-metadata 812[torch]: #torch-metadata 813[piston]: #piston-metadata 814[piston_head]: #piston-head-metadata 815[fluid]: #fluid-metadata 816[dispenser]: #dispenser-metadata 817[bed]: #bed-metadata 818[rail]: #rail-metadata 819[powered_rail]: #powered-rail-metadata 820[detector_rail]: #detector-rail-metadata