Creators-of-Create / Create

[Forge Mod] Building Tools and Aesthetic Technology
MIT License
2.93k stars 907 forks source link

[Bug/Compatibility] Stack Size above 64 causes issues on brass count filter #6026

Open TBiscuit1 opened 9 months ago

TBiscuit1 commented 9 months ago

Describe the Bug

When using a brass funnel or smart chute, when trying to set the value of item it should transfer, if the stack size is above 64, the menu will become larger, potentially causing it to overflow outside of the screen

Reproduction Steps

  1. Install a mod that increases stack size (Like Bigger Stacks)
  2. Have the stack size be above 64
  3. Place a Brass Funnel or Smart Chute and place a block/item on it (filters/nothing defaults to 64, I will report that to bigger stack)
  4. Hold right click on the filter and you should see the filter be outside of the screen if the value is set too high

Expected Result

Not too sure how one would fix that other then a special menu when the stack size is too large to just set a value with text

Alternatively, Ctrl + Scroll could scroll the menu if possible (and Ctrl + Shift + Scroll would make it faster)

Screenshots and Videos

image

Crash Report or Log

Not applicable

Operating System

Windows 10

Mod Version

0.5.1f

Minecraft Version

1.20.1

Forge Version

47.2.0

Other Mods

Bigger Stacks (or any other mod that increases stacks like Stacc) would cause the issue

Additional Context

It would be nice if that issue can be fixed, I'm making a modpack that has a similar style to factorio and so I had increased the stack size, it really sucks to be locked in a certain range with this bug

NARbluebear commented 7 months ago

This issue's been a problem for one of my friends on a modded SMP, since the stack size was set to 1M items. It basically makes brass funnels (a necessary part of one of his contraptions) non-functional. Even on my computer - with the GUI scale set to 1 and the window stretched out as far as it can be - the filter only ranges from about 49k to 51k items (image taken from a creative world for demonstration purposes). I'd suggest clamping the actual width of the GUI element to 75% of the screen size and adding a box to type in a specific number. image