![]() |
VOOZH | about |
A hitbox defines the physical boundary (or an approximation) of a block or entity. Hitboxes are used in the calculations of collisions and targeting.
Unlike with block models, all hitboxes' sizes are hard-coded and cannot be changed independently without modification.
In Java Edition, hitboxes can be seen through the โฏ+โฏ debug hotkey.
An entity's bounding box manages their collision with blocks and other entities. It's also used for detecting hits and other interactions from players, villagers, arrows, and other entities. In Java Edition, it's shown as a white color coded hitbox around the entities' model, and moves with the entity but maintains a static orientation without rotating.
When the bounding boxes between two entities overlap, a small force is applied to each entity proportional to the distance between them to push them away from each other horizontally. Because there is no vertical collision, it is possible to put multiple entities in the same block by dropping them in from above.
An entity's bounding box can transform into different shapes depending on certain situations, typically unique to the entity itself. For instance, a pufferfish when approached by players gradually expands its shape, from unpuffed, to semi-puffed, then to fully puffed. It instantly shrinks its shape back to normal once it cools down. Players can also change their bounding box by sneaking, crawling, swimming, gliding, or any other means.
Bounding boxes can be scaled by minecraft:scale attribute, or for specific entities, like interaction, it can be changed by modifying their entity data.
The eye height shows an entity's eyes placement. It's used for detecting when an entity is submerged in a fluid or phasing through a solid block. In this state, the game usually times the entity drowning or suffocating. In Java Edition, it's shown as red box typically appearing on entities' eyes or head.
The eye height is also used to determine if two entities can see and follow each other by their eye contact.[1]
A blue arrow starting from the eye position and sticking forward 2 blocks shows the orientation the entities are facing, this is called the view vector.[2] This arrow does not indicate a hit-scan or line of sight test, instead, the mechanic is handled as a part of the mob AI and a different method[3].
The passenger attachment point is a hitbox that shows the point where an entity passenger is attached on a mountable entity. It's shown as a small green hitbox. It appears on a mountable entity when it is mounted by another entity, and aligns precisely with the bottom side of the hitbox.
visualize_collision_boxes debug renderer.
The collision box manages a block's collision with entities. They are usually shaped in cubes, but some may have different shapes, like slabs, lecterns, lily pads, fences, walls, and stairs.
A collision box may not be present for all blocks; non-solid blocks such as grass, sign, button, lever, and torch have no collision box.
While most blocks have their collision box identical to their interaction box[note 2] or an empty collision box if it is a non-solid block, some may have a different collision box compared to their interaction box counterpart. For instance, a lectern's collision box does not extend into the upper part of their interaction box, and a fence's collision box is a bit taller than their interaction box. The table below shows all the exceptions in Java Edition:[note 3]
| Block | Collision box | Interaction box | Notes |
|---|---|---|---|
| ๐ Image Bamboo |
๐ BlockSprite bamboo.png: Sprite image for bamboo in Minecraft |
๐ BlockSprite bamboo-stalk.png: Sprite image for bamboo-stalk in Minecraft ๐ BlockSprite bamboo-leaves-large.png: Sprite image for bamboo-leaves-large in Minecraft |
Bamboos have a random center, and the same center for collision and interaction box. |
| ๐ Image Big Dripleaf |
๐ BlockSprite big-dripleaf.png: Sprite image for big-dripleaf in Minecraft ๐ Image ๐ Image |
The collision box plus a 6ร11ร6 column centered 4 pixels opposite from the face. |
The collision box is counted from 1 pixel below the top of the block. |
| ๐ Image Cactus |
15ร15ร15 | 15ร16ร15 | |
| ๐ Image Composter |
Same as visual model when level is set to 0.
|
Same as visual model, changing according to the level.
| |
| ๐ Image Fences |
4ร24ร4
Additionally, for all sides set to |
4ร16ร4
Additionally, for all sides set to |
Centered on the block's center. The additional boxes for sides set to true face the respective direction.
|
| ๐ Image Fence Gates |
Closed: Empty Open, facing is Open, facing is |
Not in wall, facing is Not in wall, facing is In wall, facing is In wall, facing is |
|
| ๐ Image Honey Block |
15ร15ร15 | Full block (16ร16ร16) | |
| ๐ Image Lectern |
16ร2ร16, with an 8x12x8 column above | The collision box plus two 16x4x4.333333 boxes and a 16x4x4.333334 box. | The additional boxes of the interaction box are positioned diagonally, approaching the visual model. They are also rotated according to the facing. |
|
By default empty, but it can change depending on the context. In internal tests for player spawn finder, when a location without collision is being found: Full block (16ร16ร16). If is a source lava, for a strider that is above half of the block and not directly below another lava: 16ร8ร16 |
Empty | ||
| ๐ Image Pale Moss Carpet |
๐ BlockSprite pale-moss-carpet.png: Sprite image for pale-moss-carpet in Minecraft ๐ Image |
The collision box together with a side-column, for all sides not set to ๐ Image ๐ Image When the button is false and all sides are none: Full block (16ร16ร16) |
|
| ๐ Image Mud |
16ร14ร16 | Full block (16ร16ร16) | |
| ๐ Image Pitcher Crop |
Half Half Half |
Half Half Half Half Half Half |
For all boxes, if half is |
| ๐ Image Powder Snow |
By default empty, but it can change depending on the context. If it is being placed or the context does not have an entity: empty If the entity is falling for more than 2.5 blocks: 16ร14.4ร16 If the entity is a falling block: Full block (16ร16ร16) If the entity is above the block, isn't sneaking and uses a leather boots or is in the tag #powder_snow_walkable_mobs: Full block (16ร16ร16) |
Full block (16ร16ร16) |
If more than one context is valid, the first one prevails. For example, a rabbit falling more than 2.5 blocks is considered an incomplete collision box.
|
| ๐ Image Scaffolding |
When it is being placed: Empty When the entity is not above the block or the player is sneaking:
If none of the above contexts occur, or if there is no entity in the context: Shape stable |
If the entity is holding (in mainhand) a scaffolding: Full block (16ร16ร16)
Bottom is Bottom is |
The shape stable is a 16ร2ร16 platform on top, plus four 2ร16ร2 column, one on each vertical edge of the block |
| ๐ Image Sculk Shrieker |
16ร8ร16 | Full block (16ร16ร16) | |
| ๐ Image Snow |
16ร(2L-2)ร16 | 16ร2Lร16 | L is the number of layers. |
| ๐ Image Soul Sand |
16ร14ร16 | Full block (16ร16ร16) | |
| ๐ Image Walls |
Same as visual model, but 24 pixels high | Same as visual model | |
| ๐ Image Wall Hanging Signs |
Facing is Facing is |
The collision box plus: Facing is Facing is |
The collision box is counted from the top of the block. |
| ๐ Image Moving Piston |
The collision box depends on the collision box of the block that is extending/withdrawing, the progress, the facing, and the piston head. | Empty |
In Java Edition, it is possible to visualize the collision boxes by enabling visualize_collision_boxes in the debug renderer. It is also possible to see when the debug property SHAPES is enabled, indicated by a dark gray outline.
The interaction box manages block interactions with players, such as block placement, destruction, use actions, etc. When looking at the given block, the interaction box is shown as a black outline around the block's edges; this is especially visible in the barrier block. The interaction box appears only if the block the player is looking at is inside of the interaction range.
A block's interaction box is usually contained within its own 1ร1ร1 cube space. However, some blocks, such as the ones reported below, are capable of extending outside of this space.
The interaction box isn't visible when aiming the crosshair at the part that extends outside of the cube.[5]
In Java Edition, the interaction box outline is cyan (
#57ffe1) with a small black outline if "Options" โ "Accessibility Settings" โ "High Contrast Block Outlines" is enabled. When the debug property SHAPES is enabled, the interaction box outline is white.
In most instances where Minecraft uses line clipping for detection, it utilizes the collision box or the interaction box of the blocks. For example, when a player tries to interact with a block, the game draws a line from it to the interaction range and looks for the first block whose interaction box the line intersects with. In the case of movement, the game draws a line in the direction of movement to find the first collision box to limit movement instead of crossing it.
However, there are five situations in the game where line clipping uses neither the interaction box nor the collision box, instead, the game uses the visual box. The visual box attempts to simulate what a sight would look like; however, most game sight simulations, such as a mob AI searching for a target, use line clipping with a collision box.
For fences, mud, snow, and soul sand the visual box and the interaction box are identical. For all copper bars, copper grates, glass, glass pane, iron bars, powder snow, stained glass, stained glass pane, and tinted glass the visual box are empty. For all other blocks, the visual box and the collision box are identical.
Note that many transparent blocks have an empty visual box; this is so they can be ignored when drawing a line of sight, because they are transparent. However, not all transparent blocks are ignored; for example, the barrier, ice, and leaves have a full visual box.
Below are all the uses of the visual box in Java Edition:
Some particles have physics: for example, the smoke particles from campfires. Particles with physics have a collision box that collides with collision box of blocks. Upon collision, the particle's motion is brought to zero along one of the axes, depending on the direction of the collision.
However, particles are generated even if their collision box intersects the collision box of a block. When this happens, the particle ignores the collision box.
A lit campfire creates smoke particles between 0 and 2 blocks above it, with a symmetric triangular distribution, by the formula pos.getY() + random.nextDouble() + random.nextDouble(), when pos.getY() is the Y coordinates of the campfire and random.nextDouble() is a random number between 0 and 1. Each particle has a 4ร4ร4 pixels (0.25ร0.25ร0.25 blocks) collision box. Therefore, the closer a collision box is above the campfire, the more likely a smoke particle is to pass through it, and when the collision box is at 2.25 blocks or more, no particle will pass through it.
For example, 71.9% of smoke particles pass through a full collidable block one block above the campfire, 28.1% pass through a top slab one block above the campfire, 3.13% pass through a full collidable block two blocks above the campfire, only 0.195% pass through a cauldron two blocks above the campfire, and no particle passes through a top slab two block above the campfire.[note 4]
Most entities' bounding boxes are shaped in cuboids, and do not always overlap with the models of the entities. For example, the witch's bounding box does not include the upper part of its hat, and the wither's bounding box does not include the two heads on its sides. Because most bounding boxes are cuboids, it is standard to measure them by their width and height, with both being measured in blocks tall.
Below is a table of every entities' hitboxes, mainly sourced from Java Edition, unless stated otherwise. The list shows sizes of the entities' base bounding box size; other hitboxes may be noted.[note 5]
Some entities' hitbox size is marked with "Varies", this indicates that the entity has variable hitbox sizes, see ยง Variable hitbox size. For others, "None" marks that the entity does not have hitbox, and "N/A" indicates no data is available yet for the entity in the wiki. An empty cell indicates that the entity may not have hitbox or no data is available yet ("None" or "N/A").
| Entity | Height | Width | Eye Height | Height (Baby) | Width (Baby) |
|---|---|---|---|---|---|
| ๐ Image Allay |
0.6 | 0.35 | 0.36 | ||
| ๐ Image Armadillo |
0.65 | 0.7 | 0.26 | 0.39 | 0.42 |
| ๐ Image Armor Stand |
1.975 | 0.5 | 1.7775 | 0.9875 | 0.25 |
| ๐ Image Axolotl |
0.42 | 0.75 | 0.2751 | 0.21 | 0.375 |
| ๐ Image Bat |
0.9 | 0.5 | 0.45 | ||
| ๐ Image Bee |
0.6 | 0.7 | 0.3 | 0.3 | 0.35 |
| ๐ Image Blaze |
1.8 | 0.6 | 1.53 | ||
| ๐ Image Bogged |
1.99โ[JE only] 1.9โ[BE only] | 0.6 | 1.74 | ||
| ๐ Image Breeze |
1.77 | 0.6 | 1.3452 | ||
| ๐ Image Camel |
2.375 | 1.7 | 2.275 | 1.1875 | 0.85 |
| ๐ Image Cat |
0.7 | 0.6 | 0.35 | 0.35 | 0.3 |
| ๐ Image Cave Spider |
0.5 | 0.7 | 0.45 | ||
| ๐ Image Chicken |
0.7โ[JE only] 0.8โ[BE only] |
0.4โ[JE only] 0.6โ[BE only] |
0.644 | 0.35โ[JE only] 0.4โ[BE only] |
0.2โ[JE only] 0.3โ[BE only] |
| ๐ Image Cod |
0.3 | 0.5 | 0.195 | ||
| ๐ Image Cow |
1.4 | 0.9 | 1.3 | 0.7 | 0.45 |
| ๐ Image Creaking |
2.7 | 0.9 | 2.3 | ||
| ๐ Image Creeper |
1.7โ[JE only] 1.8โ[BE only] |
0.6 | 1.445 | ||
| ๐ Image Dolphin |
0.6 | 0.9 | 0.3 | 0.39โ[BE only] | 0.585โ[BE only] |
| ๐ Image Donkey |
1.5โ[JE only] 1.6โ[BE only] |
1.3965โ[JE only] 1.4โ[BE only] |
1.425 | 0.75โ[JE only] 0.8โ[BE only] |
0.6982โ[JE only] 0.7โ[BE only] |
| ๐ Image Drowned |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.74 | 0.98 | 0.49 |
| ๐ Image Elder Guardian |
1.9975โ[JE only] 1.99โ[BE only] |
1.9975โ[JE only] 1.99โ[BE only] |
0.99875 | ||
| ๐ Image Ender Dragon[size 1] |
8 | 16 | 6.8 | ||
| ๐ Image Enderman |
2.9 | 0.6 | 2.55 | ||
| ๐ Image Endermite |
0.3 | 0.4 | 0.13 | ||
| ๐ Image Evoker |
1.95 | 0.6 | 1.6575 | ||
| ๐ Image Fox |
0.7 | 0.6 | 0.4 | 0.35 | 0.3 |
| ๐ Image Frog |
0.5 | 0.5โ[JE only] 0.55โ[BE only] |
0.425 | ||
| ๐ Image Ghast |
4.0 | 4.0โ[JE only] 4.02โ[BE only][note 6] |
2.6 | ||
| ๐ Image Giantโ[JE only] |
12 | 3.6 | 10.44 | ||
| ๐ Image Glow Squid |
0.8 | 0.8 | 0.4 | 0.5 | 0.5 |
| ๐ Image Goat |
1.3 | 0.9 | 1.105 | 0.65 | 0.45 |
| ๐ Image Guardian |
0.85 | 0.85 | 0.425 | ||
| ๐ Image Happy Ghast[size 2] |
4.0 | 4.0 | 2.6 | 0.95 | 0.95 |
| ๐ Image Hoglin |
1.4 | 1.3965โ[JE only] 1.4โ[BE only] |
1.19 | 0.85 | 0.75 |
| ๐ Image Horse |
1.6 | 1.3965โ[JE only] 1.4โ[BE only] |
1.52 | 0.8โ[JE only] 1.12โ[BE only] |
0.6982โ[JE only] 0.98โ[BE only] |
| ๐ Image Husk |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.74 | 0.98 | 0.49 |
| ๐ Image Illusionerโ[JE only] |
1.95 | 0.6 | 1.6575 | ||
| ๐ Image Iron Golem |
2.7 | 1.4 | 2.295 | ||
| ๐ Image Llama |
1.87 | 0.9 | 1.7765 | 0.935 | 0.45 |
| ๐ Image Magma Cube |
Varies | Varies | 0.325 | ||
| ๐ Image Mooshroom |
1.4 | 0.9 | 1.3 | 0.7 | 0.45 |
| ๐ Image Mule |
1.6 | 1.3965 | 1.52 | 0.8 | 0.6982 |
| ๐ Image Nautilus |
0.95 | 0.875 | 0.2751 | 0.475 | 0.4375 |
| ๐ Image Ocelot |
0.7 | 0.6 | 0.595 | 0.35 | 0.3 |
| ๐ Image Panda |
1.25 | 1.3 | 1.0625 | 0.625 | 0.65 |
| ๐ Image Parched |
1.99โ[JE only] 1.9โ[BE only] | 0.6 | 1.74 | ||
| ๐ Image Parrot |
0.9 | 0.5 | 0.54 | ||
| ๐ Image Phantom |
0.5 | 0.5 | 0.175 | ||
| ๐ Image Pig |
0.9 | 0.9 | 0.765 | 0.45 | 0.45 |
| ๐ Image Piglin |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.79 | 0.98 | 0.49 |
| ๐ Image Piglin Brute |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.79 | ||
| ๐ Image Pillager |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.6575 | ||
| ๐ Image Player |
1.8 | 0.6 | 1.62 | ||
| ๐ Image Polar Bear |
1.4 | 1.4 | 1.19 | 0.7 | 0.7 |
| ๐ Image Pufferfish |
Varies | Varies | 0.455 | ||
| ๐ Image Rabbit |
0.5โ[JE only] 0.6โ[BE only] | 0.4โ[JE only] 0.49โ[BE only] | 0.425โ[JE only] | 0.25โ[JE only] 0.4โ[BE only] | 0.2โ[JE only] 0.24โ[BE only] |
| ๐ Image Ravager |
2.2 | 1.95 | 1.87 | ||
| ๐ Image Salmon |
0.4 | 0.7 | 0.26 | ||
| ๐ Image Sheep |
1.3 | 0.9 | 1.235 | 0.65 | 0.45 |
| ๐ Image Shulker |
Varies | 1 | 0.5 | ||
| ๐ Image Silverfish |
0.3 | 0.4 | 0.13 | ||
| ๐ Image Skeleton |
1.99โ[JE only] 1.9โ[BE only] | 0.6 | 1.74 | ||
| ๐ Image Skeleton Horse |
1.6 | 1.3965โ[JE only] 1.4โ[BE only] |
1.52 | 0.8โ[JE only] 1.12โ[BE only] |
0.6982โ[JE only] 0.98โ[BE only] |
| ๐ Image Slime |
Varies | Varies | 0.325 | ||
| ๐ Image Sniffer |
1.75 | 1.9 | 1.05 | 0.875โ[JE only] 0.7875โ[BE only] | 0.95โ[JE only] 0.855โ[BE only] |
| ๐ Image Snow Golem |
1.9 | 0.7 | 1.7 | ||
| ๐ Image Spider |
0.9 | 1.4 | 0.65 | ||
| ๐ Image Squid |
0.8 | 0.8 | 0.4 | 0.5 | 0.5 |
| ๐ Image Stray |
1.99โ[JE only] 1.9โ[BE only] | 0.6 | 1.74 | ||
| ๐ Image Strider |
1.7 | 0.9 | 1.445 | 0.85 | 0.45 |
| ๐ Image Tadpole |
0.3 | 0.4 | 0.195 | ||
| ๐ Image Tropical Fish |
0.4 | 0.5 | 0.26 | ||
| ๐ Image Turtle |
0.4 | 1.2 | 0.34 | 0.12 | 0.36 |
| ๐ Image Vex |
0.8 | 0.4 | 0.51875 | ||
| ๐ Image Villager |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.62 | 0.98 | 0.49 |
| ๐ Image Vindicator |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.6575 | ||
| ๐ Image Wandering Trader |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.62 | ||
| ๐ Image Warden |
2.9 | 0.9 | 2.465 | ||
| ๐ Image Witch |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.62 | ||
| ๐ Image Wither |
3.5โ[JE only] 3โ[BE only] |
0.9โ[JE only] 1โ[BE only] |
2.975 | ||
| ๐ Image Wither Skeleton |
2.4โ[JE only] 2.412โ[BE only] |
0.7โ[JE only] 0.864โ[BE only] |
2.1 | ||
| ๐ Image Wolf |
0.85โ[JE only] 0.8โ[BE only] | 0.6 | 0.68 | 0.425โ[JE only] 0.4โ[BE only] | 0.3 |
| ๐ Image Zoglin |
1.4 | 1.3965 | 1.19 | 0.7 | 0.6982 |
| ๐ Image Zombie |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.74 | 0.98 | 0.49 |
| ๐ Image Zombie Horse |
1.6 | 1.3965โ[JE only] 1.4โ[BE only] |
1.52 | 0.8โ[JE only] 1.12โ[BE only] |
0.6982โ[JE only] 0.98โ[BE only] |
| ๐ Image Zombie Nautilus |
0.95 | 0.875 | 0.2751 | ||
| ๐ Image Zombie Villager |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.74 | 0.98 | 0.49 |
| ๐ Image Zombified Piglin |
1.95โ[JE only] 1.9โ[BE only] |
0.6 | 1.79 | 0.98 | 0.49 |
| Ender Dragon Part | Height | Width |
|---|---|---|
| Head | 1.0 | 1.0 |
| Neck | 3.0 | 3.0 |
| Body | 3.0 | 5.0 |
| Tail (3x) | 2.0 | 2.0 |
| Wing (2x) | 2.0 | 4.0 |
| Entity | Height | Width | Eye Height |
|---|---|---|---|
| ๐ Image Area Effect Cloud |
0.5 | Varies | 0.425 |
| ๐ Image End Crystal |
2 | 2 | 1.7 |
| ๐ Image Evoker Fangs |
0.8 | 0.5 | 0.68 |
| ๐ Image Fishing Bobber |
0.25 | 0.25 | 0.2125 |
| ๐ Image Glow Item Frame |
N/A | N/A | None |
| ๐ Image Item Frame |
N/A | N/A | None |
| ๐ Image Leash Knot |
0.5 | 0.375 | 0.0625 |
| ๐ Image Interactionโ[JE only] |
Varies | Varies | None |
| ๐ Image Markerโ[JE only] |
None | None | None |
| ๐ Image Block Displayโ[JE only] |
None | None | None |
| ๐ Image Text Displayโ[JE only] |
None | None | None |
| ๐ Image Item Displayโ[JE only] |
None | None | None |
| ๐ Image Painting |
N/A | N/A | None |
| Entity | Height | Width | Eye Height |
|---|---|---|---|
| ๐ Image Arrow and Tipped Arrow |
0.5 | 0.5 | 0.13 |
| ๐ Image Bottle o' Enchanting |
0.25 | 0.25 | 0.2125 |
| ๐ Image Dragon Fireball |
1 | 1 | 0.85 |
| ๐ Image Egg |
0.25 | 0.25 | 0.2125 |
| ๐ Image Ender Pearl |
0.25 | 0.25 | 0.2125 |
| ๐ Image Eye of Ender |
0.25 | 0.25 | 0.2125 |
| ๐ Image Fireball |
1โ[JE only] 0.31โ[BE only] | 1โ[JE only] 0.31โ[BE only] | 0.85 |
| ๐ Image Firework Rocket |
0.25 | 0.25 | 0.2125 |
| ๐ Image Llama Spit |
0.25 | 0.25 | 0.2125 |
| ๐ Image Shulker bullet |
0.3125 | 0.3125 | 0.2656 |
| ๐ Image Small Fireball |
0.3125 | 0.3125 | 0.2656 |
| ๐ Image Snowball |
0.25 | 0.25 | 0.2125 |
| ๐ Image Spectral Arrowโ[JE only] |
0.5 | 0.5 | 0.13 |
| ๐ Image Thrown Lingering Potion |
0.25 | 0.25 | 0.2125 |
| ๐ Image Trident |
0.5 | 0.5 | 0.13 |
| ๐ Image Wind Charge |
0.3125 | 0.3125 | None |
| ๐ Image Wither Skull |
0.3125 | 0.3125 | 0.2656 |
| Entity | Height | Width | Eye Height |
|---|---|---|---|
| ๐ Image Boat |
0.5625 | 1.375 | 0.5625 |
| ๐ Image Boat with Chest |
0.5625 | 1.375 | 0.5625 |
| ๐ Image Minecart |
0.7 | 0.98 | 0.595 |
| ๐ Image Minecart with Chest |
0.7 | 0.98 | 0.595 |
| ๐ Image Minecart with Command Block |
0.7 | 0.98 | 0.595 |
| ๐ Image Minecart with Furnaceโ[JE only] |
0.7 | 0.98 | 0.595 |
| ๐ Image Minecart with Hopper |
0.7 | 0.98 | 0.595 |
| ๐ Image Minecart with Monster Spawnerโ[JE only] |
0.7 | 0.98 | 0.595 |
| ๐ Image Minecart with TNT |
0.7 | 0.98 | 0.595 |
| Entity | Height | Width | Eye Height |
|---|---|---|---|
| ๐ Image Experience Orb |
0.5โ[JE only] 0.25โ[BE only] | 0.5โ[JE only] 0.25โ[BE only] | 0.425 |
| ๐ EnvSprite item.png: Sprite image for item in Minecraft Item |
0.25 | 0.25 | 0.2125 |
| Entity | Height | Width | Eye Height |
|---|---|---|---|
| ๐ Image Falling Block |
0.98 | 0.98 | 0.833 |
| ๐ Image Primed TNT |
0.98 | 0.98 | 0.15 |
The size of an entity's hitbox is not necessarily static and may change depending on certain situations. For instance, a player's hitbox gets smaller while crouching, and a pufferfish's hitbox changes while its puffing. Some entities may also spawn in different sizes, like slime, magma cube, and salmonโ[Bedrock Edition only].
Below is the list of entities whose hitbox can change sizes given specific situations or states:
| Entity | States | Height | Width |
|---|---|---|---|
| ๐ Image Camel |
Normal | 2.375 | 1.7 |
| Sitting | 0.945 | 1.0 | |
| Sitting (Baby) | 0.945 | 0.45 | |
| ๐ Image Goat |
Normal | 1.3 | 0.9 |
| Jumping | 0.91 | 0.63 | |
| ๐ Image Magma Cube |
Small | 0.52 | 0.5202 |
| Medium | 1.04 | 1.0404 | |
| Big | 2.08 | 2.0808 | |
| ๐ Image Player |
Normal | 1.8 | 0.6 |
| Sneaking | 1.5 | 0.6 | |
| Gliding/Swimming | 0.6 | 0.6 | |
| Sleeping | 0.2 | 0.2 | |
| ๐ Image Polar Bear |
Normal | 1.4 | 1.4 |
| Attacking | 2.0 | 1.0 | |
| ๐ Image Pufferfish |
Unpuffed | 0.35 | 0.35 |
| Semi-puffed | 0.49 | 0.49 | |
| Fully Puffed | 0.7 | 0.7 | |
| ๐ Image Salmonโ[BE only] |
Small | 0.25 | 0.25 |
| Medium | 0.5 | 0.5 | |
| Large | 0.75 | 0.75 | |
| ๐ Image Shulker |
Closed | 1 | 1 |
| Peeking | 1.2 | 1 | |
| Open | 2 | 1 | |
| ๐ Image Slime |
Small | 0.52 | 0.5202 |
| Medium | 1.04 | 1.0404 | |
| Big | 2.08 | 2.0808 | |
| ๐ Image Warden |
Normal | 2.9 | 0.9 |
| Digging/Emerging | 1 | 0.9 |
| Java Edition pre-Classic | |||||||
|---|---|---|---|---|---|---|---|
| rd-132211 | Targeted blocks now have a visual indicator in which they alternate between bright and dark continuously. | ||||||
| Java Edition Classic | |||||||
| 0.0.13a | Targeted blocks also have a thin outline box. | ||||||
| 0.24_SURVIVAL_TEST | The holographic pulsating hitbox displayed when able to place or break a block has been removed, leaving just the wireframe hitbox. | ||||||
| ? | The hitboxes for some blocks (flowers, mushrooms, torches) are no longer full cubes, and are more fitting for the size of the block. | ||||||
| Java Edition Infdev | |||||||
| Minecraft Infdev | 20100313 | Prior to this version, the wireframe hitbox for highlighting blocks would behave increasingly incorrectly at far distances from the world origin. On all supported hardware, its position would jitter erratically with small shifts in camera rotation. On some GPUs/graphics cards, the geometry of the box would also distort, resulting in non-cubic shapes. | |||||
| Java Edition Alpha | |||||||
| v1.0.11 | The hitbox of cacti at far distances became greater than a full block. | ||||||
| Java Edition Beta | |||||||
| 1.2 | The hitbox of cakes at far distances became greater than a full block. | ||||||
| Java Edition | |||||||
| ? | Stairs cannot be targeted at angles where the crosshair does not point at a solid feature of the block. However, the wireframe outline still displays as a full cube regardless. | ||||||
| ? | The hitboxes for randomly misaligned blocks such as tall grass are now themselves randomly offset as well to accommodate them. | ||||||
| 1.0.0 | Beta 1.9 Prerelease 2 | Fences no longer have a full block hitbox on the xz plane, and instead more closely match their shape. | |||||
| 1.1 | 12w01a | The fence gate hitbox has changed to match the changes made to fence hitboxes. | |||||
| 1.4.4 | 1.4.3 | Walls now have their own collision box size - previously they shared their size with fences.[6] | |||||
| The above change also fixed a bug causing their hitboxes to distort and stop working correctly at far distances from the world origin. | |||||||
| 1.5 | 13w06a | Fence hitboxes have been changed - concave corners now have their collision boxes respect that rather than always using its effective convex hull, resulting in an invisible portion of collision box there. | |||||
| The above change also fixed a bug causing their hitboxes to distort and stop working correctly at far distances from the world origin. | |||||||
| 1.8 | 14w25a | ๐ Image The hitboxes of melon stems and pumpkin stems with ages โฅ8 could visually extend into the block space above them while they existed (from Beta 1.8 Pre-release up to the removal of the last four in 14w10a and the remaining four in 14w25a). | |||||
| 1.9 | 15w38a | The hitboxes of cakes and cacti at far distances could become greater than a full block, allowing this to be seen (from Beta 1.2 and Alpha v1.0.11 respectively up to their fixing, although it became unobservable for cake from 15w38a onward due to fixed bug MC-106300). | |||||
| Cake's wireframe hitbox now always appears at (0,0,0) regardless of where the targeted cake actually is. This also masks a distance issue fixed in 15w49aโ[more information needed]; see below. | |||||||
| 15w46a | The hitbox of redstone wire now covers only part of the surface of the block below, based on the orientation of the redstone. | ||||||
| 15w49a | Prior to this snapshot, the wireframe hitboxes used for cake and cactus would appear stretched and misshapen at far distances from spawn. | ||||||
| 15w49b | The hitbox height of the end portal block has been increased from 1โ16 of a block to 3โ4 of a block. | ||||||
| 1.11 | 16w35a | Cake's hitbox now appears at the right position again.[7] | |||||
| 1.13 | 17w47a | The hitbox of brewing stands now takes into account the central rod as well.[8][verify] | |||||
| The collision box of walls has been made to be correctly concave.[9][verify] | |||||||
| The outline boxes of anvils and hoppers now much more closely fit the model shape of these blocks. | |||||||
| The outline boxes of fences is now correctly L-shaped, T-shaped or +-shaped when branching in perpendicular directions.[10] | |||||||
| Cactus now has a correct cuboid outline box.[11] | |||||||
| Blocks containing multiple vines now have better outline boxes. | |||||||
| Glass panes and iron bars have cleaner outline boxes when branching. | |||||||
| End portal frame outline boxes now properly account for the eye. | |||||||
| Piston and lily pad outline boxes were changed. | |||||||
| 1.14 | 18w48a | The outline boxes of beds now match better the visual shape of the bed. | |||||
| 19w13a | The outline boxes of cauldrons now fit the model better, allowing for blocks beneath it to be targeted.[12][verify] | ||||||
| 1.16 | 20w10a | Fire now has an outline box (alongside soul fire),[13] bringing it more in line with other blocks. Previously, fire had no outline box at all, and breaking it required targeting underlying blocks, which also allowed it to be put out in Creative mode when holding a sword or trident, which were programmed to not break blocks. It also prevented its block states from being read in the debug screen or modified via debug stick. | |||||
| 20w18a | The outline box of redstone wire has been changed to much more closely the visual shape of the block. For example, redstone wire branching in different directions causes its outline box to itself branch in said directions,[14] mirroring the behavior of fences, glass panes, iron bars and walls, and, if traveling up the side of a block, the vertical portion of the dust can now also be targeted.[15] | ||||||
| 1.17 | 20w48a | The hitboxes of pointed dripstone can sometimes also be randomly extended into adjacent blocks.[16] | |||||
| 20w49a | The hitboxes of pointed dripstone no longer sometimes extend into adjacent blocks.[17] | ||||||
| The overall width of the outline box of the pointed dripstone is reduced by 1โ8 of a block. | |||||||
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.4.4 | 1.4.3 | โฏ+โฏ now enables a debug renderer which visually displays entity hitboxes. | |||||
| 1.14 | 19w08a | Changed bounding box and eye height of foxes (prevents them from drowning when swimming). | |||||
| 1.20.2 | 23w33a | Changed mob attack reach calculation. | |||||
| In horizontal directions, mobs' attack reach are now their bounding box extended in horizontal directions, instead of using horizontal width to determine. | |||||||
| In vertical directions, mobs' attack reach are now the exact vertical range of their bounding box. When there's no overlap between their bounding box and their target's bounding box in vertical direction, they can not attack. | |||||||
| 1.21.2 | 24w33a | Fixed an issue where wither skull's bounding box is wrongly positioned in the first tick, and cannot be selected with volume checks in commands.[18] | |||||
| 26.1 | snap2 | Changed rabbit hitbox sizes to match the new model (adult and baby variants). | |||||
| Baby chicken's bounding box was tweaked to correctly align with their new model.โ[more information needed] | |||||||
| Bedrock Edition | |||||||
|---|---|---|---|---|---|---|---|
| 26.0 | Preview 26.0.23 | Mob effect particles can now appear slightly outside of the mob's bounding box. | |||||
Issues relating to "Hitbox" are maintained on the bug tracker. Issues should be reported and viewed there.
/tick freeze when a mob is moving.1 โ F_X(x โ 0.25), where F_X is the cumulative distribution function of X, X is the random variable with a triangular distribution with parameters a=0, b=2, c=1, and x is the vertical distance between the campfire and the block collision box. Thus, the probability of a smoke particle passing through a collision box that starts x>1 blocks above the campfire is 1 โ (x โ 0.25)^2 รท 2 if x โค 1.25, (2.25 โ x)^2 รท 2 if 1.25 < x < 2.25, or 0 if x โฅ 2.25