mojira.dev
MC-59600

Shift clicking does not work for all valid items for some slots

The bug

Shift clicking does not work for all valid items for some slots. For example some items are valid for a slot and you can place them with your cursor but you cannot shift click them in the slot.

Affected situations

  • Shift clicking empty bucket into fuel slot of furnace (to have it filled with water)

  • Shift clicking non-smeltable item into slot for item to smelt of furnace

Code analysis

Based on 1.11.2 decompiled using MCP 9.35 rc1

The affected containers override the method net.minecraft.inventory.Container.transferStackInSlot(EntityPlayer, int) to not use the method net.minecraft.inventory.Slot.isItemValid(ItemStack).

Linked issues

Comments 11

Hello why works this as intended? Could please one of the developers explain that to me?
Like I said, it is working with the enchantment table already, so why not with furnaces?

Hello?

Dear moderators or developers could you please explain that to me?

Mojang (Grum) has stated that it is intended. No further explanation is necessary, as it is their game to develop.

Affects 1.16.4 pre1

1 more comments

Can confirm in 21w05a.

Can confirm in 1.18.2 and 22w12a.

Can confirm in 1.19.

Can confirm in 1.19.2.

himazinn_Japan

Can confirm in 1.21.4.

marcono1234

(Unassigned)

Confirmed

Platform

Low

Inventory

bucket, furnace, item, shift-click, slot, smelt

Minecraft 14w26c, Minecraft 14w28a, 1.15.2, 20w12a, 20w15a, ..., 1.19.3, 23w06a, 1.20.4, 1.21.4, 25w02a

Retrieved