Summary:
When aiming at a mob spawner, most items with a use function cannot be used.
The following items cannot be used when aiming at a mob spawner:
Eggs
Snowballs
Honey bottles
Potions, splash potions, and lingering potions
Bows and crossbows
Tridents
Fishing rods
Maps
Armor
All food items
Ender pearls
Eyes of ender
Bottles o' enchanting
Books and quills
The following items can:
Blocks
Armor stands
Flint and steel
Fire charges
Fireworks
Buckets of fish, water buckets, and lava buckets
Spawn eggs
Steps to Reproduce:
Place down a mob spawner
Obtain any of the affected items
Try to use the item while aiming at the mob spawner
Observed Results:
The item cannot be used.
Expected Results:
The item can be used.
Related issues
relates to
Attachments
Comments


Can confirm. Affects 1.16.40. This seems to affect all items that are affected by MCPE-64477. You can’t even use them while sneaking, which is also caused by MCPE-64477.

Still an occurring issue in 1.18.0.22