astavie / bookdisplay Goto Github PK
View Code? Open in Web Editor NEWRead books while moving!
Read books while moving!
Title says it all; not a major bug of course.
Looks like Mantle replaced the book itemstack in the BookScreen class with a Consumer<String>, leading to a NoSuchFieldException when the Mantle wrapper tries to access it.
Trying to display the "Engineer's Manual" from Immersive Engineering crashes the game.
Minecraft: 1.16.5
Forge: 36.1.16
Book Display: 2.0.0
Immersive Engineering: 4.2.4-134
Here's the crash report:
java.lang.NoSuchMethodError: blusunrize.immersiveengineering.api.ManualHelper.getManual()Lblusunrize/lib/manual/ManualInstance;
at astavie.bookdisplay.wrapper.immersiveengineering.IEWrapper.(IEWrapper.java:13) ~[bookdisplay:1.16.5-2.0.0] {re:classloading}
at astavie.bookdisplay.wrapper.immersiveengineering.IEWrapper.lambda$register$1(IEWrapper.java:17) ~[bookdisplay:1.16.5-2.0.0] {re:classloading}
at astavie.bookdisplay.BookDisplay.find(BookDisplay.java:57) ~[bookdisplay:1.16.5-2.0.0] {re:classloading}
at astavie.bookdisplay.EventHandler.mainhand(EventHandler.java:37) ~[bookdisplay:1.16.5-2.0.0] {re:classloading}
at astavie.bookdisplay.EventHandler.enable(EventHandler.java:107) ~[bookdisplay:1.16.5-2.0.0] {re:classloading}
at astavie.bookdisplay.EventHandler.onKey(EventHandler.java:75) ~[bookdisplay:1.16.5-2.0.0] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_90_EventHandler_onKey_KeyInputEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.client.ForgeHooksClient.fireKeyInput(ForgeHooksClient.java:738) ~[forge:?] {re:classloading}
at net.minecraft.client.KeyboardListener.func_197961_a(KeyboardListener.java:356) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.KeyboardListener.func_228003_c_(KeyboardListener.java:391) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.client.KeyboardListener.func_228001_b_(KeyboardListener.java:390) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:37) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:102) ~[?:?] {re:classloading}
at net.minecraft.client.MainWindow.func_227802_e_(MainWindow.java:305) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:996) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(Main.java:184) ~[1.16.5.jar:?] {re:classloading,pl:runtimedistcleaner:A}
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_242] {}
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_242] {}
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242] {}
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.16.5-36.1.16.jar:36.1] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}
I've included a part of the log file, starting with what you actually want to see. I'm assuming this is a direct issue between BookDisplay and Mantle (1.12-1.3.3.39), but if you can't reproduce then I'll go through all the addons I have installed and try to narrow it down.
java.lang.NoSuchMethodError: slimeknights.mantle.client.gui.book.GuiBook.(Lslimeknights/mantle/client/book/data/BookData;Lnet/minecraft/stats/StatisticsManager;Lnet/minecraft/item/ItemStack;)V
at astavie.bookdisplay.wrapper.mantle.GuiMantleBook.(GuiMantleBook.java:44) ~[GuiMantleBook.class:?]
at astavie.bookdisplay.wrapper.mantle.MantleWrapper.(MantleWrapper.java:20) ~[MantleWrapper.class:?]
at astavie.bookdisplay.BookDisplay.find(BookDisplay.java:47) ~[BookDisplay.class:?]
at astavie.bookdisplay.EventHandler.mainhand(EventHandler.java:30) ~[EventHandler.class:?]
at astavie.bookdisplay.EventHandler.onKey(EventHandler.java:60) ~[EventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1532_EventHandler_onKey_KeyInputEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) ~[EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.fireKeyInput(FMLCommonHandler.java:565) ~[FMLCommonHandler.class:?]
at net.minecraft.client.Minecraft.func_184118_az(Minecraft.java:2016) ~[bib.class:?]
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1807) ~[bib.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097) ~[bib.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?]
at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_191]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_191]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.