mojira.dev
MCPE-64477

Can't use various items while looking at interactive blocks while sneaking

The bug

Sneaking is supposed to prevent block interactions, so you can use the item in your hand even while looking at an interactive block. However, this does not work for many items, causing them to be unusable, even while sneaking.

How to reproduce

1. Get some food
2. Look at a crafting table
3. Start sneaking
4. Try to eat
→ ❌ You can't

Examples

The following items can be used properly while looking at an interactive block and sneaking:
✔ Blocks
✔ Boats
✔ Buckets
✔ Spawn Eggs
✔  Flint and steel
✔ Fire charges
✔ Firework rockets
✔ Glass bottles
✔ Armor stands

The following items cannot:
❌ Tridents
❌ Bows/crossbows
❌ Food
❌ Potions
❌  Armor (trying to equip it)
❌ Snowballs
❌ Ender pearls
❌ Eyes of ender
❌ Fishing rods
❌ Eggs
❌ Empty maps
❌ Experience bottles
❌ Book (& Quill)
❌ Spyglass
❌ Goat Horn

The following blocks are interactive, but properly allow you to use items while sneaking (possibly caused by MCPE-56968):
✔ Dragon eggs
Bells not anymore due to the fix of MCPE-56968

Related issues

Attachments

Comments

migrated
[media]
migrated

Relates to MCPE-56968

migrated

Spawn eggs are also items that can be used properly when looking at an interactive block while sneaking.

migrated

Confirmed for 1.16

migrated

I have tested it with some more items the following items also can be used properly:
Fire charges ✔
Fireworks rockets ✔
Glass bottle ✔ (You need to aim at an interactive block through water and you will be able to fill it.)
The following can not:
Snowball ❌
Ender pearl ❌
Eye of ender ❌
Fishing rod ❌
Egg ❌
Empty maps ❌
Splash potions and lingering potions ❌
Experience bottles ❌

Seems like all items that are used to place a block or summon an entity at the block you are aiming work properly and any other item does not.

migrated

Affects 1.16.100.55 Beta.

migrated

Affects 1.16.100.56 beta.

migrated

For using a glass bottle while looking at an interactive block, you don’t even need to sneak. This is caused by MCPE-101832

migrated

Affects 1.18.0.21

DeeFeeCee

Affects 1.18.1

DeeFeeCee

Affects 1.18.31

tryashtar

(Unassigned)

378891

Confirmed

Multiple

1.19.40.24 Preview, 1.18.20.21 Beta, 1.17.10, 1.16.220, 1.16.210.58 Beta, ..., 1.16.221 Hotfix, 1.18.31, 1.19.31 Hotfix, 1.20.40.22 Preview, 1.20.30

1.21.90.21 Preview

Retrieved