Skip to content

Shift clicking after a craft don't respect stack size. #65

@MokkaCicc

Description

@MokkaCicc

Describe the bug
If we set the stack size for an item less than what a recipe give, you can keep a bigger stack in the inventory with shift click.

To Reproduce
Steps to reproduce the behavior:

  1. Make the stack size of door 2 or less /allstackable set minecraft:oak_door 1.
  2. Go to a crafting table and craft three doors.
  3. You can keep the 3 doors stacked with shift click (work in inventory and containers).
  4. If you take the 3 doors with the mouse cursor, the game will force you to make stack of size 1 on deposit.

Expected behavior
Shift clicking should split the stack into multiple one, according to max size option. If the target doesn't have enough space keep the remaining items in the source slot.

Version (please complete the following information):

  • Minecraft Version: 1.20.4
  • Mod Version 2.0,0
  • Java Version 17.0.8

And of course, thank you for the wonderful mod!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions