@VideoGameSmash12 opened this Issue on April 26th 2021

Description

ButtonWidgetMixin's renderBg method causes visual problems when using FancyMenu due to Wurst's texture drawing changes. Commenting the method out fixes the visual problems.

Steps To Reproduce

Please make a list of steps to reproduce the problem (ideally from a fresh Wurst installation):

  1. Install FancyMenu and its required library
  2. Install Wurst
  3. Look at the menu bar at the top

Screenshots / Videos (Optional)

If applicable, add screenshots, videos or other files to help explain the problem.
https://videogamesm12.me/Sdusbcbe8qEB.png

Crash Report

Please find your crash report file at "%appdata%/.minecraft/crash-reports", open the file in a text editor and copy-paste its content below.


---- Minecraft Crash Report ----
// Shall we play a game?

Time: 4/26/21 2:52 PM
Description: Manually triggered debug crash

java.lang.Throwable
    at net.minecraft.client.Keyboard.pollDebugCrash(Keyboard.java:458)
    at net.minecraft.client.MinecraftClient.tick(MinecraftClient.java:1609)
    at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1021)
    at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:681)
    at net.minecraft.client.main.Main.main(Main.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
    at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
    at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.client.Keyboard.pollDebugCrash(Keyboard.java:458)

-- Affected level --
Details:
    All players: 1 total; [ClientPlayerEntity['Player751'/485, l='ClientLevel', x=-142.40, y=69.00, z=-6.27]]
    Chunk stats: Client Chunk Cache: 841, 529
    Level dimension: minecraft:overworld
    Level spawn location: World: (-128,69,-32), Chunk: (at 0,4,0 in -8,-2; contains blocks -128,0,-32 to -113,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
    Level time: 255621 game time, 255621 day time
    Server brand: fabric
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.world.ClientWorld.addDetailsToCrashReport(ClientWorld.java:449)
    at net.minecraft.client.MinecraftClient.addDetailsToCrashReport(MinecraftClient.java:2239)
    at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:699)
    at net.minecraft.client.main.Main.main(Main.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
    at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
    at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)

-- System Details --
Details:
    Minecraft Version: 1.16.5
    Minecraft Version ID: 1.16.5
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_265, Eclipse OpenJ9
    Java VM Version: Eclipse OpenJ9 VM (JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20200728_776 (JIT enabled, AOT enabled)
OpenJ9   - 34cf4c075
OMR      - 113e54219
JCL      - c82ff0c20f based on jdk8u265-b01), Eclipse OpenJ9
    Memory: 233684376 bytes (222 MB) / 857407488 bytes (817 MB) up to 4272095232 bytes (4074 MB)
    CPUs: 16
    JVM Flags: 3 total; -Xoptionsfile=C:\Users\Video\.jdks\adopt-openj9-1.8.0_265\jre\bin\compressedrefs\options.default -Xlockword:mode=default,noLockword=java/lang/String,noLockword=java/util/MapEntry,noLockword=java/util/HashMap$Entry,noLockword=org/apache/harmony/luni/util/ModifiedMap$Entry,noLockword=java/util/Hashtable$Entry,noLockword=java/lang/invoke/MethodType,noLockword=java/lang/invoke/MethodHandle,noLockword=java/lang/invoke/CollectHandle,noLockword=java/lang/invoke/ConstructorHandle,noLockword=java/lang/invoke/ConvertHandle,noLockword=java/lang/invoke/ArgumentConversionHandle,noLockword=java/lang/invoke/AsTypeHandle,noLockword=java/lang/invoke/ExplicitCastHandle,noLockword=java/lang/invoke/FilterReturnHandle,noLockword=java/lang/invoke/DirectHandle,noLockword=java/lang/invoke/ReceiverBoundHandle,noLockword=java/lang/invoke/DynamicInvokerHandle,noLockword=java/lang/invoke/FieldHandle,noLockword=java/lang/invoke/FieldGetterHandle,noLockword=java/lang/invoke/FieldSetterHandle,noLockword=java/lang/invoke/StaticFieldGetterHandle,noLockword=java/lang/invoke/StaticFieldSetterHandle,noLockword=java/lang/invoke/IndirectHandle,noLockword=java/lang/invoke/InterfaceHandle,noLockword=java/lang/invoke/VirtualHandle,noLockword=java/lang/invoke/PrimitiveHandle,noLockword=java/lang/invoke/InvokeExactHandle,noLockword=java/lang/invoke/InvokeGenericHandle,noLockword=java/lang/invoke/VarargsCollectorHandle,noLockword=java/lang/invoke/ThunkTuple -Xjcl:jclse29
    Fabric Mods: 
        fabric: Fabric API 0.29.3+1.16
        fabric-api-base: Fabric API Base 0.2.0+ab87788d3a
        fabric-biome-api-v1: Fabric Biome API (v1) 3.1.0+2e23b97c3a
        fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.4+6a2618f53a
        fabric-command-api-v1: Fabric Command API (v1) 1.0.9+6a2618f53a
        fabric-commands-v0: Fabric Commands (v0) 0.2.1+cbe9176f3a
        fabric-containers-v0: Fabric Containers (v0) 0.1.9+a03e98793a
        fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.0+e77439c73a
        fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.2+b7f9825d3a
        fabric-dimensions-v1: fabric-dimensions-v1 2.0.1+9a6c75813a
        fabric-entity-events-v1: Fabric Entity Events (v1) 1.0.2+8004b36d3a
        fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.1+6a2618f53a
        fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.0+6a2618f53a
        fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.5+cbe9176f3a
        fabric-item-api-v1: Fabric Item API (v1) 1.2.0+6a2618f53a
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.2+cbe9176f3a
        fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.1+730711c63a
        fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.0+6a2618f53a
        fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.0+ffb68a873a
        fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.1+6a2618f53a
        fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.2+6a2618f53a
        fabric-models-v0: Fabric Models (v0) 0.2.0+cbe9176f3a
        fabric-networking-api-v1: Fabric Networking API (v1) 1.0.0+4358fbc63a
        fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.7+a03e98793a
        fabric-networking-v0: Fabric Networking (v0) 0.3.1+2a4333d33a
        fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.2+6a2618f53a
        fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.1+6a2618f53a
        fabric-particles-v1: Fabric Particles (v1) 0.2.3+cbe9176f3a
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.3+be155ae23a
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.0+cbe9176f3a
        fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.3+6a2618f53a
        fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.2.0+6a2618f53a
        fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.4+6a2618f53a
        fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.12+6a2618f53a
        fabric-rendering-v0: Fabric Rendering (v0) 1.1.1+6a2618f53a
        fabric-rendering-v1: Fabric Rendering (v1) 1.5.0+c26373133a
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.1+0d4d7e343a
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+6a2618f53a
        fabric-structure-api-v1: Fabric Structure API (v1) 1.1.3+cbe9176f3a
        fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.0+e77439c73a
        fabric-textures-v0: Fabric Textures (v0) 1.0.5+6a2618f53a
        fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.5+6a2618f53a
        fabricloader: Fabric Loader 0.11.0
        fancymenu: FancyMenu 2.0.5
        java: Eclipse OpenJ9 VM 8
        konkrete: Konkrete 1.1.6
        minecraft: Minecraft 1.16.5
        openj9compat: OpenJ9 compatibility fixes 1.0.1
        wurst: Wurst Client v7.15-MC1.16.5
    Launched Version: Fabric
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce RTX 2060/PCIe/SSE2 GL version 4.6.0 NVIDIA 456.71, NVIDIA Corporation
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fabric'
    Type: Client (map_client.txt)
    Graphics mode: fancy
    Resource Packs: Fabric Mods
    Current Language: English (US)
    CPU: 16x AMD Ryzen 7 2700X Eight-Core Processor