Items dropped before activating /tick freeze can be picked up
Created Issue:
Items dropped before activating /tick freeze can be picked up
If you drop an item then go into /tick freeze you will be able to pick up said item.
Steps to reproduce:
1: Create a new world with the 1.21 datapack enabled
2: Drop any item
3: Enter tick freeze with /tick freeze
4: You will be able to pick up said itemRelates to
MC-267190
If you have tick freeze active and break a container (chest, hopper etc) with items inside, you will pick up the items inside.
Relates to MC-267201 and MC-267202
Steps to reproduce:
Note: For this example our example container block will be a chest
1 Activate tick freeze with the command /tick freeze
2 Place down a container block (chest, hopper, furnace etc) (for this example we will be using a chest
3 Break the chest
4 You will pick up the items inside, but not the chest
If you pick up an item in tick freeze, see MC-267201 and MC-267190 on how to do this, there will be no pickup animation played. This is expected. However, if you turn off tick freeze the item picked up will come back to you, as fast as it can. It will have the hitbox for the item coming to you as well, and the item will come to you no matter how far away you are. This creates what I call an extended pickup animation (There's probably an actual name for it but I can't find it)
I have attached a video, however the bug is only there for a few frames so I have also attached a screenshot
Steps to reproduce:
- Reproduce either
MC-267201orMC-267190to pick up the item in tick freeze - Turn on hitboxes with F3+B
- Walk away from where you picked up the item
- Turn off tick freeze with /tick unfreeze
- The item pickup animation will play. The animation will begin at the point you picked up the item in tick freeze and end at the player. There is no distance limit
Picking up items isn't tick based, only the animation is. This seems like expected behavior considering that blocks can still be interacted with too while the game is frozen, and only tick based mechanics will be frozen. The player can still till dirt, open GUIs (any opening animations will not play though), and take damage from certain blocks like magma or dripstone.
With that being said, I can confirm in 1.20.4.