The player cannot collect items in the hitbox of the EnderDragon.
- Use the following command (uses the bug reported in
- Drop an item near the EnderDragon
- Try to collect the item
The item is not a ghost item, once the EnderDragon moved away the player is able to pick the item up.