Can't Set Icon [Fabric 1.19]
kaonasi-biwa opened this issue ยท 0 comments
(I'm a Japanese Child,so maybe there are strange English.
Sorry...)
When do Export (type model), "Take Screenshot" is doesn't work.
When I clicked, the console said
(Red)
22:23:55.359
Error processing mouse event
java.lang.ClassCastException: class com.tom.cpm.client.Gui$Impl cannot be cast to class com.tom.cpm.client.Gui (com.tom.cpm.client.Gui$Impl and com.tom.cpm.client.Gui are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @80ec1f8)
at com.tom.cpm.client.Panel3dImpl.takeScreenshot(Panel3dImpl.java:102)
at com.tom.cpm.shared.gui.panel.Panel3d.takeScreenshot(Panel3d.java:118)
at com.tom.cpm.shared.editor.gui.popup.ScreenshotPopup.lambda$new$1(ScreenshotPopup.java:44)
at com.tom.cpl.gui.elements.Button.mouseClick(Button.java:39)
at com.tom.cpl.gui.elements.GuiElement.mouseClick(GuiElement.java:47)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpl.gui.Frame$PopupLayer.mouseClick(Frame.java:226)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpm.client.Gui.method_25402(Gui.java:189)
at net.minecraft.class_312.method_1611(class_312.java:94)
at net.minecraft.class_437.method_25412(class_437.java:491)
at net.minecraft.class_312.method_1601(class_312.java:94)
at net.minecraft.class_312.method_22686(class_312.java:165)
at net.minecraft.class_1255.execute(class_1255.java:103)
at net.minecraft.class_312.method_22684(class_312.java:165)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3474)
at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:222)
at net.minecraft.class_310.method_1523(class_310.java:1174)
at net.minecraft.class_310.method_1514(class_310.java:734)
at net.minecraft.client.main.Main.main(Main.java:237)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
(Yellow)
22:23:55.553
Error processing mouse event
java.lang.ClassCastException: class com.tom.cpm.client.Gui$Impl cannot be cast to class com.tom.cpm.client.Gui (com.tom.cpm.client.Gui$Impl and com.tom.cpm.client.Gui are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @80ec1f8)
at com.tom.cpm.client.Panel3dImpl.takeScreenshot(Panel3dImpl.java:102)
at com.tom.cpm.shared.gui.panel.Panel3d.takeScreenshot(Panel3d.java:118)
at com.tom.cpm.shared.editor.gui.popup.ScreenshotPopup.lambda$new$1(ScreenshotPopup.java:44)
at com.tom.cpl.gui.elements.Button.mouseClick(Button.java:39)
at com.tom.cpl.gui.elements.GuiElement.mouseClick(GuiElement.java:47)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpl.gui.Frame$PopupLayer.mouseClick(Frame.java:226)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpl.gui.elements.Panel.mouseClick(Panel.java:46)
at com.tom.cpm.client.Gui.method_25402(Gui.java:189)
at net.minecraft.class_312.method_1611(class_312.java:94)
at net.minecraft.class_437.method_25412(class_437.java:491)
at net.minecraft.class_312.method_1601(class_312.java:94)
at net.minecraft.class_312.method_22686(class_312.java:165)
at net.minecraft.class_1255.execute(class_1255.java:103)
at net.minecraft.class_312.method_22684(class_312.java:165)
at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43)
at org.lwjgl.system.JNI.invokeV(Native Method)
at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:197)
at net.minecraft.class_1041.method_15998(class_1041.java:310)
at net.minecraft.class_310.method_1523(class_310.java:1171)
at net.minecraft.class_310.method_1514(class_310.java:734)
at net.minecraft.client.main.Main.main(Main.java:237)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)