Blocks: Difference between revisions
m (→Composite Blocks: preparing piston) |
(→Composite Blocks: Added pistons) |
||
Line 1: | Line 1: | ||
This article lists the hitboxes (aka ''bounding boxes'') of all blocks in 1.8. |
This article lists the hitboxes (aka ''bounding boxes'') of all blocks in 1.8. |
||
⚫ | |||
Images were taken with [https://blockbench.net/ Blockbench], or from the [https://minecraft.gamepedia.com/Minecraft_Wiki Minecraft wiki].<br /> |
Images were taken with [https://blockbench.net/ Blockbench], or from the [https://minecraft.gamepedia.com/Minecraft_Wiki Minecraft wiki].<br /> |
||
== Simple Blocks == |
== Simple Blocks == |
||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
!Block |
!Block |
||
Line 64: | Line 63: | ||
|1 × 1 |
|1 × 1 |
||
|0.1875 |
|0.1875 |
||
|Inversible. |
|||
Can be flipped to its vertical variant. |
|||
|[[File:Trapdoor.png|alt=|center|frameless|100x100px]] |
|[[File:Trapdoor.png|alt=|center|frameless|100x100px]] |
||
|- |
|- |
||
Line 150: | Line 150: | ||
|1 × 0.1875 |
|1 × 0.1875 |
||
|1 |
|1 |
||
|Orientable ( |
|Orientable, Inversible (8 variants). |
||
Can be flipped to its horizontal variant. |
Can be flipped to its horizontal variant. |
||
|[[File:Trapdoor vertical.png|center|frameless|103x103px|alt=]] |
|[[File:Trapdoor vertical.png|center|frameless|103x103px|alt=]] |
||
Line 262: | Line 262: | ||
|0.5 |
|0.5 |
||
|Centered. |
|Centered. |
||
A head can be placed diagonally (16 variants total), |
|||
but the bounding box doesn't change. |
|||
|[[File:Head default.png|center|frameless|100x100px]] |
|[[File:Head default.png|center|frameless|100x100px]] |
||
|- |
|- |
||
Line 377: | Line 380: | ||
|''Head:'' 0.25 |
|''Head:'' 0.25 |
||
''Top:'' 1 |
''Top:'' 1 |
||
|Centered. Inversible. |
|||
⚫ | |||
⚫ | |||
The arm is shorter than it looks (0.75m height) |
|||
|[[File:Piston Head vertical.png|center|frameless|116x116px]] |
|||
|- |
|- |
||
|Piston Head (N/S/E) |
|Piston Head (N/S/E) |
||
Line 389: | Line 394: | ||
''Arm-Top:'' 0.625 |
''Arm-Top:'' 0.625 |
||
|Orientable (3 variants). |
|||
⚫ | |||
⚫ | |||
The arm is wider than it looks (0.5m width). |
|||
The arm is shorter than it looks (0.75m length) |
|||
|[[File:Piston Head NSE.png|center|frameless|100x100px]] |
|||
|- |
|- |
||
|Piston Head (West) |
|Piston Head (West) |
||
Line 399: | Line 408: | ||
''Arm-Top:'' 0.75 |
''Arm-Top:'' 0.75 |
||
|Bugged (fixed in 1.9). [https://imgur.com/a/IvqI1Vy Accurate model]. |
|||
The player can [https://youtu.be/p2iLWan60_g walk through a west extended piston]. |
|||
In 1.9, piston heads were changed to match their model. |
|||
|[[File:Piston Head West.png|center|frameless|102x102px]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| |
| |
||
| |
| |
Revision as of 15:27, 29 July 2020
This article lists the hitboxes (aka bounding boxes) of all blocks in 1.8.
Images were taken with Blockbench, or from the Minecraft wiki.
Simple Blocks
Blocks are ordered by length, then width, then height.
Block | Widths (b) | Height (b) | Comments | Image |
---|---|---|---|---|
Wall (4-sided) | 1 × 1 | 1.5 | ||
Default | 1 × 1 | 1 | ||
Soulsand | 1 × 1 | 0.875 | Looks like a full block, but is actually 2 px lower. | |
End Portal Frame | 1 × 1 | 0.8125 | ||
Enchantment Table | 1 × 1 | 0.75 | ||
Bed block | 1 × 1 | 0.5625 | The bottom doesn't look tangible, but it actually is. | |
Slab | 1 × 1 | 0.5 | Inversible. | |
Daylight Sensor | 1 × 1 | 0.375 | ||
Trapdoor (horizontal) | 1 × 1 | 0.1875 | Inversible.
Can be flipped to its vertical variant. |
|
Repeater | 1 × 1 | 0.125 | ||
Carpet | 1 × 1 | 0.0625 | ||
Lily Pad | 1 × 1 | 0.015625 | Is ¼ of a pixel in height. | |
Snow Layer | 1 × 1 | 0
0.125 0.25 0.375 0.5 0.625 0.75 0.875 |
Snow layers look 2 pixels higher than their real height.
Despite having no height, a single layer of snow is tangible. |
|
Anvil | 1 × 0.75 | 1 | Centered. Orientable (2 variants).
Looks thinner than it actually is. |
|
Piston Base (Powered) | 1 × 0.75 | 1 | Orientable (4 variants). | |
Wall (3-sided) | 1 × 0.75 | 1.5 | Orientable (4 variants) | |
Wall (2-opposite) | 1 × 0.375 | 1.5 | Centered. Orientable (2 variants).
Placing a block on top of it doesn't change its hitbox, despite its appearance being different. |
|
Fence (2-opposite) | 1 × 0.25 | 1.5 | Centered. Orientable (2 variants) | |
Fencegate | 1 × 0.25 | 1.5 | Centered. Orientable (2 variants).
Can be flipped to a variant with no hitbox. |
|
Trapdoor (vertical) | 1 × 0.1875 | 1 | Orientable, Inversible (8 variants).
Can be flipped to its horizontal variant. |
|
Door | 1 × 0.1875 | 1 | Orientable (4 variants).
Can be flipped to another variant. |
|
Ladder | 1 × 0.125 | 1 | Orientable (4 variants). | |
Pane (2-opposite) | 1 × 0.125 | 1 | Centered. Orientable (2 variants) | |
Chest (long) | 0.9375 × 0.875 | 0.875 | Must be next to another chest. | |
Dragon Egg | 0.875 × 0.875 | 1 | Centered.
Looks drastically different from its hitbox. |
|
Cactus | 0.875 × 0.875 | 0.9375 | Centered. Hurts entities close to it. | |
Chest | 0.875 × 0.875 | 0.875 | Centered. | |
Cake | 0.875 × 0.875
0.875 × 0.75 0.875 × 0.625 0.875 × 0.5 0.875 × 0.375 0.875 × 0.25 0.875 × 0.125 |
0.5 | The full cake is centered.
Each bite takes away 0.125b from the West (-X) |
|
Wall (2-adjacent) | 0.75 × 0.75 | 1.5 | Orientable (4 variants). | |
Wall (1-sided) | 0.75 × 0.5 | 1.5 | Orientable (4 variants). | |
Fence (1-sided) | 0.625 × 0.25 | 1.5 | Orientable (4 variants) | |
Wall (default) | 0.5 × 0.5 | 1.5 | Centered. | |
Cocoa (big) | 0.5 × 0.5 | Low: 0.1875
Top: 0.75 |
Orientable (4 variants).
1 pixel away from the wall it's attached to. Trivia: the top texture is only 7 pixels wide. |
|
Head (walled) | 0.5 × 0.5 | Low: 0.25
Top: 0.75 |
Orientable (4 variants). | |
Head (default) | 0.5 × 0.5 | 0.5 | Centered.
A head can be placed diagonally (16 variants total), but the bounding box doesn't change. |
|
Pane (1-sided) | 0.5 × 0.125 | 1 | Orientable (4 variants).
Appears 1 pixel longer than it really is. |
|
Cocoa (medium) | 0.375 × 0.375 | Low: 0.3125
Top: 0.75 |
Orientable (4 variants).
1 pixel away from the wall it's attached to. |
|
Flowerpot | 0.375 × 0.375 | 0.375 | Centered. | |
Fence (default) | 0.25 × 0.25 | 1.5 | Centered. | |
Cocoa (small) | 0.25 × 0.25 | Start: 0.4375
Top: 0.75 |
Orientable (4 variants).
1 pixel away from the wall it's attached to. |
Composite Blocks
"Except" represents an intangible zone rather than a tangible one.
Block | Widths (b) | Height (b) | Comments | Image |
---|---|---|---|---|
Stair (normal) | Base: 1 × 1
Top: 1 × 0.5 |
Base: 0.5
Top: 1 |
Orientable, Inversible (8 variants). | |
Stair (outer) | Base: 1 × 1
Top: 0.5 × 0.5 |
Base: 0.5
Top: 1 |
Orientable, Inversible (8 variants).
Depends on nearby stair blocks. |
|
Stair (inner) | Base: 1 × 1
|
Base: 1
|
Orientable, Inversible (8 variants).
Depends on nearby stair blocks. |
|
End Portal Frame (eye) | Base: 1 × 1
Eye: 0.375 × 0.375 |
Base: 0.8125
Eye: 1 |
The eye looks bigger than it is.
(Appears 8 px in width, but is actually 6 px wide) |
|
Hopper | Base: 1 × 1
|
Base: 1
|
The bottom doesn't look tangible, but it actually is.
The interior floor is 1 pixel lower than it looks. |
|
Cauldron | Base: 1 × 1
|
Base: 1
|
The bottom doesn't look tangible, but it actually is.
The interior floor is 1 pixel higher than it looks |
|
Brewing Stand | Base: 1 × 1
Rod: 0.125 × 0.125 |
Base: 0.125
Rod: 0.875 |
The base looks very different from its hitbox. | |
Piston Head (Vertical) | Head: 1 × 1
Arm: 0.25 × 0.25 |
Head: 0.25
Top: 1 |
Centered. Inversible.
The arm is shorter than it looks (0.75m height) |
|
Piston Head (N/S/E) | Head: 1 × 0.25
Arm: 0.75 × 0.5 |
Head: 1
Arm-Low: 0.375 Arm-Top: 0.625 |
Orientable (3 variants).
The arm is wider than it looks (0.5m width). The arm is shorter than it looks (0.75m length) |
|
Piston Head (West) | Head: 1 × 0.25
Arm: 0.75 × 0.25 |
Head: 1
Arm-Low: 0.25 Arm-Top: 0.75 |
Bugged (fixed in 1.9). Accurate model.
The player can walk through a west extended piston. In 1.9, piston heads were changed to match their model. |
|
Other
Block | Widths (b) | Height (b) | Comments | Image |
---|---|---|---|---|
Boat | 1.5 x 1.5 | 0.6 | Entity. |