Skip to content

Issues with Threshold switches #7583

@Cagnache

Description

@Cagnache

Description

Bug n°1 : The Threshold Switch always reset to 1 item or 1 stack when disconnected from a source its looking into. This can be a static chest that you break off, or Portable Storage Interfaces connecting and disconnecting.
In prior version the percentage system was kept, no matter what was in front and you could work with the UI even when disconnected.

Bug n°2 : Looking at the UI of the Threshold Switch after removing the source in front of it crashes the game.
See Game Log. The scenario was : I setted up the switch with arbitrary values, removed the chest in front, and the game crashed when clicking the Threshold Switch after briefly showing the UI, still showing the values.

Bug n°3 : Clipboards do not seam to work with setting up Threshold values.

Game Log

https://mclo.gs/5CJ2Uag

Debug Information

Client Info
Create:
	Mod Version: 6.0.1
	NeoForge Version: 21.1.127
	Minecraft Version: 1.21.1

Graphics:
	Flywheel Version: 1.0.1-11
	Flywheel Backend: flywheel:indirect
	OpenGL Renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
	OpenGL Version: 4.6.0 NVIDIA 566.36
	Graphics Mode: Fancy

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.3, Microsoft
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Memory: 777948288 bytes (741 MiB) / 2013265920 bytes (1920 MiB) up to 2147483648 bytes (2048 MiB)
	Total Memory: 8801767424 bytes (8390 MiB) / 17045413888 bytes (16249 MiB)
	CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz @ 3.31 GHz; 4 cores / 4 threads on 1 socket(s)
	Graphics cards: none

Other Mods:
	Iris: 1.8.8+mc1.21.1
	Forgified Fabric Renderer API (v1): 3.4.0+acb05a3919
	Forgified Fabric API Base: 0.4.42+d1308ded19
	WorldEdit: 7.3.8+6939-7d32b45
	Ponder: 1.0.39
	Just Enough Items: 19.21.0.247
	Forgified Fabric Rendering Data Attachment (v1): 0.3.48+73761d2e19
	Sodium: 0.6.9+mc1.21.1
	Forgified Fabric BlockView API (v2): 1.0.10+9afaaf8c19
Server Info
Create:
	Mod Version: 6.0.1
	NeoForge Version: 21.1.127
	Minecraft Version: 1.21.1

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.3, Microsoft
	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
	Memory: 777948288 bytes (741 MiB) / 2013265920 bytes (1920 MiB) up to 2147483648 bytes (2048 MiB)
	Total Memory: 8801767424 bytes (8390 MiB) / 17045413888 bytes (16249 MiB)
	CPU: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz @ 3.31 GHz; 4 cores / 4 threads on 1 socket(s)
	Graphics cards: none

Other Mods:
	Iris: 1.8.8+mc1.21.1
	Forgified Fabric Renderer API (v1): 3.4.0+acb05a3919
	Forgified Fabric API Base: 0.4.42+d1308ded19
	WorldEdit: 7.3.8+6939-7d32b45
	Ponder: 1.0.39
	Just Enough Items: 19.21.0.247
	Forgified Fabric Rendering Data Attachment (v1): 0.3.48+73761d2e19
	Sodium: 0.6.9+mc1.21.1
	Forgified Fabric BlockView API (v2): 1.0.10+9afaaf8c19

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: confirmedIssue's details are known, it is consistently reproducible, and it needs a fixtype: bugIssue where something isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions