Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Item (entity): Difference between revisions

From SAS Gaming Wiki
imported>CrockCraftMC
Undo revision 3513428 by ~2026-AllayWolfMule8142 (talk) April fools day jokes shouldn't be included in history.
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 6: Line 6:
| size = Height: 0.25 blocks<br>Width: 0.25 blocks
| size = Height: 0.25 blocks<br>Width: 0.25 blocks
}}
}}
'''Items''' are "dropped" [[Minecraft:block]]s or [[Minecraft:item]]s (non-block resources) that appear in the world, rather than being in the [[Minecraft:inventory]] of a [[Minecraft:player]] or [[Minecraft:block entity]]; they are a type of [[Minecraft:entity]].
'''Items''' are "dropped" [[Minecraft:block]]s or [[Minecraft:item]]s (non-block resources) that appear in the world, rather than being in the [[Minecraft:inventory]] of a player or [[Minecraft:block entity]]; they are a type of entity.


== Appearance ==
== Appearance ==
Line 19: Line 19:
== Behavior ==
== Behavior ==
Item entities come from many sources. Some common ones are:
Item entities come from many sources. Some common ones are:
* The death of a [[Minecraft:mob]] or [[Minecraft:player]].
* The death of a [[Minecraft:mob]] or player.
* A [[Minecraft:block]] that is mined by a player, destroyed by an [[Minecraft:explosion]], or washed away by [[Minecraft:water]].
* A [[Minecraft:block]] that is mined by a player, destroyed by an explosion, or washed away by [[Minecraft:water]].
* An inventory item tossed by pressing the drop item key (default {{key|Q}} on PC, {{xbtn|dpad-down}} on Xbox, {{nsbtn|down}}/{{nsbtn|dpad-down}} on Nintendo Switch, {{psbtn|dpad-down}} on PlayStation) or dragging a stack outside of an inventory window.
* An inventory item tossed by pressing the drop item key (default {{key|Q}} on PC, {{xbtn|dpad-down}} on Xbox, {{nsbtn|down}}/{{nsbtn|dpad-down}} on Nintendo Switch, {{psbtn|dpad-down}} on PlayStation) or dragging a stack outside of an inventory window.
** In the mobile versions of {{BE}}, items in the hotbar can be dropped by pressing on the item's slot. The entire stack is dropped.
** In the mobile versions of {{BE}}, items in the hotbar can be dropped by pressing on the item's slot. The entire stack is dropped.
Line 27: Line 27:
The player may be thought of as having an "item pickup" box that surrounds their hitbox. This pickup box extends 1 additional block to the horizontal sides, and 0.5 additional blocks up and down. Any item whose hitbox intersects with the pickup box can be picked up. The pickup box is inclusive on the horizontal sides (for distance less than or equal to 1), and exclusive on the vertical sides (distance less than 0.5). When the player's hitbox size changes, such as when crouching or sleeping, the pickup box size changes with it.
The player may be thought of as having an "item pickup" box that surrounds their hitbox. This pickup box extends 1 additional block to the horizontal sides, and 0.5 additional blocks up and down. Any item whose hitbox intersects with the pickup box can be picked up. The pickup box is inclusive on the horizontal sides (for distance less than or equal to 1), and exclusive on the vertical sides (distance less than 0.5). When the player's hitbox size changes, such as when crouching or sleeping, the pickup box size changes with it.


