Create Fabric

Create Fabric

7M Downloads

Stockpile switch caps slots at max stack size.

MattiDragon opened this issue ยท 0 comments

commented

Describe the Bug

Stockpile switches cap the capacity of storage views at the max stack of the contained item, even though many mods have larger views. Here's the line:

long space = Math.min(view.getCapacity(), view.getResource().getItem().getMaxStackSize());

Reproduction Steps

  1. Install create fabric together with extended drawers (other mods may also work)
  2. Place down a drawer and connect a stockpile switch to it
  3. Notice how the switch behaves as if the max capacity of each drawer slot was 64

Expected Result

That the capacity would not be capped

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 11

Mod Version

0.5.0g

Minecraft Version

1.19.2

Other Mods

Extended drawers (any version)

Additional Context

No response