CLASS net/minecraft/class_1542 net/minecraft/entity/ItemEntity FIELD field_30456 DESPAWN_AGE I FIELD field_30457 CANNOT_PICK_UP_DELAY I FIELD field_30458 NEVER_DESPAWN_AGE I FIELD field_7199 STACK Lnet/minecraft/class_2940; FIELD field_7200 thrower Ljava/util/UUID; FIELD field_7201 health I FIELD field_7202 pickupDelay I FIELD field_7203 uniqueOffset F FIELD field_7204 itemAge I COMMENT The number of ticks since this item entity has been created. COMMENT It is a short value with key {@code Age} in the NBT structure. COMMENT COMMENT
It differs from {@link Entity#age}.
FIELD field_7205 owner Ljava/util/UUID;
METHOD Used when an item is given to an entity, but this entity
COMMENT does not have enough space in its inventory.
ARG 1 owner
METHOD method_6985 getItemAge ()I
COMMENT Returns the number of ticks since this item entity has been created.
COMMENT
COMMENT Increases every tick. When it equals to 6000 ticks (5 minutes),
COMMENT this item entity disappears.
COMMENT
COMMENT Unlike {@linkplain Entity#age}, it is persistent and not synchronized
COMMENT between the client and the server.
COMMENT
COMMENT @see #tick()
METHOD method_6986 getOwner ()Ljava/util/UUID;
COMMENT Returns the UUID of the entity to which belongs this item entity,
COMMENT or {@code null} if there is not.
COMMENT
COMMENT If there is one, the owner is the only entity which can pick
COMMENT up this item entity.
METHOD method_6987 setDespawnImmediately ()V
METHOD method_6988 setToDefaultPickupDelay ()V
COMMENT Sets the number of ticks before this item entity can be picked up
COMMENT to the default value of 10.
METHOD method_6989 setPickupDelayInfinite ()V
COMMENT Makes this item entity impossible to be picked up by setting its
COMMENT pickup delay to 32767.