The Gamepedia and Fandom account systems have now been merged. If your username is incorrect, you have accounts on both platforms that weren't merged, or you have trouble signing in, please submit a support ticket.

Item (entity)

From Minecraft Wiki
Jump to: navigation, search
Item
BowSpinning3.gif
Health points

5♥♥♥[1]

Size

Height: 0.25 Blocks
Width: 0.25 Blocks

Items are "dropped" blocks or items (non-block resources) that appear in the world, rather than being in the inventory of a player or block entity; they are a type of entity.

Appearance[edit]

3D dropped items, both blocks and strict items.

Items have two possible appearances, generally corresponding to whether the item appears as a 3D or 2D shape in a player's inventory screens. 3D items appear as their 3D shape, miniaturized to about 14 scale, while 2D items appear as 12 scale with all the pixels extruded into a cube. Both types slowly rotate and bob up and down.

Item entities that represent a stack of more than one item appear as several items stuck together. Stacks of 2-16 appear as two items, 17–32 as three, 33-48 as four, and 49+ as five.

Behavior[edit]

Item entities come from many sources. Some common ones are:

  • The death of a mob or player.
  • A block that is mined by a player, destroyed by an explosion, or washed away by water.
  • An inventory item tossed by pressing the drop item key (default Q on PC, B button on Xbox and Nintendo consoles, Circle button on PlayStation) or dragging a stack outside of an inventory window.
    • In the mobile versions of Bedrock Edition, items in the hotbar can be dropped by pressing on the item's slot. The entire stack is dropped.
  • A container (other than an ender chest or shulker box) that is destroyed while holding items inside.

When a player whose inventory is not full comes within one block of an item, the item is picked up and added to the players inventory, making a "pop" sound. Items can be collected through thin blocks such as fences, nether brick fences, iron bars, doors or glass panes, and through a corner of two blocks. Unlike experience orbs, multiple item entities can be picked up instantaneously. Dropped items have a delay of 10 game ticks (0.5 seconds) between appearing and being able to be picked up, or 40 game ticks (2 seconds) if thrown by a player, dolphin, or fox.

When two stackable items of the same type come within 3/4 of a block of each other, they will merge into a single stack if the resulting stack size does not exceed that item's maximum stack size.

Items do not collide with other entities and are only moved or stopped by blocks.

If an item is within a solid block, then it flies out one of the unobstructed sides, or out of the top of the block if surrounded by solid blocks on all sides. It does this even if space below is unoccupied; therefore, it is possible to recover an item dropped by breaking a hole in a floor by quickly placing another block there.

Items visually disappear when the player is about 16 blocks away from them, and reappear when they get closer. This distance can be adjusted by the "Entity Distance" slider in video settings.

Unlike most entities, items cannot be spectated in spectator mode.

Damage[edit]

Items cannot be attacked by players or mobs; attempting to do so simply hits through them. However, they will take damage and disappear from environmental or block-based damage such as explosions, fire, lava, a falling anvil,‌[Java Edition only] and contact with cacti. Items have essentially no health, so they are destroyed by the slightest damage, though if set on fire they may remain for a few seconds before disappearing. Nether stars are immune to explosions, and netherite-based items and tools are immune to fire and float on top of lava.

Despawning[edit]

Items despawn after 6000 game ticks (5 minutes) of being in a loaded chunk. If two item stacks merge, the timer is set to the item that has more time remaining. The 5-minute timer is paused when the chunk is unloaded.

Sounds[edit]

SoundSubtitleSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation distance
Item plopsFriendly CreaturesItem getting picked upentity.item.pickupsubtitles.entity.item.pickup0.22.0 to 3.416
??Friendly CreaturesItem getting burnedentity.generic.burnsubtitles.entity.generic.burn0.42.0 to 2.416

Data values[edit]

ID[edit]

Java Edition:

NameNamespaced IDTranslation key
Itemitem entity.minecraft.item

Bedrock Edition:

NameNamespaced IDNumeric ID Translation key
Itemitem 64entity.item.name

Entity data[edit]

