Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException: FakeBlockAccess cannot be cast to World #939

Open
peter-ahe opened this issue Oct 9, 2022 · 0 comments
Open

ClassCastException: FakeBlockAccess cannot be cast to World #939

peter-ahe opened this issue Oct 9, 2022 · 0 comments

Comments

@peter-ahe
Copy link

In version MC1.16.5-2.0.1-alpha.4 (part of Ragnamod VI 6.1.7).

This happens when I right-click with the iChisel, and the GUI doesn't open. The diamond chisel works fine.

java.lang.ClassCastException: team.chisel.client.gui.GuiHitechChisel$FakeBlockAccess cannot be cast to net.minecraft.world.World
	at ca.spottedleaf.starlight.common.light.StarLightInterface.<init>(StarLightInterface.java:56) ~[?:1.2]
	at net.minecraft.world.lighting.WorldLightManager.handler$zie000$construct(SourceFile:562) ~[?:?]
	at net.minecraft.world.lighting.WorldLightManager.<init>(SourceFile:24) ~[?:?]
	at team.chisel.client.gui.GuiHitechChisel$FakeBlockAccess.<init>(GuiHitechChisel.java:132) ~[?:MC1.16.5-2.0.1-alpha.4]
	at team.chisel.client.gui.GuiHitechChisel.<init>(GuiHitechChisel.java:223) ~[?:MC1.16.5-2.0.1-alpha.4]
	at team.chisel.api.IChiselGuiType$ChiselGuiType.lambda$null$2(IChiselGuiType.java:59) ~[?:MC1.16.5-2.0.1-alpha.4]
	at net.minecraft.client.gui.ScreenManager$IScreenFactory.func_216908_a(ScreenManager.java:115) ~[?:?]
	at net.minecraft.client.gui.ScreenManager.lambda$create$0(ScreenManager.java:43) ~[?:?]
	at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_74]
	at net.minecraft.client.gui.ScreenManager.func_216909_a(ScreenManager.java:43) ~[?:?]
	at net.minecraft.client.network.play.ClientPlayNetHandler.func_217272_a(ClientPlayNetHandler.java:1052) ~[?:?]
	at net.minecraft.network.play.server.SOpenWindowPacket.func_148833_a(SourceFile:42) ~[?:?]
	at net.minecraft.network.play.server.SOpenWindowPacket.func_148833_a(SourceFile:12) ~[?:?]
	at net.minecraft.network.PacketThreadUtil.func_225383_a(SourceFile:21) ~[?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?]
	at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?]
	at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(SourceFile:103) ~[?:?]
	at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:948) ~[?:?]
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) ~[?:?]
	at net.minecraft.client.main.Main.main(Main.java:184) ~[1.16.5.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74]
	at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.16.5-36.2.34.jar:36.2]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.1.3.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.1.3.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.1.3.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.1.3.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.1.3.jar:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant