Skip to content

[Bug] Critical Crash when using survival inventory (GUI) #805

@Aiko-Hashimi

Description

@Aiko-Hashimi

Current Behaviour

In a new world when trying to open the survival inventory with the bind (Y) the game crashes. Tested in a clean instance of Minecraft Fabric 1.20.1.

Expected Behaviour

Opening the survival inventory using the bind (Y) should open the inventory screen (GUI) normally, without crashing the game.

Screenshots

No response

Reproduction Steps

  1. Create a clean MC 1.20.1 instance.
  2. Create a new world in survival mode.
  3. Press the assigned bind (Y) or (Triangle).

Logs

net.minecraft.class_148: Ticking current controller
	at dev.isxander.controlify.utils.ControllerUtils.wrapControllerError(ControllerUtils.java:35) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at dev.isxander.controlify.Controlify.lambda$tick$39(Controlify.java:549) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
	at dev.isxander.controlify.Controlify.tick(Controlify.java:548) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.lambda$static$0(ClientTickEvents.java:34) ~[fabric-lifecycle-events-v1-2.2.23+1802ada577-1839a3f067e5633.jar:?]
	at net.minecraft.class_310.handler$zif000$fabric-lifecycle-events-v1$onStartTick(class_310.java:7517) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1574(class_310.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1181) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:802) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:250) ~[fabric-loader-0.18.4-1.20.1.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514) ~[fabric-loader-0.18.4.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72) ~[fabric-loader-0.18.4.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.18.4.jar:?]
Caused by: java.lang.AbstractMethodError: Receiver class net.minecraft.class_490 does not define or inherit an implementation of the resolved method 'abstract net.minecraft.class_507 getRecipeBookComponent()' of interface dev.isxander.controlify.screenop.compat.vanilla.RecipeBookScreenProcessor$RecipeBookScreenAccessor.
	at dev.isxander.controlify.screenop.compat.vanilla.RecipeBookScreenProcessor.handleScreenVMouse(RecipeBookScreenProcessor.java:45) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at dev.isxander.controlify.screenop.ScreenProcessor.onControllerUpdate(ScreenProcessor.java:59) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at dev.isxander.controlify.Controlify.tickController(Controlify.java:610) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at dev.isxander.controlify.Controlify.lambda$tick$38(Controlify.java:550) ~[controlify-2.1.1+1.20.1-fabric.jar:?]
	at dev.isxander.controlify.utils.ControllerUtils.wrapControllerError(ControllerUtils.java:28) ~[controlify-2.1.1+1.20.1-fabric.jar:?]

Mod Version

2.1.1

Controller

Xbox Series X|S Controller

Bluetooth

  • Yes

Operating System

Windows

ARM

  • Yes

Additional Information

This problem been present in MC 1.20.1 after update 2.1.0.

Just to make sure...

  • I have made sure I am using the latest version of Controlify for the latest version of Minecraft.
  • I have made sure there are no other issues describing the same problem on the issue tracker.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions