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.
Đang xem: How long for items to despawn minecraft
1 Appearance 2 Behavior 2.1 Damage 2.2 Despawning 3 Sounds 4 Data values 4.1 ID 4.2 Entity data 5 History 6 Trivia 7 See also 8 References
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 1⁄4 scale, while 2D items appear as 1⁄2 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,
on Nintendo Switch,
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.
The item entity can transfer its items when the player is within one block of it, measuring from the center of where they contact the ground. As many items as can fit in the player inventory, excluding the armor slots, 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 instantaneously. Dropped items have a delay of 10 ticks between appearing and being able to be picked up, or 40 ticks 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 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.
Item pickup range for players is 1.425 blocks.
Damage < edit>
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, fire, lava, a falling anvil,
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 https://wtbblue.com/wiki/File:Pop.ogg Item plopsFriendly CreaturesItem getting picked upentity.item.pickupsubtitles.entity.item.pickup0.22.0 to 3.4
Data values < edit>
ID < edit>
NameNamespaced IDTranslation key Itemitementity.wtbblue.com.item
NameNamespaced IDNumeric ID Translation key Itemitem64entity.item.name
Entity data < edit>
Entity data Tags common to all entities 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 Classic A test versionIn the first public mention of item entities, “this early video of wtbblue.com (Classic 0.24) by Notch”, they were referred to as “resources”. 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).Instead of appearing as shrink blocks, items use pixels the same size of block pixels. Java Edition Indev 0.3120091231-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.
A bug causing many item forms of blocks to be displayed at the 1⁄2 scale rather than 1⁄4 was fixed. The following items were affected by this at least at one point: Cactus Oak Trapdoor Oak Fence Oak Pressure Plate
Trivia < edit>
MC-4 , the oldest standing bug in the wtbblue.com 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>
↑ Items cannot be damaged by attacking them ↑ MC-36538 ↑ a b https://youtube.com/watch?v=YIm_AKUbqh8 Early video of wtbblue.com (Classic 0.24) by Notch referring to item entities as “resources” ↑ MC-15 ↑ “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/wtbblue.com_2012-12-11_12-13-11.png … #AndMaybeEverythingElseToo” –
PaymenowTV It”s Fancy Rendering option, but really won”t make much of a difference on even a slow pc.” –