Blocks: Difference between revisions
m (new ladder image) |
(Marked this version for translation) |
||
(34 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
This article lists the hitboxes (aka ''bounding boxes'') of all blocks in 1.8. |
|||
<translate> |
|||
<!--T:1--> |
|||
A '''Block''' is a basic unit of structure occupying space in the world. |
|||
Blocks are ordered by length, then width, then height. |
|||
<!--T:2--> |
|||
Images were taken with [https://blockbench.net/ Blockbench], or from the [https://minecraft.gamepedia.com/Minecraft_Wiki Minecraft wiki].<br /> |
|||
A '''Collision Box''' is a solid volume of space that the player is not meant to pass through, which consists of one or multiple '''Bounding Boxes''', which are axis-aligned cuboids. Entities have their own bounding box, but are not treated as solid space (except for [https://minecraft.gamepedia.com/Boat boats]). |
|||
<!--T:3--> |
|||
== Simple Blocks == |
|||
* Not to confuse with a '''Hitbox''', which is a volume of space that a player can interact with (attack, mine, right-click...). |
|||
<!--T:4--> |
|||
* Also not to confuse with a '''Model''', which is simply the graphical representation of a block / entity on screen. |
|||
*Finally, some blocks have their own "effect box", such as fluids, ladders, cacti, pressure plates... All of which are coded and applied differently. |
|||
<!--T:5--> |
|||
For example: a [https://minecraft.gamepedia.com/Button button] has no collision box, as the player can walk through one, but has a hitbox which the player can click on. |
|||
<!--T:6--> |
|||
Another example: a [https://minecraft.gamepedia.com/Barrier barrier block] has overlapping bounding box and hitbox, but is hard-coded to have no model. |
|||
<!--T:7--> |
|||
This article lists the collision boxes and properties of all blocks in 1.8. |
|||
<!--T:8--> |
|||
Blocks with particular properties and/or no collision boxes are presented on their own articles. |
|||
<!--T:9--> |
|||
Images were taken with [https://blockbench.net/ Blockbench], or from the [https://minecraft.gamepedia.com/Minecraft_Wiki Minecraft wiki]. |
|||
<!--T:10--> |
|||
'''Resources:''' |
|||
<!--T:11--> |
|||
*[https://www.curseforge.com/minecraft/texture-packs/better-parkour-models/files/2333891 BetterParkourModels], a resource pack that modifies models to be slightly more accurate. |
|||
*[https://discord.gg/fArwyXM BetterParkourModels+], an faithful update to BPM that corrects and adds some models (made by Fuzzbearplush). |
|||
*[https://www.curseforge.com/minecraft/texture-packs/truemodels TrueModels], an alternative resource pack that reworks models to look accurate and natural. |
|||
== Simple Collision Boxes == <!--T:12--> |
|||
<!--T:13--> |
|||
Collision boxes that consist of a single bounding box. Blocks are ordered by length, then width, then height. |
|||
{| class="wikitable" |
{| class="wikitable" |
||
!Block |
!Block |
||
Line 11: | Line 56: | ||
!Height (b) |
!Height (b) |
||
!Comments |
!Comments |
||
!Model |
|||
!Image |
|||
|- |
|- |
||
|Wall (4-sided) |
|Wall (4-sided) |
||
|1 × 1 |
|1 × 1 |
||
|1.5 |
|1.5 |
||
|Adjacent blocks must be solid, walls, or fencegates. |
|||
| |
|||
|[[File:Wall 4-sided.png|center|frameless| |
|[[File:Wall 4-sided.png|center|frameless|102x102px|alt=]] |
||
|- |
|- |
||
|Default |
|Default |
||
Line 25: | Line 70: | ||
|[[File:Block_default.png|alt=|center|frameless|107x107px]] |
|[[File:Block_default.png|alt=|center|frameless|107x107px]] |
||
|- |
|- |
||
|[[Soulsand]] |
|[[Special:MyLanguage/Soulsand|Soulsand]] |
||
|1 × 1 |
|1 × 1 |
||
|0.875 |
|0.875 |
||
|Looks like a full block, but is actually 2 px lower. |
|Looks like a full block, but is actually 2 px lower. |
||
Slows down entities walking on top of it. |
|||
|[[File:Soulsand.png|alt=|center|frameless|107x107px]] |
|[[File:Soulsand.png|alt=|center|frameless|107x107px]] |
||
|- |
|- |
||
Line 64: | Line 110: | ||
|1 × 1 |
|1 × 1 |
||
|0.1875 |
|0.1875 |
||
|Inversible. |
|||
|Can be flipped to its vertical variant. |
|||
Can be flipped to its vertical variant. |
|||
|[[File:Trapdoor.png|alt=|center|frameless|100x100px]] |
|[[File:Trapdoor.png|alt=|center|frameless|100x100px]] |
||
|- |
|- |
||
Line 89: | Line 136: | ||
|0 |
|0 |
||
<!--T:14--> |
|||
0.125 |
0.125 |
||
<!--T:15--> |
|||
0.25 |
0.25 |
||
<!--T:16--> |
|||
0.375 |
0.375 |
||
<!--T:17--> |
|||
0.5 |
0.5 |
||
<!--T:18--> |
|||
0.625 |
0.625 |
||
<!--T:19--> |
|||
0.75 |
0.75 |
||
<!--T:20--> |
|||
0.875 |
0.875 |
||
|Snow layers look 2 pixels higher than their real height. |
|Snow layers look 2 pixels higher than their real height. |
||
Despite having no height, a single layer of snow is tangible. |
Despite having no height, a single layer of snow is tangible. |
||
|[[File:Snow.gif|center|frameless]] |
|||
|... (gif) |
|||
|- |
|- |
||
|Wall (3-sided) |
|||
|Anvil |
|||
|1 × 0. |
|1 × 0.75 |
||
|1.5 |
|||
|Orientable (4 variants). |
|||
Adjacent blocks must be solid, walls, or fencegates. |
|||
|[[File:Wall 3-sided.png|center|frameless|102x102px|alt=]] |
|||
|- |
|||
|[[Special:MyLanguage/Hitbox Manipulation|Anvil]] |
|||
|1 × 0.75 |
|||
|1 |
|1 |
||
|Centered. Orientable (2 variants). |
|Centered. Orientable (2 variants). |
||
Looks thinner than it actually is. |
Looks thinner than it actually is. |
||
|[[File:Anvil.png|center|frameless| |
|[[File:Anvil.png|center|frameless|102x102px|alt=]] |
||
|- |
|- |
||
|Piston Base (Powered) |
|Piston Base (Powered) |
||
Line 117: | Line 178: | ||
|1 |
|1 |
||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
|[[File:Piston Base Powered.png|center|frameless| |
|[[File:Piston Base Powered.png|center|frameless|102x102px|alt=]] |
||
|- |
|||
|Wall (3-sided) |
|||
|1 × 0.75 |
|||
|1.5 |
|||
|Orientable (4 variants) |
|||
|[[File:Wall 3-sided.png|center|frameless|122x122px]] |
|||
|- |
|- |
||
|Wall (2-opposite) |
|Wall (2-opposite) |
||
Line 129: | Line 184: | ||
|1.5 |
|1.5 |
||
|Centered. Orientable (2 variants). |
|Centered. Orientable (2 variants). |
||
Adjacent blocks must be solid, walls, or fencegates. |
|||
Placing a block on top of it doesn't change its hitbox, |
|||
<!--T:21--> |
|||
Placing a block on top of it doesn't change its collision box, |
|||
<!--T:22--> |
|||
despite its appearance being different. |
despite its appearance being different. |
||
|[[File:Wall 2-opposite.png|center|frameless| |
|[[File:Wall 2-opposite.png|center|frameless|91x91px|alt=]] |
||
|- |
|- |
||
|Fence (2-opposite) |
|Fence (2-opposite) |
||
|1 × 0.25 |
|1 × 0.25 |
||
|1.5 |
|1.5 |
||
|Centered. Orientable (2 variants) |
|Centered. Orientable (2 variants). |
||
Adjacent blocks must be solid, fences, or fencegates. |
|||
|[[File:Fence 2-opposite.png|center|frameless|111x111px]] |
|||
|[[File:Fence 2-opposite.png|center|frameless|90x90px|alt=]] |
|||
|- |
|- |
||
|Fencegate |
|Fencegate |
||
Line 144: | Line 204: | ||
|1.5 |
|1.5 |
||
|Centered. Orientable (2 variants). |
|Centered. Orientable (2 variants). |
||
Can be flipped to a variant with no |
Can be flipped to a variant with no collision box. |
||
|[[File:Fencegate.png|center|frameless| |
|[[File:Fencegate.png|center|frameless|82x82px|alt=]] |
||
|- |
|- |
||
|Trapdoor (vertical) |
|Trapdoor (vertical) |
||
|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| |
|[[File:Trapdoor vertical.png|center|frameless|103x103px|alt=]] |
||
|- |
|- |
||
|Door |
|Door |
||
Line 159: | Line 219: | ||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
Can be flipped to another variant. |
Can be flipped to another variant. |
||
|[[File:Door.png|center|frameless| |
|[[File:Door.png|center|frameless|103x103px|alt=]] |
||
|- |
|- |
||
|[[Ladders and Vines|Ladder]] |
|[[Special:MyLanguage/Ladders and Vines|Ladder]] |
||
|1 × 0.125 |
|1 × 0.125 |
||
|1 |
|1 |
||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
Can be climbed by entities. |
|||
|[[File:Ladder.png|center|frameless|174x174px]] |
|||
|[[File:Ladder.png|center|frameless|107x107px]] |
|||
|- |
|- |
||
|Pane (2-opposite) |
|Pane (2-opposite) |
||
|1 × 0.125 |
|1 × 0.125 |
||
|1 |
|1 |
||
|Centered. Orientable (2 variants) |
|Centered. Orientable (2 variants). |
||
Adjacent blocks must be solid, or panes/bars. |
|||
|[[File:Pane 2-opposite.png|center|frameless|107x107px]] |
|[[File:Pane 2-opposite.png|center|frameless|107x107px]] |
||
|- |
|- |
||
|[[Hitbox Manipulation|Chest (long)]] |
|[[Special:MyLanguage/Hitbox Manipulation|Chest (long)]] |
||
|0.9375 × 0.875 |
|0.9375 × 0.875 |
||
|0.875 |
|0.875 |
||
|Must be next to another chest. |
|Must be next to another chest. |
||
|[[File:Chest long.png|center|frameless|103x103px]] |
|||
|... |
|||
|- |
|- |
||
|Dragon Egg |
|Dragon Egg |
||
Line 183: | Line 245: | ||
|1 |
|1 |
||
|Centered. |
|Centered. |
||
Looks drastically different |
Looks drastically different from its collision box. |
||
|[[File:Dragon Egg.png|center|frameless|95x95px]] |
|[[File:Dragon Egg.png|center|frameless|95x95px]] |
||
|- |
|- |
||
Line 189: | Line 251: | ||
|0.875 × 0.875 |
|0.875 × 0.875 |
||
|0.9375 |
|0.9375 |
||
|Centered. |
|Centered. |
||
Hurts entities close to it. |
|||
|[[File:Cactus.png|center|frameless|110x110px]] |
|[[File:Cactus.png|center|frameless|110x110px]] |
||
|- |
|- |
||
Line 196: | Line 259: | ||
|0.875 |
|0.875 |
||
|Centered. |
|Centered. |
||
|[[File:Chest.png|center|frameless|101x101px]] |
|||
|... |
|||
|- |
|- |
||
|Cake |
|Cake |
||
|0.875 × 0.875 |
|0.875 × 0.875 |
||
<!--T:23--> |
|||
0.875 × 0.75 |
0.875 × 0.75 |
||
<!--T:24--> |
|||
0.875 × 0.625 |
0.875 × 0.625 |
||
<!--T:25--> |
|||
0.875 × 0.5 |
0.875 × 0.5 |
||
<!--T:26--> |
|||
0.875 × 0.375 |
0.875 × 0.375 |
||
<!--T:27--> |
|||
0.875 × 0.25 |
0.875 × 0.25 |
||
<!--T:28--> |
|||
0.875 × 0.125 |
0.875 × 0.125 |
||
|0.5 |
|0.5 |
||
|The full cake is centered. |
|The full cake is centered. |
||
Each bite takes away 0.125b from the West (-X) |
Each bite takes away 0.125b from the West (-X) |
||
|[[File:Cake.gif|center|frameless|100x100px]] |
|||
|... (gif) |
|||
|- |
|- |
||
|Wall (2-adjacent) |
|Wall (2-adjacent) |
||
Line 221: | Line 290: | ||
|1.5 |
|1.5 |
||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
Adjacent blocks must be solid, walls, or fencegates. |
|||
|[[File:Wall 2-adjacent.png|center|frameless|117x117px]] |
|||
|[[File:Wall 2-adjacent.png|center|frameless|102x102px|alt=]] |
|||
|- |
|- |
||
|Wall (1-sided) |
|Wall (1-sided) |
||
Line 227: | Line 297: | ||
|1.5 |
|1.5 |
||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
Adjacent block must be solid, a wall, or a fencegate. |
|||
|[[File:Wall 1-sided.png|center|frameless|117x117px]] |
|||
|[[File:Wall 1-sided.png|center|frameless|102x102px|alt=]] |
|||
|- |
|- |
||
|Fence (1-sided) |
|Fence (1-sided) |
||
|0.625 × 0.25 |
|0.625 × 0.25 |
||
|1.5 |
|1.5 |
||
|Orientable (4 variants) |
|Orientable (4 variants). |
||
Adjacent block must be solid, a fences, or a fencegate. |
|||
|[[File:Fence 1-sided.png|center|frameless|111x111px]] |
|||
|[[File:Fence 1-sided.png|center|frameless|97x97px|alt=]] |
|||
|- |
|- |
||
|Wall (default) |
|Wall (default) |
||
Line 239: | Line 311: | ||
|1.5 |
|1.5 |
||
|Centered. |
|Centered. |
||
|[[File:Wall default.png|center|frameless| |
|[[File:Wall default.png|center|frameless|99x99px|alt=]] |
||
|- |
|- |
||
| |
|Cocoa (big) |
||
|0.5 × 0.5 |
|0.5 × 0.5 |
||
|''Low:'' 0.1875 |
|||
|0.5 |
|||
''Top:'' 0.75 |
|||
|Centered. |
|||
|Orientable (4 variants). |
|||
|... |
|||
1 pixel away from the wall it's attached to. |
|||
<!--T:29--> |
|||
''Trivia:'' the top texture is only 7 pixels wide. |
|||
|[[File:Cocoa big.png|center|frameless|84x84px|alt=]] |
|||
|- |
|- |
||
|Head (walled) |
|Head (walled) |
||
|0.5 × 0.5 |
|0.5 × 0.5 |
||
|'' |
|''Low:'' 0.25 |
||
''Top:'' 0.75 |
''Top:'' 0.75 |
||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
|[[File:Head wall.png|center|frameless|100x100px]] |
|||
|... |
|||
|- |
|||
|Head (default) |
|||
|0.5 × 0.5 |
|||
|0.5 |
|||
|Centered. |
|||
A head can be placed diagonally (16 variants total), |
|||
<!--T:30--> |
|||
but the collision box doesn't change. |
|||
|[[File:Head default.png|center|frameless|100x100px]] |
|||
|- |
|- |
||
|Pane (1-sided) |
|Pane (1-sided) |
||
Line 259: | Line 346: | ||
|Orientable (4 variants). |
|Orientable (4 variants). |
||
Appears 1 pixel longer than it really is. |
Appears 1 pixel longer than it really is. |
||
|[[File:Pane 1-sided.png|center|frameless|97x97px]] |
|||
<!--T:31--> |
|||
Adjacent block must be solid, or a pane/bar. |
|||
|[[File:Pane 1-sided.png|center|frameless|85x85px|alt=]] |
|||
|- |
|||
|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. |
|||
|[[File:Cocoa medium.png|center|frameless|74x74px|alt=]] |
|||
|- |
|- |
||
|Flowerpot |
|Flowerpot |
||
Line 265: | Line 363: | ||
|0.375 |
|0.375 |
||
|Centered. |
|Centered. |
||
|[[File:Flowerpot.png|center|frameless| |
|[[File:Flowerpot.png|center|frameless|55x55px|alt=]] |
||
|- |
|- |
||
|Fence (default) |
|Fence (default) |
||
Line 271: | Line 369: | ||
|1.5 |
|1.5 |
||
|Centered. |
|Centered. |
||
|[[File: |
|[[File:Fence_default.png|alt=|center|frameless|90x90px]] |
||
|- |
|||
|Cocoa (small) |
|||
|0.25 × 0.25 |
|||
|''Low:'' 0.4375 |
|||
''Top:'' 0.75 |
|||
|Orientable (4 variants). |
|||
1 pixel away from the wall it's attached to. |
|||
|[[File:Cocoa small.png|center|frameless|58x58px|alt=]] |
|||
|} |
|} |
||
== Composite Blocks == |
|||
"''<s>Except</s>''" represents an intangible zone rather than a tangible one. |
|||
==Composite Collision Boxes== <!--T:32--> |
|||
<!--T:33--> |
|||
Collision boxes that consist of two or more bounding boxes. |
|||
<!--T:34--> |
|||
"''<s>Except</s>''" represents an intangible zone rather than a tangible one (simpler to describe that listing all bounding boxes) |
|||
{| class="wikitable" |
{| class="wikitable" |
||
!Block |
!Block |
||
Line 282: | Line 395: | ||
!Height (b) |
!Height (b) |
||
!Comments |
!Comments |
||
!Model |
|||
!Image |
|||
|- |
|- |
||
|Stair (normal) |
|Stair (normal) |
||
Line 289: | Line 402: | ||
|''Base:'' 0.5 |
|''Base:'' 0.5 |
||
''Top:'' 1 |
''Top:'' 1 |
||
|Orientable ( |
|Orientable, Inversible (8 variants). |
||
|[[File:Block_Stair_default.png|alt=|center|frameless|110x110px]] |
|[[File:Block_Stair_default.png|alt=|center|frameless|110x110px]] |
||
|- |
|- |
||
Line 297: | Line 410: | ||
|''Base:'' 0.5 |
|''Base:'' 0.5 |
||
''Top:'' 1 |
''Top:'' 1 |
||
|Orientable ( |
|Orientable, Inversible (8 variants). |
||
Depends on adjacent stair blocks. |
|||
|[[File:Stair_outer.png|alt=|center|frameless|113x113px]] |
|[[File:Stair_outer.png|alt=|center|frameless|113x113px]] |
||
|- |
|- |
||
Line 305: | Line 419: | ||
|''Base:'' 1 |
|''Base:'' 1 |
||
''<s>Except:</s>'' -0.5 |
''<s>Except:</s>'' -0.5 |
||
|Orientable ( |
|Orientable, Inversible (8 variants). |
||
Depends on adjacent stair blocks. |
|||
|[[File:Stair_inner.png|alt=|center|frameless|107x107px]] |
|[[File:Stair_inner.png|alt=|center|frameless|107x107px]] |
||
|- |
|- |
||
Line 315: | Line 430: | ||
|The eye looks bigger than it is. |
|The eye looks bigger than it is. |
||
<!--T:35--> |
|||
(Appears 8 px in width, but is actually 6 px wide) |
(Appears 8 px in width, but is actually 6 px wide) |
||
|[[File:End_Portal_Frame_Eye.png|alt=|center|frameless|102x102px]] |
|[[File:End_Portal_Frame_Eye.png|alt=|center|frameless|102x102px]] |
||
|- |
|||
|Hopper |
|||
|''Base:'' 1 × 1 |
|||
''<s>Except:</s>'' -0.75 × -0.75 |
|||
|''Base:'' 1 |
|||
''<s>Except:</s>'' -0.375 |
|||
|The bottom doesn't look tangible, but it actually is. |
|||
The interior floor is 1 pixel lower than it looks. |
|||
|[[File:Hopper.png|center|frameless|101x101px]] |
|||
|- |
|- |
||
|Cauldron |
|Cauldron |
||
Line 324: | Line 449: | ||
''<s>Except:</s>'' -0.6875 |
''<s>Except:</s>'' -0.6875 |
||
|The bottom doesn't look tangible, but it actually is. |
|The bottom doesn't look tangible, but it actually is. |
||
The interior floor is 1 pixel higher than it looks |
|||
|[[File:Cauldron.png|alt=|center|frameless|107x107px]] |
|[[File:Cauldron.png|alt=|center|frameless|107x107px]] |
||
|- |
|- |
||
Line 331: | Line 457: | ||
|''Base:'' 0.125 |
|''Base:'' 0.125 |
||
''Rod:'' 0.875 |
''Rod:'' 0.875 |
||
|The base looks |
|The base looks very different from its bounding box. |
||
|[[File:Brewing Stand.png|center|frameless|100x100px]] |
|[[File:Brewing Stand.png|center|frameless|100x100px]] |
||
|- |
|- |
||
|Piston Head (Vertical) |
|||
|... |
|||
|''Head:'' 1 × 1 |
|||
| |
|||
''Arm:'' 0.25 × 0.25 |
|||
| |
|||
|''Head:'' 0.25 |
|||
| |
|||
''Top:'' 1 |
|||
| |
|||
|Centered. Inversible. |
|||
<!--T:36--> |
|||
The arm is shorter than it looks (model extended by 4px). |
|||
|[[File:Piston Head vertical.png|center|frameless|116x116px]] |
|||
|- |
|||
|Piston Head (N/S/E) |
|||
|''Head:'' 1 × 0.25 |
|||
<!--T:37--> |
|||
''Arm:'' 0.75 × 0.5 |
|||
|''Head:'' 1 |
|||
<!--T:38--> |
|||
''Arm-Low:'' 0.375 |
|||
<!--T:39--> |
|||
''Arm-Top:'' 0.625 |
|||
|Orientable (3 variants). [https://imgur.com/a/HVovakh Accurate model]. |
|||
<!--T:40--> |
|||
The arm is wider than it looks (0.5m width). |
|||
<!--T:41--> |
|||
The arm is shorter than it looks (model extended by 4px). |
|||
|[[File:Piston Head NSE.png|center|frameless|100x100px]] |
|||
|- |
|||
|Piston Head (West) |
|||
|''Head:'' 1 × 0.25 |
|||
''Arm:'' 0.75 × 0.25 |
|||
|''Head:'' 1 |
|||
''Arm-Low:'' 0.25 |
|||
<!--T:42--> |
|||
''Arm-Top:'' 0.75 |
|||
|Bugged (fixed in 1.9). [https://imgur.com/a/IuDYtlg Accurate model]. |
|||
<!--T:43--> |
|||
The player can [https://youtu.be/p2iLWan60_g walk through a west extended piston]. |
|||
<!--T:44--> |
|||
In 1.9, piston heads were changed to match their model. |
|||
|[[File:Piston Head West.png|center|frameless|102x102px]] |
|||
|- |
|||
|Fence (4-sided) |
|||
|''Post:'' 0.25 × 0.25 |
|||
<!--T:45--> |
|||
''Sides:'' 0.375 × 0.25 |
|||
|1.5 |
|||
|Adjacent blocks must be solid, fences, or fencegates. |
|||
|[[File:Fence 4-sided.png|center|frameless|100x100px]] |
|||
|- |
|||
|Fence (3-sided) |
|||
|''Post:'' 0.25 × 0.25 |
|||
''Sides:'' 0.375 × 0.25 |
|||
|1.5 |
|||
|Orientable (4 variants). |
|||
Adjacent blocks must be solid, fences, or fencegates. |
|||
|[[File:Fence 3-sided.png|center|frameless|101x101px]] |
|||
|- |
|||
|Fence (2-adjacent) |
|||
|''Post:'' 0.25 × 0.25 |
|||
''Sides:'' 0.375 × 0.25 |
|||
|1.5 |
|||
|Orientable (4 variants). |
|||
Adjacent blocks must be solid, fences, or fencegates. |
|||
|[[File:Fence 2-adjacent.png|center|frameless|100x100px]] |
|||
|- |
|||
|Pane (Default / 4-sided) |
|||
|''Sides:'' 0.5 × 0.125 |
|||
|1 |
|||
|Adjacent blocks must be solid, or panes/bars. |
|||
|[[File:Pane default.png|center|frameless|90x90px]] |
|||
|- |
|||
|Pane (3-sided) |
|||
|''Sides:'' 0.5 × 0.125 |
|||
|1 |
|||
|Orientable (4 variants). |
|||
Adjacent blocks must be solid, or panes/bars. |
|||
|[[File:Pane 3-sided.png|center|frameless|90x90px]] |
|||
|- |
|||
|Pane (2-adjacent) |
|||
|''Sides:'' 0.5 × 0.125 |
|||
|1 |
|||
|Orientable (4 variants). |
|||
Adjacent blocks must be solid, or panes/bars. |
|||
<!--T:46--> |
|||
The exterior corner has a 1px wide opening |
|||
<!--T:47--> |
|||
(despite the model showing a clean 90° corner). |
|||
|[[File:Pane 2-adjacent.png|center|frameless|90x90px]] |
|||
|}<br /> |
|}<br /> |
||
== Other == |
|||
==Other== <!--T:48--> |
|||
<!--T:49--> |
|||
{| class="wikitable" |
{| class="wikitable" |
||
!Block |
!Block |
||
Line 347: | Line 571: | ||
!Height (b) |
!Height (b) |
||
!Comments |
!Comments |
||
!Model |
|||
!Image |
|||
|- |
|- |
||
|Boat |
|Boat |
||
Line 355: | Line 579: | ||
|[[File:Boat.png|frameless|150x150px]] |
|[[File:Boat.png|frameless|150x150px]] |
||
|} |
|} |
||
</translate> |
Latest revision as of 12:38, 24 August 2021
A Block is a basic unit of structure occupying space in the world.
A Collision Box is a solid volume of space that the player is not meant to pass through, which consists of one or multiple Bounding Boxes, which are axis-aligned cuboids. Entities have their own bounding box, but are not treated as solid space (except for boats).
- Not to confuse with a Hitbox, which is a volume of space that a player can interact with (attack, mine, right-click...).
- Also not to confuse with a Model, which is simply the graphical representation of a block / entity on screen.
- Finally, some blocks have their own "effect box", such as fluids, ladders, cacti, pressure plates... All of which are coded and applied differently.
For example: a button has no collision box, as the player can walk through one, but has a hitbox which the player can click on.
Another example: a barrier block has overlapping bounding box and hitbox, but is hard-coded to have no model.
This article lists the collision boxes and properties of all blocks in 1.8.
Blocks with particular properties and/or no collision boxes are presented on their own articles.
Images were taken with Blockbench, or from the Minecraft wiki.
Resources:
- BetterParkourModels, a resource pack that modifies models to be slightly more accurate.
- BetterParkourModels+, an faithful update to BPM that corrects and adds some models (made by Fuzzbearplush).
- TrueModels, an alternative resource pack that reworks models to look accurate and natural.
Simple Collision Boxes
Collision boxes that consist of a single bounding box. Blocks are ordered by length, then width, then height.
Block | Widths (b) | Height (b) | Comments | Model |
---|---|---|---|---|
Wall (4-sided) | 1 × 1 | 1.5 | Adjacent blocks must be solid, walls, or fencegates. | |
Default | 1 × 1 | 1 | ||
Soulsand | 1 × 1 | 0.875 | Looks like a full block, but is actually 2 px lower.
Slows down entities walking on top of it. |
|
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. |
|
Wall (3-sided) | 1 × 0.75 | 1.5 | Orientable (4 variants).
Adjacent blocks must be solid, walls, or fencegates. |
|
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 (2-opposite) | 1 × 0.375 | 1.5 | Centered. Orientable (2 variants).
Adjacent blocks must be solid, walls, or fencegates. Placing a block on top of it doesn't change its collision box, despite its appearance being different. |
|
Fence (2-opposite) | 1 × 0.25 | 1.5 | Centered. Orientable (2 variants).
Adjacent blocks must be solid, fences, or fencegates. |
|
Fencegate | 1 × 0.25 | 1.5 | Centered. Orientable (2 variants).
Can be flipped to a variant with no collision box. |
|
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).
Can be climbed by entities. |
|
Pane (2-opposite) | 1 × 0.125 | 1 | Centered. Orientable (2 variants).
Adjacent blocks must be solid, or panes/bars. |
|
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 collision box. |
|
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).
Adjacent blocks must be solid, walls, or fencegates. |
|
Wall (1-sided) | 0.75 × 0.5 | 1.5 | Orientable (4 variants).
Adjacent block must be solid, a wall, or a fencegate. |
|
Fence (1-sided) | 0.625 × 0.25 | 1.5 | Orientable (4 variants).
Adjacent block must be solid, a fences, or a fencegate. |
|
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 collision box doesn't change. |
|
Pane (1-sided) | 0.5 × 0.125 | 1 | Orientable (4 variants).
Appears 1 pixel longer than it really is. Adjacent block must be solid, or a pane/bar. |
|
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 | Low: 0.4375
Top: 0.75 |
Orientable (4 variants).
1 pixel away from the wall it's attached to. |
Composite Collision Boxes
Collision boxes that consist of two or more bounding boxes.
"Except" represents an intangible zone rather than a tangible one (simpler to describe that listing all bounding boxes)
Block | Widths (b) | Height (b) | Comments | Model |
---|---|---|---|---|
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 adjacent stair blocks. |
|
Stair (inner) | Base: 1 × 1
|
Base: 1
|
Orientable, Inversible (8 variants).
Depends on adjacent 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 bounding box. | |
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 (model extended by 4px). |
|
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). Accurate model.
The arm is wider than it looks (0.5m width). The arm is shorter than it looks (model extended by 4px). |
|
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. |
|
Fence (4-sided) | Post: 0.25 × 0.25
Sides: 0.375 × 0.25 |
1.5 | Adjacent blocks must be solid, fences, or fencegates. | |
Fence (3-sided) | Post: 0.25 × 0.25
Sides: 0.375 × 0.25 |
1.5 | Orientable (4 variants).
Adjacent blocks must be solid, fences, or fencegates. |
|
Fence (2-adjacent) | Post: 0.25 × 0.25
Sides: 0.375 × 0.25 |
1.5 | Orientable (4 variants).
Adjacent blocks must be solid, fences, or fencegates. |
|
Pane (Default / 4-sided) | Sides: 0.5 × 0.125 | 1 | Adjacent blocks must be solid, or panes/bars. | |
Pane (3-sided) | Sides: 0.5 × 0.125 | 1 | Orientable (4 variants).
Adjacent blocks must be solid, or panes/bars. |
|
Pane (2-adjacent) | Sides: 0.5 × 0.125 | 1 | Orientable (4 variants).
Adjacent blocks must be solid, or panes/bars. The exterior corner has a 1px wide opening (despite the model showing a clean 90° corner). |
Other
Block | Widths (b) | Height (b) | Comments | Model |
---|---|---|---|---|
Boat | 1.5 x 1.5 | 0.6 | Entity. |