If you put an item on the floor and you put a shelf on that same block on the position an item is located it starts to move until the item leaves the collision of the shelf, it is collected or the shelf is destroyed. I believe it can be related to bug MC-4
Environment
To reproduce
1. Put a line of three solid blocks behind the place where you want to put the shelf.
2. Put two shelves, one on the block on the left and another one on the block on the right
2. Put an item on the floor where there isn't a shelf, being located as near as possible from the blocks
3. Put a shelf on the centre
The item placed will start moving undefinitely until one of the conditions of the description is met
Hi!
Thank you for your report!ย
We're actually already tracking this issue at MC-184992, so I will resolve and link this ticket as a Duplicate.ย
I suggest also to browse through the main issue for potential fixes.ย
If you would like to add a vote and any extra information to the main ticket it would be appreciated. Thanks!
Quick Links:ย
๐โฏIssue Guidelinesโฏโ ๐ฌโฏMojang Supportโฏโ ๐งโฏSuggestionsโฏโ ๐โฏMinecraft Wikiย