Once an item entity's hitbox overlaps with the player's pickup box, it can transfer its items. As many items as can fit in the player inventory, excluding the armor slots and the [[Minecraft:dual wield|off-hand slot]], are transferred. If any item is transferred, [[Minecraft:Item (entity)#Sounds|a "plopping" sound]] is played. If all items are transferred, the items appear to move into the center of the player. The item entity never physically moves, however, which means it can appear to go through lava and blocks in its path. This can happen through blocks that are thinner than a full block, but also through the shared edge of two full blocks. Unlike [[Minecraft:experience orb]]s, multiple item entities can be picked up simultaneously. Dropped items have a delay of 10 [[Minecraft:tick]]s (half a second) between appearing and being able to be picked up, or 40 ticks (2 seconds) if thrown by a player, [[Minecraft:dolphin]], or [[Minecraft:fox]].
Once an item entity's hitbox overlaps with the player's pickup box, it can transfer its items. As many items as can fit in the player inventory, excluding the armor slots and the off-hand slot, are transferred. If any item is transferred, [[Minecraft:Item (entity)#Sounds|a "plopping" sound]] is played. If all items are transferred, the items appear to move into the center of the player. The item entity never physically moves, however, which means it can appear to go through lava and blocks in its path. This can happen through blocks that are thinner than a full block, but also through the shared edge of two full blocks. Unlike experience orbs, multiple item entities can be picked up simultaneously. Dropped items have a delay of 10 [[Minecraft:tick]]s (half a second) between appearing and being able to be picked up, or 40 ticks (2 seconds) if thrown by a player, dolphin, or fox.


Items do not collide with other entities (except [[Minecraft:boat]]s and [[Minecraft:shulker]]s) and are only moved or stopped by blocks.
Items do not collide with other entities (except [[Minecraft:boat]]s and shulkers) and are only moved or stopped by blocks.


Like other entities, items can be pushed by flowing water and [[Minecraft:bubble column]]s, pushed by a [[Minecraft:piston]], launched by a moving [[Minecraft:slime block]], stuck to a [[Minecraft:honey block]], or caught in a [[Minecraft:cobweb]]. Items move at faster speeds if [[Minecraft:ice]] is placed under the flowing water. When in still water, items float slowly up to the surface.
Like other entities, items can be pushed by flowing water and bubble columns, pushed by a [[Minecraft:piston]], launched by a moving slime block, stuck to a honey block, or caught in a [[Minecraft:cobweb]]. Items move at faster speeds if [[Minecraft:ice]] is placed under the flowing water. When in still water, items float slowly up to the surface.


{{IN|java}}, items can be reeled by [[Minecraft:fishing rod]]s, costing 3 [[Minecraft:durability]].
{{IN|java}}, items can be reeled by fishing rods, costing 3 durability.


If an item is within a [[Minecraft:solid block]], it then 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 the space below is unoccupied; therefore, it is possible to recover an item dropped in a small pit by blocking up the pit.
If an item is within a [[Minecraft:solid block]], it then 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 the space below is unoccupied; therefore, it is possible to recover an item dropped in a small pit by blocking up the pit.


Items visually disappear when the player is about 16 blocks away from them, and reappear when they get closer. {{IN|java}}, this distance can be adjusted by the "Entity Distance" slider in [[Minecraft:Options#Video Settings|video settings]].
Items visually disappear when the player is about 16 blocks away from them, and reappear when they get closer. {{IN|java}}, this distance can be adjusted by the "Entity Distance" slider in video settings.


Unlike most entities, items cannot be spectated in [[Minecraft:Spectator]] mode without use of the {{cmd|spectate}} command.
Unlike most entities, items cannot be spectated in Spectator mode without use of the {{cmd|spectate}} command.


When an item entity drops within the pickup box of two separate players simultaneously on a multiplayer server, the player who joined first automatically gets the item. If the item is tossed by one of said players, the other player is prioritized.{{verify|Behaves in this way on Java. Needs verification on Bedrock.}}
When an item entity drops within the pickup box of two separate players simultaneously on a multiplayer server, the player who joined first automatically gets the item. If the item is tossed by one of said players, the other player is prioritized.{{verify|Behaves in this way on Java. Needs verification on Bedrock.}}
Line 45: Line 45:
=== Mob pickup ===
=== Mob pickup ===
{{main|Geared mobs#Picking up gear}}
{{main|Geared mobs#Picking up gear}}
Some mobs, such as [[Minecraft:zombie]]s and [[Minecraft:skeleton]]s, have a chance to spawn being able to pick up weapons and armor depending on [[Minecraft:difficulty]].
Some mobs, such as [[Minecraft:zombie]]s and skeletons, have a chance to spawn being able to pick up weapons and armor depending on difficulty.


=== Merging ===
=== Merging ===
Line 53: Line 53:


=== Damage ===
=== Damage ===
Items cannot be attacked by players or mobs; attempting to do so simply hits through them. However, they take damage and disappear from environmental or block-based damage such as [[Minecraft:explosion]]s, [[Minecraft:fire]], [[Minecraft:lava]], and contact with [[Minecraft: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. [[Minecraft:Nether star]]s are immune to explosions, and [[Minecraft:netherite]]-based items and tools are immune to fire and float on top of lava. Also, some blocks that regularly damage mobs, such as [[Minecraft:magma block]]s, [[Minecraft:campfire]]s, [[Minecraft:sweet berry bush]]es, [[Minecraft:wither rose]]s, and [[Minecraft:powder snow]], do not damage items.
Items cannot be attacked by players or mobs; attempting to do so simply hits through them. However, they take damage and disappear from environmental or block-based damage such as explosions, [[Minecraft:fire]], [[Minecraft:lava]], 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. Also, some blocks that regularly damage mobs, such as magma blocks, [[Minecraft:campfire]]s, sweet berry bushes, wither roses, and powder snow, do not damage items.


=== Despawning ===
=== Despawning ===
Items despawn after 6000 game [[Minecraft:tick]]s (5 minutes) of being in a loaded, entity-ticking [[Minecraft:chunk]]; this is affected by the player's [[Minecraft:simulation distance]]. 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 or no longer processing entities. {{IN|bedrock}}, [[Minecraft:nether star]]s do not despawn. {{IN|java}}, nether stars dropped by a dying [[Minecraft:wither]] despawn after 10 minutes, but they despawn after 5 minutes if dropped by any other means.
Items despawn after 6000 game [[Minecraft:tick]]s (5 minutes) of being in a loaded, entity-ticking chunk; this is affected by the player's [[Minecraft:simulation distance]]. 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 or no longer processing entities. {{IN|bedrock}}, nether stars do not despawn. {{IN|java}}, nether stars dropped by a dying [[Minecraft:wither]] despawn after 10 minutes, but they despawn after 5 minutes if dropped by any other means.


Items that fall into the [[Minecraft:void]] immediately despawn when they fall below <code>world minumum build height - 64</code> (Y=-128 in the [[Minecraft:Overworld]], Y=-64 in [[Minecraft:the Nether]] and [[Minecraft:the End]]).
Items that fall into the void immediately despawn when they fall below <code>world minumum build height - 64</code> (Y=-128 in the [[Minecraft:Overworld]], Y=-64 in [[Minecraft:the Nether]] and [[Minecraft:the End]]).


== Sounds ==
== Sounds ==
{{Edition|Java}}:<br>
{{Edition|Java}}:<br>
Item Entities use the Ambient/Environment sound category for [[Minecraft:Sound#Entity-dependent categories|entity-dependent sound events]].
Item Entities use the Ambient/Environment sound category for entity-dependent sound events.
{{SoundTable
{{SoundTable
| type = java
| type = java
Line 169: Line 169:
|{{HistoryLine|java classic}}
|{{HistoryLine|java classic}}
|{{HistoryLine||August 4, 2009|link=none|In the first public mention of item entities, {{ytl|srHTyTU2ejw|this early video of Minecraft (Classic 0.24) by Notch}}, they were referred to as "resources".<ref name="resources">{{ytl|srHTyTU2ejw}} Early video of Minecraft (Classic 0.24) by Notch referring to item entities as "resources"</ref>}}
|{{HistoryLine||August 4, 2009|link=none|In the first public mention of item entities, {{ytl|srHTyTU2ejw|this early video of Minecraft (Classic 0.24) by Notch}}, they were referred to as "resources".<ref name="resources">{{ytl|srHTyTU2ejw}} Early video of Minecraft (Classic 0.24) by Notch referring to item entities as "resources"</ref>}}
|{{HistoryLine||August 4, 2009|link=https://web.archive.org/web/20090808093608/https://notch.tumblr.com/post/155882307/a-video-showing-what-i-did-today-are-vids-like|Items were showcased by [[Minecraft:Notch]] in a blog post.}}
|{{HistoryLine||August 4, 2009|link=https://web.archive.org/web/20090808093608/https://notch.tumblr.com/post/155882307/a-video-showing-what-i-did-today-are-vids-like|Items were showcased by Notch in a blog post.}}
|{{HistoryLine||0.24_SURVIVAL_TEST|Added items to the game.
|{{HistoryLine||0.24_SURVIVAL_TEST|Added items to the game.
|Items currently take the form of destroyed [[Minecraft:block]]s.
|Items currently take the form of destroyed [[Minecraft:block]]s.
Line 178: Line 178:
|Dropped items now appear as shrunken down blocks.
|Dropped items now appear as shrunken down blocks.
|Items no longer prevent the placement of blocks but instead are moved to the nearest chunk. {{info needed}}
|Items no longer prevent the placement of blocks but instead are moved to the nearest chunk. {{info needed}}
|Non-block items added (as sprites); they now rotate to face the [[Minecraft:player]].}}
|Non-block items added (as sprites); they now rotate to face the player.}}
|{{HistoryLine||?|Dropped items now spin again.}}
|{{HistoryLine||?|Dropped items now spin again.}}
|{{HistoryLine|java beta}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.8|dev=Pre-release|[[File:Oversized items.png|100px|right]][[File:In awe at the size of these fluids.png|100px|right]] A bug causing many item forms of blocks to be displayed at the {{frac|1|2}} scale rather than {{frac|1|4}} was fixed. The following items were affected by this at least at one point:
|{{HistoryLine||1.8|dev=Pre-release|[[File:Oversized items.png|100px|right]][[File:In awe at the size of these fluids.png|100px|right]] A bug causing many item forms of blocks to be displayed at the {{frac|1|2}} scale rather than {{frac|1|4}} was fixed. The following items were affected by this at least at one point:
* [[Minecraft:Cactus]]
* [[Minecraft:Cactus]]
* [[Minecraft:Oak Trapdoor]]
* Oak Trapdoor
* [[Minecraft:Oak Fence]]
* Oak Fence
* [[Minecraft:Oak Pressure Plate]]
* Oak Pressure Plate
* [[Minecraft:Stone Pressure Plate]]
* [[Minecraft:Stone Pressure Plate]]
* [[Minecraft:Stone Button]]
* [[Minecraft:Stone Button]]
* [[Minecraft:Oak Stairs]]
* Oak Stairs
* [[Minecraft:Cobblestone Stairs]]
* [[Minecraft:Cobblestone Stairs]]
* [[Minecraft:Snow]] (unobtainable at the time)
* [[Minecraft:Snow]] (unobtainable at the time)
* [[Minecraft:Farmland]] (unobtainable)
* [[Minecraft:Farmland]] (unobtainable)
* [[Minecraft:Cake]] ([[Minecraft:Technical blocks/Cake|unobtainable version]])
* [[Minecraft:Cake]] (unobtainable version)
* [[Minecraft:Nether Portal (block)|Nether Portal]] ([[Minecraft:Technical blocks/Nether Portal|unobtainable]])
* [[Minecraft:Nether Portal (block)|Nether Portal]] (unobtainable)
* [[Minecraft:Water]] ([[Minecraft:Technical blocks/Water|unobtainable]], before becoming 2D in [[Minecraft:Java Edition Infdev 20100615]])
* [[Minecraft:Water]] (unobtainable, before becoming 2D in Java Edition Infdev 20100615)
* [[Minecraft:Lava]] ([[Minecraft:Technical blocks/Lava|unobtainable]], before becoming 2D in [[Minecraft:Java Edition Infdev 20100615]])
* [[Minecraft:Lava]] (unobtainable, before becoming 2D in Java Edition Infdev 20100615)
}}
}}
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.3.1|dev=12w15a|Items that are moved into the same location now combine into stacks instead of remaining independent entities.}}
|{{HistoryLine||1.3.1|dev=12w15a|Items that are moved into the same location now combine into stacks instead of remaining independent entities.}}
|{{HistoryLine||1.4.2|dev=12w34a|Items, like other entities, can now travel through [[Minecraft:portal]]s.}}
|{{HistoryLine||1.4.2|dev=12w34a|Items, like other entities, can now travel through portals.}}
|{{HistoryLine|||dev=12w34b|Some [[Minecraft:zombie]]s, [[Minecraft:skeleton]]s and [[Minecraft:zombie pigmen]] can now pick up items.}}
|{{HistoryLine|||dev=12w34b|Some [[Minecraft:zombie]]s, skeletons and zombie pigmen can now pick up items.}}
|{{HistoryLine||1.4.4|dev=1.4.3|Items are now pushed out of transparent solid blocks as well as opaque ones.<ref>{{bug|MC-15}}</ref> 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.}}
|{{HistoryLine||1.4.4|dev=1.4.3|Items are now pushed out of transparent solid blocks as well as opaque ones.<ref>{{bug|MC-15}}</ref> 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.}}
|{{HistoryLine||December 11, 2012|link=none|[[Minecraft:Dinnerbone]] tweeted a picture of [[Minecraft:diamond]]s being rendered in 3D as dropped items.<ref>{{tweet|dinner|278457679805030401|Diamonds are a miners best friend. It's only fair they get treated to some luxury rendering. http://dinnerbone.com/media/uploads/2012-12/screenshots/Minecraft_2012-12-11_12-13-11.png … #AndMaybeEverythingElseToo|December 11, 2012}}</ref> He also revealed that other items would rendered in this way, but only in [[Minecraft:fancy graphics]].<ref>{{tweet|dinner|278463997982949378|@PaymenowTV It's Fancy Rendering option, but really won't make much of a difference on even a slow pc.|December 11, 2012}}</ref>}}
|{{HistoryLine||December 11, 2012|link=none|Dinnerbone tweeted a picture of [[Minecraft:diamond]]s being rendered in 3D as dropped items.<ref>{{tweet|dinner|278457679805030401|Diamonds are a miners best friend. It's only fair they get treated to some luxury rendering. http://dinnerbone.com/media/uploads/2012-12/screenshots/Minecraft_2012-12-11_12-13-11.png … #AndMaybeEverythingElseToo|December 11, 2012}}</ref> He also revealed that other items would rendered in this way, but only in fancy graphics.<ref>{{tweet|dinner|278463997982949378|@PaymenowTV It's Fancy Rendering option, but really won't make much of a difference on even a slow pc.|December 11, 2012}}</ref>}}
|{{HistoryLine||December 12, 2012|link=none|TeamMojang ([[Minecraft:wikipedia:Youtube|YouTube]]) posted a video showing off the new 3D items.<ref>{{ytl|tMOZLAxPWFE}}</ref>}}
|{{HistoryLine||December 12, 2012|link=none|TeamMojang (YouTube) posted a video showing off the new 3D items.<ref>{{ytl|tMOZLAxPWFE}}</ref>}}
|{{HistoryLine||1.4.6|dev=12w49a|[[Minecraft:Nether star]]s are the first items to not be deleted by [[Minecraft:explosion]]s.}}
|{{HistoryLine||1.4.6|dev=12w49a|Nether stars are the first items to not be deleted by explosions.}}
|{{HistoryLine|||dev=12w50a|When dropped, items now render in the [[Minecraft:fancy graphics]] setting as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).
|{{HistoryLine|||dev=12w50a|When dropped, items now render in the fancy graphics setting as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).
|Dropped items now merge with nearby items and be stacked.
|Dropped items now merge with nearby items and be stacked.
|Enchanted items now show the enchanted glow when dropped.}}
|Enchanted items now show the enchanted glow when dropped.}}
|{{HistoryLine||1.5|dev=13w01a|Added [[Minecraft:hopper]]s, which can collect items.}}
|{{HistoryLine||1.5|dev=13w01a|Added [[Minecraft:hopper]]s, which can collect items.}}
|{{HistoryLine|||dev=13w03a|Added [[Minecraft:hopper minecart]]s, which can collect items.}}
|{{HistoryLine|||dev=13w03a|Added hopper minecarts, which can collect items.}}
|{{HistoryLine||1.8|dev=14w04a|Dropped items don't spin, and they are visible only from the south on fast graphics.}}
|{{HistoryLine||1.8|dev=14w04a|Dropped items don't spin, and they are visible only from the south on fast graphics.}}
|{{HistoryLine|||dev=14w04b|Dropped items are now completely invisible on fast graphics.}}
|{{HistoryLine|||dev=14w04b|Dropped items are now completely invisible on fast graphics.}}
Line 215: Line 215:
|{{HistoryLine|||dev=14w25a|Dropped items now render in 3D on fast graphics, instead of just on fancy graphics, likely due to item models being fully implemented and replacing the need for 2D items. However, they do not spin.}}
|{{HistoryLine|||dev=14w25a|Dropped items now render in 3D on fast graphics, instead of just on fancy graphics, likely due to item models being fully implemented and replacing the need for 2D items. However, they do not spin.}}
|{{HistoryLine||1.8.1|dev=pre4|Dropped items now spin on fast graphics.}}
|{{HistoryLine||1.8.1|dev=pre4|Dropped items now spin on fast graphics.}}
|{{HistoryLine||1.10|dev=16w21a|Items can now be reared by [[Minecraft:fishing rod]]s.}}
|{{HistoryLine||1.10|dev=16w21a|Items can now be reared by fishing rods.}}
|{{HistoryLine||1.11|dev=16w32a|The entity ID of items has been changed from <code>Item</code> to <code>item</code>.}}
|{{HistoryLine||1.11|dev=16w32a|The entity ID of items has been changed from <code>Item</code> to <code>item</code>.}}
|{{HistoryLine||1.13|dev=18w07a|Items in water now float up.}}
|{{HistoryLine||1.13|dev=18w07a|Items in water now float up.}}
Line 229: Line 229:
|{{HistoryLine|pocket alpha}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.2.0|Added items to the game.}}
|{{HistoryLine||v0.2.0|Added items to the game.}}
|{{HistoryLine||v0.3.0|Players can now drop item entities from their [[Minecraft:hotbar]] in Survival mode by tapping and holding the respective hotbar slot for two seconds.}}
|{{HistoryLine||v0.3.0|Players can now drop item entities from their hotbar in Survival mode by tapping and holding the respective hotbar slot for two seconds.}}
|{{HistoryLine||?|Items now have improved graphics.{{more info|clarify}}}}
|{{HistoryLine||?|Items now have improved graphics.{{more info|clarify}}}}
|{{HistoryLine||?|Players can now drop item entities in Creative mode.}}
|{{HistoryLine||?|Players can now drop item entities in Creative mode.}}
Line 235: Line 235:
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|Items in [[Minecraft:water]] now float up.}}
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|Items in [[Minecraft:water]] now float up.}}
|{{HistoryLine||1.16.0|dev=beta 1.15.0.51|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
|{{HistoryLine||1.16.0|dev=beta 1.15.0.51|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
|{{HistoryLine|||dev=beta 1.16.0.51|Added [[Minecraft:netherite]] items, which float and do not burn in [[Minecraft:lava]].}}
|{{HistoryLine|||dev=beta 1.16.0.51|Added netherite items, which float and do not burn in [[Minecraft:lava]].}}
}}
}}


Line 243: Line 243:
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added items to the game.}}
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added items to the game.}}
|{{HistoryLine||xbox=TU12|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
|{{HistoryLine||xbox=TU12|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|Items, like other entities, can now travel through [[Minecraft:portal]]s.|Some [[Minecraft:zombie]]s, [[Minecraft:skeleton]]s and [[Minecraft:zombie pigmen]] can now pick up items.|[[Minecraft:Nether star]]s are the first items to not be deleted by [[Minecraft:explosion]]s.|Added [[Minecraft:hopper]]s, which can collect items.|Added [[Minecraft:hopper minecart]]s, which can collect items.}}
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|Items, like other entities, can now travel through portals.|Some [[Minecraft:zombie]]s, skeletons and zombie pigmen can now pick up items.|Nether stars are the first items to not be deleted by explosions.|Added [[Minecraft:hopper]]s, which can collect items.|Added hopper minecarts, which can collect items.}}
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|Items can now be reared by [[Minecraft:fishing rod]]s.}}
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|switch=1.0.1|Items can now be reared by fishing rods.}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Items in [[Minecraft:water]] now float up.}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Items in [[Minecraft:water]] now float up.}}
}}
}}
Line 252: Line 252:


== Trivia ==
== Trivia ==
* {{bug|MC-4}}, the oldest standing bug in the Minecraft [[Minecraft:bug tracker]], involves item entity positioning being incorrectly handled.
* {{bug|MC-4}}, the oldest standing bug in the Minecraft bug tracker, involves item entity positioning being incorrectly handled.


== Gallery ==
== Gallery ==
Line 261: Line 261:


== See also ==
== See also ==
* [[Minecraft:Drops]] — items dropped by [[Minecraft:mobs]] when killed.
* Drops — items dropped by mobs when killed.
* [[Minecraft:Chunk format#Items|Chunk format]] for more information about the attributes of items.
* Chunk format for more information about the attributes of items.


== Notes ==
== Notes ==
Line 276: Line 276:
[[Category:Items| ]]
[[Category:Items| ]]


[[Minecraft:de:Drop]]
de:Drop
[[Minecraft:es:Objeto (entidad)]]
es:Objeto (entidad)
[[Minecraft:fr:Objet (entité)]]
fr:Objet (entité)
[[Minecraft:it:Oggetto (entità)]]
it:Oggetto (entità)
[[Minecraft:ja:アイテム (エンティティ)]]
ja:アイテム (エンティティ)
[[Minecraft:ko:아이템 (개체)]]
ko:아이템 (개체)
[[Minecraft:nl:Voorwerp (entiteit)]]
nl:Voorwerp (entiteit)
[[Minecraft:pt:Item (entidade)]]
pt:Item (entidade)
[[Minecraft:ru:Предмет (сущность)]]
ru:Предмет (сущность)
[[Minecraft:th:ไอเทม (เอนทิตี้)]]
th:ไอเทม (เอนทิตี้)
[[Minecraft:uk:Предмет (сутність)]]
uk:Предмет (сутність)
[[Minecraft:zh:物品(实体)]]
zh:物品(实体)

Revision as of 15:52, 9 April 2026

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

Appearance

File:Item entities.png
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 Template:Frac scale, while 2D items appear as Template:Frac scale with all the pixels extruded into a cube. Both types slowly rotate and bob up and down; this is merely a visual effect, the item itself does not actually rotate or bob up and down.

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

The rotation rate of the item is approximately 2.9 degrees per tick, or 57.6 degrees per second.

Behavior

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

The player may be thought of as having an "item pickup" box that surrounds their hitbox. This pickup box extends 1 additional block to the horizontal sides, and 0.5 additional blocks up and down. Any item whose hitbox intersects with the pickup box can be picked up. The pickup box is inclusive on the horizontal sides (for distance less than or equal to 1), and exclusive on the vertical sides (distance less than 0.5). When the player's hitbox size changes, such as when crouching or sleeping, the pickup box size changes with it.

Once an item entity's hitbox overlaps with the player's pickup box, it can transfer its items. As many items as can fit in the player inventory, excluding the armor slots and the off-hand slot, are transferred. If any item is transferred, a "plopping" sound is played. If all items are transferred, the items appear to move into the center of the player. The item entity never physically moves, however, which means it can appear to go through lava and blocks in its path. This can happen through blocks that are thinner than a full block, but also through the shared edge of two full blocks. Unlike experience orbs, multiple item entities can be picked up simultaneously. Dropped items have a delay of 10 Minecraft:ticks (half a second) between appearing and being able to be picked up, or 40 ticks (2 seconds) if thrown by a player, dolphin, or fox.

Items do not collide with other entities (except Minecraft:boats and shulkers) and are only moved or stopped by blocks.

Like other entities, items can be pushed by flowing water and bubble columns, pushed by a Minecraft:piston, launched by a moving slime block, stuck to a honey block, or caught in a Minecraft:cobweb. Items move at faster speeds if Minecraft:ice is placed under the flowing water. When in still water, items float slowly up to the surface.

Template:IN, items can be reeled by fishing rods, costing 3 durability.

If an item is within a Minecraft:solid block, it then 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 the space below is unoccupied; therefore, it is possible to recover an item dropped in a small pit by blocking up the pit.

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

Unlike most entities, items cannot be spectated in Spectator mode without use of the Template:Cmd command.

When an item entity drops within the pickup box of two separate players simultaneously on a multiplayer server, the player who joined first automatically gets the item. If the item is tossed by one of said players, the other player is prioritized.Template:Verify

Mob pickup

Template:Main Some mobs, such as Minecraft:zombies and skeletons, have a chance to spawn being able to pick up weapons and armor depending on difficulty.

Merging

Two stackable items of the same type can merge together into a single item entity if the resulting stack size does not exceed that item's maximum stack size and if one is within a 0.5×0.25×0.5 square bounding box around the other item. The item with the greater stack gets its item count increased while the smaller or equal that is processed first is despawned.

Items usually attempt to merge every Template:Convert but items moving across block boundaries can be processed every Template:Convert.

Damage

Items cannot be attacked by players or mobs; attempting to do so simply hits through them. However, they take damage and disappear from environmental or block-based damage such as explosions, Minecraft:fire, Minecraft:lava, 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. Also, some blocks that regularly damage mobs, such as magma blocks, Minecraft:campfires, sweet berry bushes, wither roses, and powder snow, do not damage items.

Despawning

Items despawn after 6000 game Minecraft:ticks (5 minutes) of being in a loaded, entity-ticking chunk; this is affected by the player's Minecraft:simulation distance. 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 or no longer processing entities. Template:IN, nether stars do not despawn. Template:IN, nether stars dropped by a dying Minecraft:wither despawn after 10 minutes, but they despawn after 5 minutes if dropped by any other means.

Items that fall into the void immediately despawn when they fall below world minumum build height - 64 (Y=-128 in the Minecraft:Overworld, Y=-64 in Minecraft:the Nether and Minecraft:the End).

Sounds

Template:Edition:
Item Entities use the Ambient/Environment sound category for entity-dependent sound events. Template:SoundTable

Template:Edition: Template:SoundTable

Data values

ID

Template:Editions: Template:ID table

Template:Editions: Template:ID table

Entity data

Template:See also Dropped items have entity data associated with them that contain various properties of the entity.

Template:El: Template:Main

<section begin="entity data"/>

  • Template:Nbt Entity data
    • Template:Nbt inherit/entity
    • Template:Nbt: 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.
    • Template:Nbt: The health of the item, which starts at 5. Items take damage from fire, lava, cacti and explosions. The item is destroyed when its health reaches 0.
    • Template:Nbt: The inventory item, without the Slot tag.
    • Template:Nbt: If present, only the player with this Minecraft: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. Is not preserved when removed.
    • Template:Nbt: 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.
    • Template:Nbt: The Minecraft:UUID of the entity who dropped the item. Is not preserved when removed.

<section end="entity data"/>

Template:El:

See Minecraft:Bedrock Edition level format/Entity format.

History

Java Edition

Template:Info needed section Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Legacy Console Edition

Template:HistoryTable

Issues

Template:Issue list

Trivia

  • Template:Bug, the oldest standing bug in the Minecraft bug tracker, involves item entity positioning being incorrectly handled.

Gallery

Mojang images

See also

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

Notes

Template:Notelist

References

Template:Reflist

Navigation

Template:Navbox entities Template:Navbox items

de:Drop es:Objeto (entidad) fr:Objet (entité) it:Oggetto (entità) ja:アイテム (エンティティ) ko:아이템 (개체) nl:Voorwerp (entiteit) pt:Item (entidade) ru:Предмет (сущность) th:ไอเทม (เอนทิตี้) uk:Предмет (сутність) zh:物品(实体)