chylex / Better-Controls

Minecraft mod that adds many new options & keybindings for sprinting, sneaking, and flying. Supports Fabric & Forge.
https://www.curseforge.com/minecraft/mc-mods/better-controls
Mozilla Public License 2.0
7 stars 4 forks source link

Bedrockify compatibility crash #5

Closed SylisMC closed 3 years ago

SylisMC commented 3 years ago

Got a crash when opening better controls settings (crashes in options and modmenu) Posted on bedrockify Here

---- Minecraft Crash Report ----
// This doesn't make any sense!

Time: 12/4/20 5:33 PM
Description: Rendering screen

java.lang.ClassCastException: net.minecraft.class_2585 cannot be cast to net.minecraft.class_2588
    at net.minecraft.class_350.redirect$zhk000$renderPanorama(class_350.java:621)
    at net.minecraft.class_350.method_25394(class_350.java:179)
    at chylex.bettercontrols.gui.BetterControlsScreen.method_25394(BetterControlsScreen.java:256)
    at net.minecraft.class_757.method_3192(class_757.java:616)
    at net.minecraft.class_310.method_1523(class_310.java:1048)
    at net.minecraft.class_310.method_1514(class_310.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:497)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:224)
    at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:141)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
    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:497)
    at link.infra.jumploader.Jumploader.onLoad(Jumploader.java:171)
    at cpw.mods.modlauncher.TransformationServiceDecorator.onLoad(TransformationServiceDecorator.java:53)
    at cpw.mods.modlauncher.TransformationServicesHandler.lambda$loadTransformationServices$11(TransformationServicesHandler.java:131)
    at cpw.mods.modlauncher.TransformationServicesHandler$$Lambda$58/530737374.accept(Unknown Source)
    at java.util.HashMap$Values.forEach(HashMap.java:972)
    at cpw.mods.modlauncher.TransformationServicesHandler.loadTransformationServices(TransformationServicesHandler.java:131)
    at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:56)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)

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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.class_350.redirect$zhk000$renderPanorama(class_350.java:621)
    at net.minecraft.class_350.method_25394(class_350.java:179)
    at chylex.bettercontrols.gui.BetterControlsScreen.method_25394(BetterControlsScreen.java:256)

-- Screen render details --
Details:
    Screen name: chylex.bettercontrols.gui.BetterControlsScreen
    Mouse location: Scaled: (325, 60). Absolute: (976.000000, 182.000000)
    Screen size: Scaled: (342, 256). Absolute: (1024, 768). Scale factor of 3.000000
Stacktrace:
    at net.minecraft.class_757.method_3192(class_757.java:616)
    at net.minecraft.class_310.method_1523(class_310.java:1048)
    at net.minecraft.class_310.method_1514(class_310.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:497)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:224)
    at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:141)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27)
    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:497)
    at link.infra.jumploader.Jumploader.onLoad(Jumploader.java:171)
    at cpw.mods.modlauncher.TransformationServiceDecorator.onLoad(TransformationServiceDecorator.java:53)
    at cpw.mods.modlauncher.TransformationServicesHandler.lambda$loadTransformationServices$11(TransformationServicesHandler.java:131)
    at cpw.mods.modlauncher.TransformationServicesHandler$$Lambda$58/530737374.accept(Unknown Source)
    at java.util.HashMap$Values.forEach(HashMap.java:972)
    at cpw.mods.modlauncher.TransformationServicesHandler.loadTransformationServices(TransformationServicesHandler.java:131)
    at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:56)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)

-- System Details --
Details:
    Minecraft Version: 1.16.4
    Minecraft Version ID: 1.16.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 2598898568 bytes (2478 MB) / 4509925376 bytes (4301 MB) up to 11453595648 bytes (10923 MB)
    CPUs: 12
    JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx12288m -Xms256m -XX:PermSize=256m
    Fabric Mods: 
        bedrockify: BedrockIfy 0.2.0
        bettercontrols: Better Controls 1.1.0
        cloth-basic-math: Cloth Basic Math 0.5.1
        cloth-config2: Cloth Config v4 4.8.3
        fabric: Fabric API 0.27.1+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.0+6a2618f53a
        fabric-containers-v0: Fabric Containers (v0) 0.1.8+6a2618f53a
        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-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.3+a4467d2a3a
        fabric-item-api-v1: Fabric Item API (v1) 1.2.0+6a2618f53a
        fabric-item-groups-v0: Fabric Item Groups (v0) 0.2.1+6a2618f53a
        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+6a2618f53a
        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.1.1+6a2618f53a
        fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.5+6a2618f53a
        fabric-networking-v0: Fabric Networking (v0) 0.1.10+6a2618f53a
        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.2+6a2618f53a
        fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.1+285766753a
        fabric-renderer-api-v1: Fabric Renderer API (v1) 0.3.3+6a2618f53a
        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.4.0+6a2618f53a
        fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.3.2+1944f3e03a
        fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+6a2618f53a
        fabric-structure-api-v1: Fabric Structure API (v1) 1.1.1+f1d8af063a
        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.10.8
        jumploader: Jumploader 2.1.0
        minecraft: Minecraft 1.16.4
        modmenu: Mod Menu 1.14.13+build.19
    Launched Version: Jumploader
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce GTX 960/PCIe/SSE2 GL version 4.6.0 NVIDIA 457.30, 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/fabric-renderer-api-v1, fabric/fabric-keybindings-v0, fabric/fabricloader, fabric/fabric-containers-v0, fabric/fabric-object-builder-api-v1, fabric/fabric-game-rule-api-v1, fabric/fabric-api-base, fabric/fabric-rendering-data-attachment-v1, fabric/fabric-textures-v0, fabric/fabric-rendering-fluids-v1, fabric/fabric-blockrenderlayer-v1, fabric/fabric-lifecycle-events-v1, fabric/fabric-renderer-registries-v1, fabric/fabric-loot-tables-v1, fabric/fabric, fabric/fabric-networking-v0, fabric/fabric-networking-blockentity-v0, fabric/fabric-screen-handler-api-v1, fabric/modmenu, fabric/fabric-command-api-v1, fabric/fabric-tool-attribute-api-v1, fabric/fabric-renderer-indigo, fabric/fabric-item-api-v1, fabric/fabric-crash-report-info-v1, fabric/fabric-events-interaction-v0, fabric/fabric-rendering-v0, fabric/fabric-rendering-v1, fabric/fabric-key-binding-api-v1, fabric/fabric-resource-loader-v0, fabric/fabric-content-registries-v0, fabric/fabric-tag-extensions-v0, fabric/fabric-biome-api-v1, fabric/fabric-registry-sync-v0, fabric/fabric-mining-levels-v0, fabric/fabric-events-lifecycle-v0, fabric/fabric-item-groups-v0, fabric/fabric-models-v0, fabric/fabric-object-builders-v0
    Current Language: English (US)
    CPU: 12x AMD Ryzen 5 3600X 6-Core Processor
chylex commented 3 years ago

Looks like same error as https://github.com/juancarloscp52/BedrockIfy/issues/33 which already has a fix and workaround before the fix is released.

SylisMC commented 3 years ago

Sweet! thanks for getting being ontop of crashes!