Entity

Entities encompass all dynamic, moving objects throughout the Minecraft world.

Minecraft also has tile entities, which are blocks which have extra information beyond the 4-bit data field described in the data values article, such as signs and chests. Tile entities are unrelated to the entities discussed on this page.

General behavior
All entities have these properties:
 * A position, velocity, and rotation (as according to ordinary Newtonian physics).
 * A specific volume they occupy, which is a 3-dimensional box with a fixed height and width (square when viewed from the top, and not rotating).
 * Current health.
 * Whether they are on fire. Fire reduces health gradually and displays flames covering the entity.

Entities can be pushed around by water currents.

Entities cannot pass through solid blocks. Most types of entities prevent blocks from being placed in the space they occupy, except for resources (dropped items) which are automatically pushed out of the block to open air. Also, if an entity does overlap a block, such as due to falling sand or a door being swung, then it is free to move out of the solid block but not back in. (For example, if a door is closed on you, you can jump up and stand on top of the bottom half-door block, if there is air above the door.)

Entities are lit according to the light level of the block their position is in. For example, if a minecart runs over a non-straight track directly into a solid block, it will turn black (since solid blocks always have a light level of 0), and arrows are sometimes seen to turn black (especially if fired shallowly into the ceiling).

Types of entities
The following types of entity currently exist in Minecraft. {| class="wikitable sortable" !| Kind !| Solid ! class="unsortable" | Drops when killed/destroyed !| Despawns !| Health !| Width × Height ! class="unsortable" | Notes !| Players !| Mobs !| Boats !| Minecarts !| Items !| Experience Orb !| Projectile arrows !| Projectile snowballs, chicken eggs !| Projectile Ender Pearl !| Thrown Eye of Ender !| Primed TNT !| Falling sand/gravel/Dragon egg !| Fishing Rod bobber !| Lightning bolt !| Paintings !| Ghast and Blaze Fireballs !| Ender Crystal !| Baby Entities listed as “solid” obstruct the passage of other entities.
 * Yes
 * Their inventory
 * No
 * style='width:100px'|
 * 0.6×1.8
 * Special case: Notch also drops a Red Apple.
 * Yes
 * see Drops
 * see Spawn
 * Varies
 * Varies
 * Yes
 * (Sticks and Wooden Planks)if crashed, Boat if by a player
 * No
 * 1.5×0.6
 * Recovers health quickly over time. Takes damage from colliding with blocks or other entities at high speed.
 * Recovers health quickly over time. Takes damage from colliding with blocks or other entities at high speed.
 * Yes (except to other entities)
 * 1 Minecart
 * No
 * 0.98×0.7
 * Recovers health quickly over time. Snaps to rails if in a block occupied by them.
 * Recovers health quickly over time. Snaps to rails if in a block occupied by them.
 * Only to boats and minecarts
 * None
 * 5 minutes
 * 0.25×0.25
 * Destroyed by explosions/fire/lava/cacti, but cannot be struck.
 * Destroyed by explosions/fire/lava/cacti, but cannot be struck.
 * No
 * None
 * 5 minutes
 * Same behaviors as dropped items; also attracted to the player.
 * Same behaviors as dropped items; also attracted to the player.
 * Same behaviors as dropped items; also attracted to the player.
 * Yes (to boats in water)
 * n/a
 * 1 minute
 * 0.5×0.5
 * Damages other entities if moving; harmless when stuck in a block.
 * Damages other entities if moving; harmless when stuck in a block.
 * Breaks on impact
 * n/a
 * No
 * 0.25×0.25
 * Eggs may spawn a chicken on impact.
 * Eggs may spawn a chicken on impact.
 * Breaks on impact
 * n/a
 * No
 * 0.25×0.25
 * Teleports player on impact.
 * Teleports player on impact.
 * No
 * n/a
 * No
 * 0.25×0.25
 * Floats towards the closest stronghold.
 * Floats towards the closest stronghold.
 * No
 * n/a
 * 4 seconds or fewer (Explodes)
 * 0.98×0.98
 * 0.98×0.98
 * No
 * Itself as an item (unless hits ground)
 * Once entity hits ground or ~4 seconds
 * 0.98×0.98
 * Drops sand/gravel/dragon egg when landing in a non-solid block such as a torch.
 * Drops sand/gravel/dragon egg when landing in a non-solid block such as a torch.
 * Only to boats and minecarts
 * n/a
 * 1 minute
 * No
 * n/a
 * Half a second
 * No
 * 1 Painting
 * No
 * Varies
 * Varies
 * Explodes on impact/deflected on hit
 * n/a
 * 1 minute
 * 1.0×1.0 (Ghast), 0.3125×0.3125 (Blaze)
 * Only Ghast Fireballs can be deflected, Blaze Fireballs cannot
 * Only Ghast Fireballs can be deflected, Blaze Fireballs cannot
 * Yes
 * n/a
 * No
 * Explodes when destroyed
 * Explodes when destroyed
 * Explodes when destroyed
 * TBA
 * TBA
 * TBA

The size is in block lengths (usually considered to be 1 meter), and is the size of an axis-aligned bounding box with the specified width in both horizontal dimensions (X and Z) and the specified height in the Y dimension. This box does not rotate as the object rotates visually.

For a listing of numeric entity IDs, see Data values.

Motion of entities
Gravity works differently in Minecraft than the real world, as not everything is subject to the same acceleration. Additionally, there is a drag force proportional to velocity, again dependent on the entity.

Note that when thrown objects and arrows are simulated, the drag is applied before the acceleration, rather than after; this is why their terminal velocities are nice whole numbers where the others aren't.

Further notes
Paintings are entities, but they are unusual in that they are aligned to the block grid and completely immobile. Doors, portals and beds, the other objects larger than a single block, are actually groups of adjacent blocks.

Arrows, TNT, sand, and gravel are assumed to have infinite health because they are not destroyed by multiple TNT explosions (they can be fired out of cannons), nor by being on fire for long periods.

Boats and Minecarts

 * See also: Transportation (contains information about speeds)

Boats and minecarts appear to recover health over time. For example, they can be broken by hitting them quick, but cannot be destroyed by hits with unarmed hand with same pause after each hit. The amount of wobbling displayed by boats and minecarts when struck appears to indicate their current health.

Sand and Gravel
The following description refers to sand for brevity, but gravel behaves in exactly the same way.

Sand normally exists as a block. When a sand block's support is removed, it turns into a sand entity and falls down until it hits another object, at which point it places itself as a block in the nearest on-grid position, or turns into a sand resource if that position is occupied (such as by a torch). While sand ordinarily falls straight down, it can be redirected while falling by explosions.

If when the world is created, a cave is generated underneath sand, Minecraft will fail to update the block and the sand will remain floating until a block is changed under, above, or beside it. This latter fact means that a single falling sand block can trigger the collapse of an entire region of sand; therefore, sand ceilings should not be disturbed unless one is outside the area, standing over a torch, or prepared to dig out quickly once the sand has fallen.

Right-clicking
Entities with right-click actions (boats, minecarts, ocelots and wolves), unlike blocks with right-click actions (such as chests), do not stop the right-click action of a tool you are holding. For example, if you right-click on a tamed wolf with a water bucket in your hand, the wolf will sit, but you will also empty the bucket at the wolf.

Feeding food items to a wolf does not stop your eating action, despite the appearance otherwise. When tested by using a stack of 2 raw porkchop, and feeding them to the wolf, the wolf ate one and the player ate the other (edit: food is now stackable, but you would need to hold down the right mouse button to eat the food yourself). When using just a stack of one, the wolf gets the food before the player can, and the eating is canceled without a food item in that slot.

Riding
Entities may be riding on, or attached to, other entities. When this is the case, only the lower/"outer" entity's volume collides with other things, and only that entity can control movement. The currently possible combinations are:
 * A mob or player in a minecart or boat.
 * A player on a saddled pig.
 * A skeleton on a spider (Spider Jockey).

It is possible to have multiple levels, such as a player on a pig in a minecart.

History

 * In Creative mode (Minecraft Beta 1.8 to Release 1.1), the player could interact with entities (attack or 'right-click' action) from far away — even if there were blocks in the way. This was very annoying (although, useful for long-range mob attacks). For example, when you tried to break a stone block, and there was a painting on the other side of the block, the stone would not break, but the painting would. Also, when you tried to place a block on a wall, and there was a minecart behind that wall, you would enter the minecart, as if you had clicked it directly, instead of placing the block.