Chisel

Chisel

150M Downloads

ClassCastException: FakeBlockAccess cannot be cast to World

peter-ahe opened this issue ยท 0 comments

commented

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:?]