Mojira Archive
MC-91877

0-stack interaction is not disabled everywhere

In MC-88837, ProfMobius (Thomas Guimbretiere) introduced a few checks that delete item stacks if they have a count of 0. However, he forgot to cover some situations in which you can still interact with 0-stacks:


  • Entities. You can still interact with entities:
    • You can place chests on chestable EntityHorses
    • You can place saddles on pigs
    • You can place items inside item frames (effectively duplicating the item - you get a stack of size 1 back when destroying the item frame)
  • Hotkeys
    • 0-stacks can be 1-9 hotkeyed from containers into the hotbar
    • Switching items between the mainhand and offhand using the F hotkey doesn't delete 0-stacks
  • Other
    • Exchanging item stacks (clicking cursor/mouse-held items onto other stacks)
    • Consuming consumables
    • Equipping armor

Fixed

[Mod] redstonehelper

ProfMobius (Thomas Guimbretiere)

2015-11-01, 12:50 AM

2016-08-17, 09:15 PM

2016-08-17, 09:15 PM

0

1

Confirmed

Minecraft 15w44b, Minecraft 15w45a, Minecraft 16w14a

Minecraft 16w32a