Dropped items have entity data associated with them that contain various properties of the entity.

  • Entity data
    • Tags common to all entities see Template:Nbt inherit/entity/template
    •  Age: The number of ticks the item has been "untouched". After 6000 ticks (5 minutes) the item is destroyed. If set to -32768, the Age does not increase, preventing the item from despawning automatically.
    •  Health: The health of the item, which starts at 5. Items take damage from fire, lava, falling anvils,‌[Java Edition only] and explosions. The item is destroyed when its health reaches 0.
    •  PickupDelay: The number of ticks the item cannot be picked up. Decreases by 1 per tick. If set to 32767, the PickupDelay does not decrease, preventing the item from being picked up.
    •  Owner: If present, only the player with this UUID can pick up the item. Used by the give command (and can be set in a summon command) to prevent the wrong player from picking up the spawned item entity.
    •  Thrower: The UUID of the player who dropped the item. Not present if the item was not dropped by a player.
    •  Item: The inventory item, without the Slot tag.


History[edit]

In the first public mention of item entities, "this early video of Minecraft (Classic 0.24) by Notch" , they were referred to as "resources".[2]

Java Edition Classic
August 4, 2009Items were showcased by Notch in a blog post.
0.24_SURVIVAL_TESTAdded items to the game.
Items currently take the form of destroyed blocks.
Items currently pulse white (similar to the selection cursor).[2]
Instead of appearing as shrink blocks, items use pixels the same size of block pixels.
Java Edition Indev
0.31 20091231-2Dropped items don't spin and don't glow white anymore.
Dropped items now appear as shrink blocks.
Items no longer prevent placement of blocks, but instead are moved to the nearest chunk. [more information needed]
Non-block items added (as sprites); they now rotate to face the player.
Java Edition Beta
1.8Pre-release
Cactus size.png
A bug causing cactus items to be displayed at the 12 scale rather than 14 was fixed.
Java Edition
1.3.112w15aItems that are moved into the same location now combine into stacks instead of remaining independent entities.
1.4.41.4.3-preItems are now pushed out of transparent solid blocks as well as opaque ones.[3] Items can push into solid blocks while trying to escape a solid block instead of stopping (this has been used to create vertical transport of items). New feature: items are pushed out of the inside corner of stair blocks, causing "bouncing" effects.
December 11, 2012Dinnerbone tweeted a picture of diamonds being rendered in 3D as dropped items.[4] He also revealed that other items would rendered in this way, but only in fancy graphics.[5]
December 12, 2012TeamMojang (YouTube) posted a video showing off the new 3D items.[6]
1.4.612w50aWhen dropped, items now render in the fancy graphics setting as 3D spinning animations (non-block items no longer display as sprites).
1.814w04aDropped items don't spin, and they are only visible from the south on fast graphics.
14w04bDropped items are now completely invisible on fast graphics.
14w05aDropped items on fast graphics now face the player on all three axes, and they spin again on fancy graphics.
14w25aDropped items now render in 3D on fast graphics, instead of just on fancy graphics. However, they do not spin.
1.8.1pre4Dropped items now spin on fast graphics.
1.1116w32aThe entity ID of items has been changed from Item to item.
1.1318w07aItems in water now float up.
1.1620w06aNetherite items are the first items to not burn in lava, and float in lava.
Pocket Edition Alpha
0.2.0Added items to the game.
?Items now have improved graphics.[more information needed]
Bedrock Edition
1.4.0beta 1.2.14.2Items in water now float up.
1.16.0beta 1.15.0.51When dropped, items now render as 3D spinning animations (non-block items no longer display as sprites).
beta 1.16.0.51Added netherite items, which float and do not burn in lava.
Legacy Console Edition
TU1CU11.0Patch 1Added items to the game.
TU12When dropped, items now render as 3D spinning animations (non-block items no longer display as sprites).
TU691.76Patch 38Items in water now float up.

Trivia[edit]

  • MC-4, the oldest standing bug in the Minecraft bug tracker, involves item entity positioning being incorrectly handled.

See also[edit]

  • Drops — items dropped by mobs when killed.
  • Chunk format for more information about the attributes of items.

References[edit]