mojira.dev
MC-222423

/give immediately after dropping an item creates ghost item

When the /give command is run for an item immediately after it is dropped, the item does not appear in your inventory until it is updated again by looking in a cheat/clearing again.

To reproduce, create a data pack with a function running under the tick.json tag. Inside, have it give an item to any player that does not have the item. See attached data pack for example.

Linked issues

Attachments

Comments 3

MMK21

Can confirm in 21w13a. Relates to MC-219018.

MMK21

Cannot reproduce in 1.18-pre1

[media]

Avoma

I believe this ticket is a duplicate of MC-219018 which was fixed in 1.17.1 Pre-release 1.

user-2a4c8

(Unassigned)

Community Consensus

(Unassigned)

1.16.5, 21w13a

Retrieved