Jump to content

https://bytebin.lucko.me/IEfyFpz3NQ


Recommended Posts

---- Minecraft Crash Report ---- // I let you down. Sorry :( Time: 2023-06-11 17:47:42 Description: mouseClicked event handler java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientLevel.m_7462_()" because "this.f_96541_.f_91073_" is null at net.minecraft.client.gui.screens.PauseScreen.m_96314_(PauseScreen.java:81) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading} at net.minecraft.client.gui.components.Button.m_5691_(Button.java:43) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,re:classloading} at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:computing_frames,re:mixin,re:classloading} at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:522) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:mixin:APP:nerb.mixins.json:ScreenMixin,pl:mixin:APP:clickadv.mixins.json:ScreenMixin,pl:mixin:APP:patchouli_xplat.mixins.json:client.AccessorScreen,pl:mixin:APP:mixins.essential.json:client.gui.GuiScreenAccessor,pl:mixin:APP:mixins.essential.json:client.gui.MixinGuiScreen,pl:mixin:APP:ae2.mixins.json:WrappedGenericStackTooltipModIdMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23144!/:build 7] {} at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23136!/:build 7] {} at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403) ~[lwjgl-glfw-3.3.1.jar%23144!/:build 7] {} at com.mojang.blaze3d.systems.RenderSystem.m_69495_(RenderSystem.java:197) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.essential.json:client.Mixin_SuppressScreenshotBufferFlip,pl:mixin:A} at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:337) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1143) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {re:mixin} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.2.14.jar%23101!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraft.client.gui.screens.PauseScreen.m_96314_(PauseScreen.java:81) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading} at net.minecraft.client.gui.components.Button.m_5691_(Button.java:43) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.client.gui.components.AbstractButton.m_5716_(AbstractButton.java:16) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,re:classloading} at net.minecraft.client.gui.components.AbstractWidget.m_6375_(AbstractWidget.java:110) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.components.events.ContainerEventHandler.m_6375_(ContainerEventHandler.java:27) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:computing_frames,re:mixin,re:classloading} at net.minecraft.client.MouseHandler.m_168084_(MouseHandler.java:88) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:522) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:mixin:APP:nerb.mixins.json:ScreenMixin,pl:mixin:APP:clickadv.mixins.json:ScreenMixin,pl:mixin:APP:patchouli_xplat.mixins.json:client.AccessorScreen,pl:mixin:APP:mixins.essential.json:client.gui.GuiScreenAccessor,pl:mixin:APP:mixins.essential.json:client.gui.MixinGuiScreen,pl:mixin:APP:ae2.mixins.json:WrappedGenericStackTooltipModIdMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23144!/:build 7] {} at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23136!/:build 7] {} at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403) ~[lwjgl-glfw-3.3.1.jar%23144!/:build 7] {} at com.mojang.blaze3d.systems.RenderSystem.m_69495_(RenderSystem.java:197) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.essential.json:client.Mixin_SuppressScreenshotBufferFlip,pl:mixin:A} -- Affected screen -- Details: Screen name: net.minecraft.client.gui.screens.PauseScreen Stacktrace: at net.minecraft.client.gui.screens.Screen.m_96579_(Screen.java:522) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:computing_frames,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:configured:set_background_texture_2,pl:mixin:APP:nerb.mixins.json:ScreenMixin,pl:mixin:APP:clickadv.mixins.json:ScreenMixin,pl:mixin:APP:patchouli_xplat.mixins.json:client.AccessorScreen,pl:mixin:APP:mixins.essential.json:client.gui.GuiScreenAccessor,pl:mixin:APP:mixins.essential.json:client.gui.MixinGuiScreen,pl:mixin:APP:ae2.mixins.json:WrappedGenericStackTooltipModIdMixin,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_91530_(MouseHandler.java:85) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHandler.m_168091_(MouseHandler.java:185) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.util.thread.BlockableEventLoop.execute(BlockableEventLoop.java:103) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B} at net.minecraft.client.MouseHandler.m_91565_(MouseHandler.java:184) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent_Priority,pl:mixin:APP:mixins.essential.json:client.MouseHelperAccessor,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiClickEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseDraggedEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_GuiMouseReleaseEvent,pl:mixin:APP:mixins.essential.json:events.Mixin_MouseScrollEvent,pl:mixin:APP:mixins.essential.json:feature.chat.Mixin_ChatPeekScrolling,pl:mixin:A,pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:43) ~[lwjgl-glfw-3.3.1.jar%23144!/:build 7] {} at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.3.1.jar%23136!/:build 7] {} at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403) ~[lwjgl-glfw-3.3.1.jar%23144!/:build 7] {} at com.mojang.blaze3d.systems.RenderSystem.m_69495_(RenderSystem.java:197) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.essential.json:client.Mixin_SuppressScreenshotBufferFlip,pl:mixin:A} at com.mojang.blaze3d.platform.Window.m_85435_(Window.java:337) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1143) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {re:mixin} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.2.14.jar%23101!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- Last reload -- Details: Reload number: 1 Reload reason: initial Finished: Yes Packs: Default, Mod Resources, Better leaves bush 1.19.zip, Round-Trees-7.0-1.19+.zip, round-moonv9.zip, round-sun-v9.zip, Essential (forge_1.19.2).jar Stacktrace: at net.minecraft.client.ResourceLoadStateTracker.m_168562_(ResourceLoadStateTracker.java:49) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading} at net.minecraft.client.Minecraft.m_91354_(Minecraft.java:2287) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:717) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.m_239872_(Main.java:212) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:51) ~[client-1.19.2-20220805.130853-srg.jar%23409!/:?] {re:classloading,re:mixin,pl:runtimedistcleaner:A,pl:mixin:A,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {re:mixin} at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27) ~[fmlloader-1.19.2-43.2.14.jar%23101!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2388!/:?] {} at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {} -- System Details -- Details: Minecraft Version: 1.19.2 Minecraft Version ID: 1.19.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 1051150464 bytes (1002 MiB) / 3894411264 bytes (3714 MiB) up to 4294967296 bytes (4096 MiB) CPUs: 8 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Identifier: Intel64 Family 6 Model 158 Stepping 9 Microarchitecture: Kaby Lake Frequency (GHz): 4.20 Number of physical packages: 1 Number of physical CPUs: 4 Number of logical CPUs: 8 Graphics card #0 name: Intel(R) HD Graphics 630 Graphics card #0 vendor: Intel Corporation (0x8086) Graphics card #0 VRAM (MB): 1024.00 Graphics card #0 deviceId: 0x5912 Graphics card #0 versionInfo: DriverVersion=31.0.101.2111 Graphics card #1 name: NVIDIA GeForce GTX 1080 Graphics card #1 vendor: NVIDIA (0x10de) Graphics card #1 VRAM (MB): 4095.00 Graphics card #1 deviceId: 0x1b80 Graphics card #1 versionInfo: DriverVersion=31.0.15.3179 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 2.40 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 2.40 Memory slot #1 type: DDR4 Virtual memory max (MB): 22138.64 Virtual memory used (MB): 15866.69 Swap memory total (MB): 5888.00 Swap memory used (MB): 440.55 JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m Launched Version: forge-43.2.14 Backend library: LWJGL version 3.3.1 build 7 Backend API: NVIDIA GeForce GTX 1080/PCIe/SSE2 GL version 3.2.0 NVIDIA 531.79, NVIDIA Corporation Window size: 1920x1080 GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'forge' Type: Client (map_client.txt) Graphics mode: fancy Resource Packs: vanilla, mod_resources, file/Better leaves bush 1.19.zip, file/Round-Trees-7.0-1.19+.zip, file/round-moonv9.zip, file/round-sun-v9.zip Current Language: English (US) CPU: 8x Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Client Crashes Since Restart: 1 Integrated Server Crashes Since Restart: 0 ModLauncher: 10.0.8+10.0.8+main.0ef7e830 ModLauncher launch target: forgeclient ModLauncher naming: srg ModLauncher services: mixin-0.8.5.jar mixin PLUGINSERVICE eventbus-6.0.3.jar eventbus PLUGINSERVICE fmlloader-1.19.2-43.2.14.jar slf4jfixer PLUGINSERVICE fmlloader-1.19.2-43.2.14.jar object_holder_definalize PLUGINSERVICE fmlloader-1.19.2-43.2.14.jar runtime_enum_extender PLUGINSERVICE fmlloader-1.19.2-43.2.14.jar capability_token_subclass PLUGINSERVICE accesstransformers-8.0.4.jar accesstransformer PLUGINSERVICE fmlloader-1.19.2-43.2.14.jar runtimedistcleaner PLUGINSERVICE modlauncher-10.0.8.jar jcplugin TRANSFORMATIONSERVICE modlauncher-10.0.8.jar mixin TRANSFORMATIONSERVICE modlauncher-10.0.8.jar essential-loader TRANSFORMATIONSERVICE modlauncher-10.0.8.jar fml TRANSFORMATIONSERVICE FML Language Providers: minecraft@1.0 javafml@null kotlinforforge@3.12.0 lowcodefml@null Mod List: saturn-mc1.19.2-0.0.4.jar |Saturn |saturn |0.0.4 |DONE |Manifest: NOSIGNATURE CyclopsCore-1.19.2-1.18.6.jar |Cyclops Core |cyclopscore |1.18.6 |DONE |Manifest: NOSIGNATURE adaptive_performance_tweaks_core_1.19.2-6.9.1.jar |APTweaks: Core |adaptive_performance_tweaks_co|6.9.1 |DONE |Manifest: NOSIGNATURE notenoughcrashes-4.2.1+1.19.2-forge.jar |Not Enough Crashes |notenoughcrashes |4.2.1+1.19.2 |DONE |Manifest: NOSIGNATURE Mekanism-MoreSolarPanels-1.19.2-1.5.jar |More Solar Panels |solarpanels |1.19.2-1.5 |DONE |Manifest: NOSIGNATURE supermartijn642configlib-1.1.6b-forge-mc1.19.jar |SuperMartijn642's Config Libra|supermartijn642configlib |1.1.6b |DONE |Manifest: NOSIGNATURE emcbaubles-1.2.jar |EMC Baubles |emcbaubles |1.0.0 |DONE |Manifest: NOSIGNATURE netherwart-1.19.2-6-forge.jar |Nether Wart Blocks to Nether W|netherwart |1.19.2-6-forge |DONE |Manifest: NOSIGNATURE paragon-forge-3.0.2-1.19x.jar |Paragon |paragon |3.0.2 |DONE |Manifest: NOSIGNATURE nerb-1.19.2-0.2.jar |NotEnoughRecipeBook |nerb |1.19.2-0.2 |DONE |Manifest: NOSIGNATURE HammerLib-1.19.2-19.3.57.jar |HammerLib |hammerlib |19.3.57 |DONE |Manifest: 97:e8:52:e9:b3:f0:1b:83:57:4e:83:15:f7:e7:76:51:c6:60:5f:2b:45:59:19:a7:31:9e:98:69:56:4f:01:3c Entity_Collision_FPS_Fix-forge-1.19-2.0.0.0.jar |Entity Collision FPS Fix |entitycollisionfpsfix |2.0.0.0 |DONE |Manifest: NOSIGNATURE connectivity-1.19.2-4.2.jar |Connectivity Mod |connectivity |1.19.2-4.2 |DONE |Manifest: NOSIGNATURE ProjectE-1.19.2-PE1.0.1B.jar |ProjectE |projecte |1.0.1B |DONE |Manifest: NOSIGNATURE Many Advancements-1.19.2-1.5.jar |Many Advancements |more_advancements |1.0.0 |DONE |Manifest: NOSIGNATURE dynamiclights-1.19.2.1.jar |Dynamic Lights |dynamiclights |1.19.2.1 |DONE |Manifest: NOSIGNATURE DenseTrees-1.19.2-2.1.0.jar |Dense Trees |densetrees |2.1.0 |DONE |Manifest: NOSIGNATURE structureessentials-1.19.2-2.8.jar |Structure Essentials mod |structureessentials |1.19.2-2.8 |DONE |Manifest: NOSIGNATURE noenchantcap-forge-1.19.2-2.2.4.jar |No Enchant Cap |noenchantcap |2.2.4 |DONE |Manifest: NOSIGNATURE lootintegrations-1.19-3.0.jar |Lootintegrations mod |lootintegrations |1.19-3.0 |DONE |Manifest: NOSIGNATURE flightcommand-1.19-1.5.jar |Flight Command |flightcommand |1.19-1.5 |DONE |Manifest: NOSIGNATURE fissionrecipe-3.0.1-1.19.2.jar |Mekanism Fission Recipe |fissionrecipe |3.0.1 |DONE |Manifest: NOSIGNATURE does_potato_tick-1.19.2-3.4.2.jar |Does Potato Tick |does_potato_tick |1.19.2-3.4.2 |DONE |Manifest: NOSIGNATURE MaxHealthFix-Forge-1.19.2-8.0.1.jar |MaxHealthFix |maxhealthfix |8.0.1 |DONE |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5 adaptive_performance_tweaks_gamerules_1.19.2-6.8.0|APTweaks: Gamerules |adaptive_performance_tweaks_ga|6.8.0 |DONE |Manifest: NOSIGNATURE jeed-1.19.2-2.1.3.jar |Just Enough Painting Previews |jeed |1.19.2-2.1.3 |DONE |Manifest: NOSIGNATURE clickadv-1.19.2-3.0.jar |clickadv mod |clickadv |1.19.2-3.0 |DONE |Manifest: NOSIGNATURE quarry-1.19.2-1.6.4r.jar |Quarry |quarry |1.6.4r |DONE |Manifest: NOSIGNATURE dynview-1.19.1-2.9.jar |Dynamic view distance |dynview |2.3 |DONE |Manifest: NOSIGNATURE JustEnoughResources-1.19.2-1.2.2.200.jar |Just Enough Resources |jeresources |1.2.2.200 |DONE |Manifest: NOSIGNATURE cloth-config-8.2.88-forge.jar |Cloth Config v8 API |cloth_config |8.2.88 |DONE |Manifest: NOSIGNATURE anviltooltipmod-MC1.19.2-1.0.0.jar |Anvil Tooltip Mod |anviltooltipmod |1.0.0 |DONE |Manifest: NOSIGNATURE durabilitytooltip-1.1.4-forge-mc1.19.jar |Durability Tooltip |durabilitytooltip |1.1.4 |DONE |Manifest: NOSIGNATURE densemekanism-1.19.2-1.0.0.jar |Dense Mekanism |densemekanism |1.0.0 |DONE |Manifest: NOSIGNATURE ItShallNotTick-1.0.11-build.35.jar |It Shall Not Tick |itshallnottick |1.0.11-build.35 |DONE |Manifest: NOSIGNATURE CommonCapabilities-1.19.2-2.9.0.jar |CommonCapabilities |commoncapabilities |2.9.0 |DONE |Manifest: NOSIGNATURE emc-interface-1.19.2-1.0.1.jar |EMC Interface |emc_interface |1.0.1 |DONE |Manifest: NOSIGNATURE jepp-1.19.2-1.1.0.jar |Just Enough Painting Previews |jepp |1.19.2-1.1.0 |DONE |Manifest: NOSIGNATURE supermartijn642corelib-1.1.9a-forge-mc1.19.2.jar |SuperMartijn642's Core Lib |supermartijn642corelib |1.1.9a |DONE |Manifest: NOSIGNATURE Botania-1.19.2-440-FORGE.jar |Botania |botania |1.19.2-440-FORGE |DONE |Manifest: NOSIGNATURE BotanicAdditions-1.19.2-19.3.5.jar |Botanic Additions |botanicadds |19.3.5 |DONE |Manifest: 97:e8:52:e9:b3:f0:1b:83:57:4e:83:15:f7:e7:76:51:c6:60:5f:2b:45:59:19:a7:31:9e:98:69:56:4f:01:3c spark-1.10.37-forge.jar |spark |spark |1.10.37 |DONE |Manifest: NOSIGNATURE leaky-1.19.2-1.3.jar |leaky mod |leaky |1.19.2-1.3 |DONE |Manifest: NOSIGNATURE memorysettings-1.19.2-4.5.jar |memorysettings mod |memorysettings |1.19.2-4.5 |DONE |Manifest: NOSIGNATURE lightspeed-1.19.2-1.0.4.jar |Lightspeed |lightspeed |1.19.2-1.0.4 |DONE |Manifest: NOSIGNATURE curios-forge-1.19.2-5.1.4.1.jar |Curios API |curios |1.19.2-5.1.4.1 |DONE |Manifest: NOSIGNATURE Patchouli-1.19.2-77.jar |Patchouli |patchouli |1.19.2-77 |DONE |Manifest: NOSIGNATURE armorpointspp-forge-1.19.2-3.1.0.jar |ArmorPoints++ |armorpointspp |1.19.2-3.1.0 |DONE |Manifest: NOSIGNATURE collective-1.19.2-6.57.jar |Collective |collective |6.57 |DONE |Manifest: NOSIGNATURE EquivalentAdditions-1.19.2-19.1.2.jar |Equivalent Additions |equivadds |19.1.2 |DONE |Manifest: 97:e8:52:e9:b3:f0:1b:83:57:4e:83:15:f7:e7:76:51:c6:60:5f:2b:45:59:19:a7:31:9e:98:69:56:4f:01:3c MekanismRottenFlesh-1.19.2.jar |MekanismRottenFleshAddon |mekanismrottenfleshaddon |1.0.0 |DONE |Manifest: NOSIGNATURE antique_pickaxe_V0.9.1.jar |antique_pickaxe |antique_pickaxe |0.9.1 |DONE |Manifest: NOSIGNATURE TA-0.9.5-1.19.2.jar |TheAbyss |theabyss |3.0.0 |DONE |Manifest: NOSIGNATURE deeperdarker-forge-1.1.6-forge.jar |Deeper and Darker |deeperdarker |1.1.6 |DONE |Manifest: NOSIGNATURE architectury-6.5.85-forge.jar |Architectury |architectury |6.5.85 |DONE |Manifest: NOSIGNATURE attributetooltipfix-forge-1.19.2-1.0.0.jar |Attribute-Tooltip-Fix |attributetooltipfix |1.0.0 |DONE |Manifest: NOSIGNATURE AnvilNeverTooExpensive-1.19-1.1.jar |Anvil Never Too Expensive |ante |1.1 |DONE |Manifest: NOSIGNATURE adaptive_performance_tweaks_items_1.19.2-6.8.0.jar|APTweaks: Items |adaptive_performance_tweaks_it|6.8.0 |DONE |Manifest: NOSIGNATURE HigherWorldDeeperOceans-1.19.x.jar |Higher World Deeper Oceans |higherworlddeeperocean |0.0.2 |DONE |Manifest: NOSIGNATURE letmedespawn-1.18.x-1.19.x-forge-1.0.3.jar |Let Me Despawn |letmedespawn |0.0NONE |DONE |Manifest: NOSIGNATURE CodeChickenLib-1.19.2-4.3.1.481-universal.jar |CodeChicken Lib |codechickenlib |4.3.1.481 |DONE |Manifest: 31:e6:db:63:47:4a:6e:e0:0a:2c:11:d1:76:db:4e:82:ff:56:2d:29:93:d2:e5:02:bd:d3:bd:9d:27:47:a5:71 better_silicon-1.19.2-1.1.3.jar |Better Silicon |better_silicon |1.19.2-1.1.3 |DONE |Manifest: NOSIGNATURE geckolib-forge-1.19-3.1.40.jar |GeckoLib |geckolib3 |3.1.40 |DONE |Manifest: NOSIGNATURE PacketSizeDoublerForge-1.0.8-1.19.x.jar |PacketSizeDoublerForge |packetsizedoublerforge |1.0.8-1.19.x |DONE |Manifest: NOSIGNATURE Essential (forge_1.19.2).jar |Essential |essential |12804+deploy-staging|DONE |Manifest: NOSIGNATURE BetterAdvancements-1.19.2-0.2.2.142.jar |Better Advancements |betteradvancements |0.2.2.142 |DONE |Manifest: NOSIGNATURE puffish_skills-0.4.0-1.19.2-forge.jar |Pufferfish's Skills |puffish_skills |0.4.0 |DONE |Manifest: NOSIGNATURE adaptive_performance_tweaks_spawn_1.19.2-6.9.0.jar|APTweaks: Spawn |adaptive_performance_tweaks_sp|6.9.0 |DONE |Manifest: NOSIGNATURE JustEnoughAdvancements-1.19-4.0.2.jar |Just Enough Advancements |jea |1.19-4.0.2 |DONE |Manifest: NOSIGNATURE jmi-forge-1.19.2-0.13-33.jar |JourneyMap Integration |jmi |0.13-33 |DONE |Manifest: NOSIGNATURE limitedchunks-1.19.2-2.4.jar |Limited Chunkloading |limitedchunks |1.8 |DONE |Manifest: NOSIGNATURE treeharvester-1.19.2-8.1.jar |Tree Harvester |treeharvester |8.1 |DONE |Manifest: NOSIGNATURE mekanismtweaks-1.1.jar |MekanismTweaks |mekanismtweaks |1.1 |DONE |Manifest: NOSIGNATURE jei-1.19.2-forge-11.6.0.1015.jar |Just Enough Items |jei |11.6.0.1015 |DONE |Manifest: NOSIGNATURE appliedenergistics2-forge-12.9.5.jar |Applied Energistics 2 |ae2 |12.9.5 |DONE |Manifest: NOSIGNATURE AEInfinityBooster-1.19.2-1.2.0+11.jar |AEInfinityBooster |aeinfinitybooster |1.19.2-1.2.0+11 |DONE |Manifest: NOSIGNATURE JER-Integration-4.4.0.jar |JER Integration |jerintegration |4.4.0 |DONE |Manifest: NOSIGNATURE AE2WTLib-12.9.5.jar |AE2WTLib |ae2wtlib |12.9.5 |DONE |Manifest: NOSIGNATURE AttributeFix-Forge-1.19.2-17.2.6.jar |AttributeFix |attributefix |17.2.6 |DONE |Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5 Mekanism-1.19.2-10.3.8.477.jar |Mekanism |mekanism |10.3.8 |DONE |Manifest: NOSIGNATURE GravitationalModulatingAdditionalUnit-1.19.2-2.8.j|Gravitational Modulating Addit|gravitationalmodulatingunittwe|1.19.2-2.8 |DONE |Manifest: NOSIGNATURE MekanismGenerators-1.19.2-10.3.8.477.jar |Mekanism: Generators |mekanismgenerators |10.3.8 |DONE |Manifest: NOSIGNATURE MekanismAdditions-1.19.2-10.3.8.477.jar |Mekanism: Additions |mekanismadditions |10.3.8 |DONE |Manifest: NOSIGNATURE MekanismTools-1.19.2-10.3.8.477.jar |Mekanism: Tools |mekanismtools |10.3.8 |DONE |Manifest: NOSIGNATURE MoreMekanismProcessing-1.19.2-3.0.jar |More Mekanism Processing |moremekanismprocessing |3.0 |DONE |Manifest: NOSIGNATURE stonesmelting-1.19.2-0-forge.jar |StoneSmelting |stonesmelting |1.19.2-0-forge |DONE |Manifest: NOSIGNATURE Mekanism-Evolution-1.19.2-1.3.3.jar |Mekanism: Evolution |mekaevolution |1.19.2-1.3.3 |DONE |Manifest: NOSIGNATURE ExpandedEquivalence-1.19.2-19.1.2.jar |Expanded Equivalence |expequiv |19.1.2 |DONE |Manifest: 97:e8:52:e9:b3:f0:1b:83:57:4e:83:15:f7:e7:76:51:c6:60:5f:2b:45:59:19:a7:31:9e:98:69:56:4f:01:3c Clumps-forge-1.19.2-9.0.0+14.jar |Clumps |clumps |9.0.0+14 |DONE |Manifest: NOSIGNATURE shutupexperimentalsettings-1.0.5.jar |Shutup Experimental Settings! |shutupexperimentalsettings |1.0.5 |DONE |Manifest: NOSIGNATURE journeymap-1.19.2-5.9.7-forge.jar |Journeymap |journeymap |5.9.7 |DONE |Manifest: NOSIGNATURE configured-2.1.1-1.19.2.jar |Configured |configured |2.1.1 |DONE |Manifest: NOSIGNATURE LibX-1.19.2-4.2.8.jar |LibX |libx |1.19.2-4.2.8 |DONE |Manifest: NOSIGNATURE DefaultSettings-1.19.2-4.0.5-Forge.jar |DefaultSettings |defaultsettings |4.0.5 |DONE |Manifest: NOSIGNATURE anvilrestoration-1.19.2-2.0.jar |Anvil Restoration |anvilrestoration |2.0 |DONE |Manifest: NOSIGNATURE projecte-integration-1.19.2-6.2.0.jar |ProjectE Integration |projecteintegration |6.2.0 |DONE |Manifest: NOSIGNATURE farsight-1.19.2-2.1.jar |Farsight mod |farsight_view |1.19.2-2.1 |DONE |Manifest: NOSIGNATURE BetterFusionReactor-1.19.2-1.3.2.jar |Better Fusion Reactor for Meka|bfr |1.3.2 |DONE |Manifest: NOSIGNATURE memoryleakfix-forge-1.17+-1.0.0.jar |Memory Leak Fix |memoryleakfix |1.0.0 |DONE |Manifest: NOSIGNATURE forge-1.19.2-43.2.14-universal.jar |Forge |forge |43.2.14 |DONE |Manifest: 84:ce:76:e8:45:35:e4:0e:63:86:df:47:59:80:0f:67:6c:c1:5f:6e:5f:4d:b3:54:47:1a:9f:7f:ed:5e:f2:90 adaptive_performance_tweaks_player_1.19.2-6.8.0.ja|APTweaks: Player |adaptive_performance_tweaks_pl|6.8.0 |DONE |Manifest: NOSIGNATURE AxesAreWeapons-1.6.5-forge-1.19.2.jar |Axes Are Weapons |axesareweapons |1.6.5 |DONE |Manifest: NOSIGNATURE client-1.19.2-20220805.130853-srg.jar |Minecraft |minecraft |1.19.2 |DONE |Manifest: a1:d4:5e:04:4f:d3:d6:e0:7b:37:97:cf:77:b0:de:ad:4a:47:ce:8c:96:49:5f:0a:cf:8c:ae:b2:6d:4b:8a:3f MobPC-1.19-1.0.0.jar |Mob Population Control |mobpc |1.0.0 |DONE |Manifest: NOSIGNATURE AE2-Things-1.1.1.jar |AE2 Things |ae2things |1.1.1 |DONE |Manifest: NOSIGNATURE SmetableBlocks_v1_1.19.jar |SmeltableBlocks |smeltableblocks |1.0.0 |DONE |Manifest: NOSIGNATURE spectrelib-forge-0.11.0+1.19.jar |SpectreLib |spectrelib |0.11.0+1.19 |DONE |Manifest: NOSIGNATURE smoothboot(reloaded)-mc1.19.2-0.0.2.jar |Smooth Boot (Reloaded) |smoothboot |0.0.2 |DONE |Manifest: NOSIGNATURE ChickenChunks-1.19.2-2.9.4.97-universal.jar |ChickenChunks |chickenchunks |2.9.4.97 |DONE |Manifest: 31:e6:db:63:47:4a:6e:e0:0a:2c:11:d1:76:db:4e:82:ff:56:2d:29:93:d2:e5:02:bd:d3:bd:9d:27:47:a5:71 betterfpsdist-1.19.2-1.8.jar |betterfpsdist mod |betterfpsdist |1.19.2-1.8 |DONE |Manifest: NOSIGNATURE kffmod-3.12.0.jar |Kotlin For Forge |kotlinforforge |3.12.0 |DONE |Manifest: NOSIGNATURE jeidescs-1.1.0.jar |Just Enough Item Descriptions |jeidescs |1.1.0 |DONE |Manifest: NOSIGNATURE screenscale-1.19.2-2.4.jar |screenscale mod |screenscale |1.19.2-2.4 |DONE |Manifest: NOSIGNATURE polymorph-forge-0.46.1+1.19.2.jar |Polymorph |polymorph |0.46.1+1.19.2 |DONE |Manifest: NOSIGNATURE JustEnoughProfessions-forge-1.19.2-2.0.2.jar |Just Enough Professions (JEP) |justenoughprofessions |2.0.2 |DONE |Manifest: NOSIGNATURE adaptive_performance_tweaks_1.19.2-6.8.0.jar |APTweaks (Bundle) |adaptive_performance_tweaks |6.8.0 |DONE |Manifest: NOSIGNATURE smeltingsand-1.19.2-11-forge.jar |SmeltingSand |smeltingsand |1.19.2-11-forge |DONE |Manifest: NOSIGNATURE entityculling-forge-1.6.1-mc1.19.2.jar |EntityCulling |entityculling |1.6.1 |DONE |Manifest: NOSIGNATURE Applied-Botanics-1.4.2.jar |Applied Botanics |appbot |1.4.2 |DONE |Manifest: NOSIGNATURE jess-1.19.2-forge-1.0.0.jar |Just Enough Sculk Sensor |justenoughsculksensor |1.0.0 |DONE |Manifest: NOSIGNATURE denseores-1.19.2-1.2.1.jar |Dense Ores |denseores |1.2.1 |DONE |Manifest: NOSIGNATURE asynclocator-1.19.2-1.2.0.jar |Async Locator |asynclocator |1.19.2-1.2.0 |DONE |Manifest: NOSIGNATURE Infinite_Compatibility-Release-1.0.0.jar |Infinite Compatibility |infco |1.0.0 |DONE |Manifest: NOSIGNATURE Applied-Mekanistics-1.3.4.jar |Applied Mekanistics |appmek |1.3.4 |DONE |Manifest: NOSIGNATURE AEAdditions-1.19.2-4.0.3.jar |AE Additions |ae2additions |4.0.3 |DONE |Manifest: NOSIGNATURE megacells-forge-1.5.3-1.19.2.jar |MEGA Cells |megacells |1.5.3-1.19.2 |DONE |Manifest: NOSIGNATURE convenientcurioscontainer-1.12-1.19.2.jar |Convenient Curios Container |convenientcurioscontainer |12_forge-1.19.2 |DONE |Manifest: NOSIGNATURE chunksending-forge-1.19-2.5.jar |chunksending mod |chunksending |1.19-2.5 |DONE |Manifest: NOSIGNATURE ArmorUnlocked-1.19-1.0.2.jar |Armor Unlocked |armorunlocked |1.0.2 |DONE |Manifest: NOSIGNATURE Crash Report UUID: 97a7d1e5-8c82-4ed0-8f6e-36050a327ae4 FML: 43.2 Forge: net.minecraftforge:43.2.14 Suspected Mods: None

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • idk how to reply here but no im not coding any mod, all of them are downloaded but its only gfs computer, on mine its ok and i was looking all around the internet and never seen anything similiar atleast  
    • I changed it to public static void but I can't find anyway to get level from the event even if it isn't a listener parameter. @JimiIT92
    • I didn't yet see this happening on 1.20.2 forge, but sadly, I noticed that my mod is incompatible with this version because of this event handler: @SubscribeEvent public static void onPlayerRightClickItem(PlayerInteractEvent.RightClickItem e) { if (e.getItemStack().getItem() instanceof EggItem) { List<ThrownEgg> eggs = e.getLevel().getEntitiesOfClass(ThrownEgg.class, new AABB(e.getEntity().blockPosition().immutable() .below(5) .north(5) .west(5), e.getEntity().blockPosition().immutable() .above(10) .south(5) .east(5))); if (!eggs.isEmpty()) { eggs.forEach(ThrownEgg::discard); if (!e.getEntity().getAbilities().instabuild) e.getItemStack().grow(1); } if (!e.getEntity().level().isClientSide) { ((ServerPlayer) e.getEntity()).connection.send( new ClientboundStopSoundPacket(SoundEvents.EGG_THROW.getLocation(), SoundSource.PLAYERS)); // Minecraft Forge 1.20.2 crashes because of NoSuchMethodError here } e.setCancellationResult(InteractionResult.SUCCESS); e.setCanceled(true); } }  
    • It might just be a misleading log, if you run the command while debugging what's the outcome?  I've tried checking the item inside the RightClickBlock event and it works just fine private static final Ingredient FOOD_ITEMS = Ingredient.of(Items.WHEAT_SEEDS, Items.MELON_SEEDS, Items.PUMPKIN_SEEDS, Items.BEETROOT_SEEDS, Items.TORCHFLOWER_SEEDS, Items.PITCHER_POD); @SubscribeEvent public static void onRightClickBlock(final PlayerInteractEvent.RightClickBlock event) { final ItemStack itemStack = event.getItemStack(); LOGGER.info(FOOD_ITEMS.test(itemStack) + ""); } When I right click a block with an Item it checks if is one of the ingredients of FOOD_ITEMS. Clicking with an empty hand (air) logs false, as expected. Tip: please use the "spoiler" tags for long code snippets and don't merge all your classes into one code snippet EDIT: just noticed you are on 1.20.1. Maybe is just a bug with the Forge version? Try update to the latest Forge 1.20.2 and see if it still occurs
    • I created a temp command with this syntax: /isfood <entity to check> <player to check the item in main hand or off hand> It outputs either string respiration of an ItemStack (<count of items> <item name>) that player holds in his hand if it's a food item for specified entity, or "none" if specified player isn't holding an item which is a food item for the specified entity. Command's code if you didn't understand: event.getDispatcher().register(Commands.literal("isfood").then(Commands.argument("animal", EntityArgument.entity()) .then(Commands.argument("player", EntityArgument.player()).executes(context -> { Entity entity = EntityArgument.getEntity(context, "animal"); Player player = EntityArgument.getPlayer(context, "player"); if (entity instanceof Animal mob) { if (mob.isFood(player.getItemInHand(InteractionHand.MAIN_HAND))) context.getSource().sendSuccess(() -> Component.literal(String.valueOf( player.getItemInHand(InteractionHand.MAIN_HAND))), true); else if (mob.isFood(player.getItemInHand(InteractionHand.OFF_HAND))) context.getSource().sendSuccess(() -> Component.literal(String.valueOf( player.getItemInHand(InteractionHand.OFF_HAND) )), true); else context.getSource().sendSuccess(() -> Component.literal("none"), true); } return 1; })))); So, I tested it on my entity, and command output was: 0 air (also want to say that it happens only if I play Minecraft for a long time) Anyways, the entity code: package mymod.entities.chicken; import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerLevel; import net.minecraft.sounds.SoundEvent; import net.minecraft.sounds.SoundEvents; import net.minecraft.util.Mth; import net.minecraft.util.RandomSource; import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.entity.*; import net.minecraft.world.entity.animal.Animal; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.item.crafting.Ingredient; import net.minecraft.world.level.Level; import net.minecraft.world.level.LevelAccessor; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.pathfinder.BlockPathTypes; import net.minecraft.world.phys.Vec3; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import mymod._Entities; public abstract class AbstractChicken extends Animal implements IAbstractChicken { protected static final Ingredient FOOD_ITEMS = Ingredient.of(Items.WHEAT_SEEDS, Items.MELON_SEEDS, Items.PUMPKIN_SEEDS, Items.BEETROOT_SEEDS, Items.TORCHFLOWER_SEEDS, Items.PITCHER_POD); public float flap; public float flapSpeed; public float oFlapSpeed; public float oFlap; public float flapping = 1.0F; protected float nextFlap = 1.0F; protected AbstractChicken(EntityType<? extends AbstractChicken> entityType, Level world) { super(entityType, world); setPathfindingMalus(BlockPathTypes.WATER, 0.0F); } protected SoundEvent getAmbientSound() { return SoundEvents.CHICKEN_AMBIENT; } protected SoundEvent getHurtSound(@NotNull DamageSource damageSource) { return SoundEvents.CHICKEN_HURT; } protected SoundEvent getDeathSound() { return SoundEvents.CHICKEN_DEATH; } @Override protected void playStepSound(@NotNull BlockPos atPos, @NotNull BlockState atState) { playSound(SoundEvents.CHICKEN_STEP, .15f, 1); } @Nullable @Override public AgeableMob getBreedOffspring(@NotNull ServerLevel level, @NotNull AgeableMob mobBredWith) { return null; } @Override protected abstract void registerGoals(); @Override public abstract boolean isBaby(); @Override public abstract boolean canMate(@NotNull Animal other); @Override public final void aiStep() { super.aiStep(); this.oFlap = flap; this.oFlapSpeed = flapSpeed; this.flapSpeed += (this.onGround() ? -1.0F : 4.0F) * 0.3F; this.flapSpeed = Mth.clamp(this.flapSpeed, 0.0F, 1.0F); if (!this.onGround() && this.flapping < 1.0F) { this.flapping = 1.0F; } this.flapping *= 0.9F; Vec3 vec3 = this.getDeltaMovement(); if (!this.onGround() && vec3.y < 0.0D) { this.setDeltaMovement(vec3.multiply(1.0D, 0.6D, 1.0D)); } this.flap += this.flapping * 2.0F; doAIStep(); } protected abstract void doAIStep(); @Override protected float getStandingEyeHeight(@NotNull Pose pose, @NotNull EntityDimensions dimensions) { return this.isBaby() ? dimensions.height * 0.85F : dimensions.height * 0.92F; } @Override public abstract void setBaby(boolean baby); @Override @Nullable public <T extends Mob> T convertTo(@NotNull EntityType<T> toType, boolean copyInventory) { if (isRemoved()) { return null; } else { T t = toType.create(level()); if (t == null) { return null; } else { t.copyPosition(this); t.setNoAi(isNoAi()); if (!(toType == EntityType.CHICKEN || toType == _Entities.ROOSTER.get() || toType == _Entities.CHICK.get())) t.setBaby(isBaby()); if (hasCustomName()) { t.setCustomName(getCustomName()); t.setCustomNameVisible(isCustomNameVisible()); } if (isPersistenceRequired()) { t.setPersistenceRequired(); } t.setInvulnerable(isInvulnerable()); if (copyInventory) { t.setCanPickUpLoot(canPickUpLoot()); for (EquipmentSlot equipmentslot : EquipmentSlot.values()) { ItemStack itemstack = self().getItemBySlot(equipmentslot); if (!itemstack.isEmpty()) { t.setItemSlot(equipmentslot, itemstack.copyAndClear()); t.setDropChance(equipmentslot, getEquipmentDropChance(equipmentslot)); } } } level().addFreshEntity(t); if (isPassenger()) { Entity entity = getVehicle(); stopRiding(); t.startRiding(entity, true); } discard(); return t; } } } public abstract boolean isBoy(); @Override public boolean isFood(@NotNull ItemStack item) { return FOOD_ITEMS.test(item); } @Override protected boolean isFlapping() { return flyDist > nextFlap; } @Override protected void onFlap() { nextFlap = flyDist + flapSpeed / 2f; } public static boolean canSpawn(EntityType<? extends AbstractChicken> entityType, LevelAccessor level, MobSpawnType spawnType, BlockPos pos, RandomSource random) { return entityType != _Entities.CHICK.get() && Animal.checkAnimalSpawnRules(entityType, level, spawnType, pos, random); } } package mymod.entities.chicken; import com.google.common.collect.ImmutableList; import com.google.errorprone.annotations.Immutable; import net.minecraft.advancements.CriteriaTriggers; import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.Tag; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.sounds.SoundEvent; import net.minecraft.sounds.SoundEvents; import net.minecraft.stats.Stats; import net.minecraft.util.RandomSource; import net.minecraft.util.TimeUtil; import net.minecraft.util.valueproviders.UniformInt; import net.minecraft.world.DifficultyInstance; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.entity.*; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.ai.goal.*; import net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal; import net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal; import net.minecraft.world.entity.ai.goal.target.ResetUniversalAngerTargetGoal; import net.minecraft.world.entity.animal.*; import net.minecraft.world.entity.monster.Zombie; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.GameRules; import net.minecraft.world.level.ItemLike; import net.minecraft.world.level.Level; import net.minecraft.world.level.ServerLevelAccessor; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.Blocks; import net.minecraft.world.phys.Vec3; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import oshi.util.tuples.Pair; import ru.fokinatorr.chickenmod._Entities; import ru.fokinatorr.chickenmod._EntityDataSerializers; import mymod._Items; import mymod._Sounds; import mymod.ai.ZombieAttackChickenEggGoal; import mymod.entities.BredWithMobStorable; import mymod.util.delayedtask.DelayedTask; import mymod.util.delayedtask.DelayedTasksHolder; import java.util.EnumSet; import java.util.Optional; import java.util.UUID; import java.util.function.Supplier; public class Rooster extends AbstractChicken implements NeutralMob, BredWithMobStorable, DelayedTasksHolder<Rooster> { private static final UniformInt PERSISTENT_ANGER_TIME = TimeUtil.rangeOfSeconds(60, 1800); private int remainingPersistentAngerTime; private UUID persistentAngerTarget; private boolean crowing; private int crowTicks; private int diggingAnimTicks; private int featherDropCoolDown; private static final EntityDataAccessor<FourFeathers> DATA_FEATHERS = SynchedEntityData.defineId(Rooster.class, _EntityDataSerializers.ROOSTER_FEATHERS.get()); private static final EntityDataAccessor<Optional<UUID>> DATA_MOB_BRED_WITH = SynchedEntityData.defineId(Rooster.class, EntityDataSerializers.OPTIONAL_UUID); public Rooster(EntityType<? extends Rooster> entityType, Level world) { super(entityType, world); } @Override public int getRemainingPersistentAngerTime() { return remainingPersistentAngerTime; } @Override public void setRemainingPersistentAngerTime(int remainingPersistentAngerTime) { this.remainingPersistentAngerTime = remainingPersistentAngerTime; } @Nullable @Override public UUID getPersistentAngerTarget() { return persistentAngerTarget; } @Override public void setPersistentAngerTarget(@Nullable UUID persistentAngerTarget) { this.persistentAngerTarget = persistentAngerTarget; } @Override public void startPersistentAngerTimer() { this.remainingPersistentAngerTime = PERSISTENT_ANGER_TIME.sample(random); } @Override protected void defineSynchedData() { super.defineSynchedData(); entityData.define(DATA_FEATHERS, FourFeathers.NONE); entityData.define(DATA_MOB_BRED_WITH, Optional.empty()); } public FourFeathers getFeatherData() { return entityData.get(DATA_FEATHERS); } public void setFeatherData(FourFeathers featherData) { entityData.set(DATA_FEATHERS, featherData); } @Override public void addAdditionalSaveData(@NotNull CompoundTag nbt) { super.addAdditionalSaveData(nbt); addPersistentAngerSaveData(nbt); nbt.put("FeatherData", getFeatherData().writeTag()); nbt.putBoolean("isCrowing", crowing); } @Override public void readAdditionalSaveData(@NotNull CompoundTag nbt) { super.readAdditionalSaveData(nbt); readPersistentAngerSaveData(level(), nbt); if (nbt.contains("FeatherData", Tag.TAG_COMPOUND)) setFeatherData(FourFeathers.readTag(nbt.getCompound("FeatherData"))); else setFeatherData(FourFeathers.NONE); crowing = nbt.contains("isCrowing", Tag.TAG_BYTE) && nbt.getBoolean("isCrowing"); } @Override protected void registerGoals() { goalSelector.addGoal(0, new FloatGoal(this)); goalSelector.addGoal(1, new RoosterMeleeAttackGoal()); goalSelector.addGoal(1, new RoosterRandomTryFindFoodGoal()); goalSelector.addGoal(2, new RoosterBreedGoal()); goalSelector.addGoal(3, new TemptGoal(this, 1, FOOD_ITEMS, false)); goalSelector.addGoal(5, new WaterAvoidingRandomStrollGoal(this, 1)); goalSelector.addGoal(6, new LookAtPlayerGoal(this, Player.class, 6)); goalSelector.addGoal(7, new RandomLookAroundGoal(this)); targetSelector.addGoal(4, new RoosterRandomAttackNearbyRoosterGoal()); targetSelector.addGoal(1, new NearestAttackableTargetGoal<>(this, LivingEntity.class, true, entity -> entity instanceof Fox || (entity instanceof Ocelot ocelot && !ocelot.isBaby()) || (entity instanceof Zombie zombie && zombie.goalSelector .getRunningGoals().anyMatch(wrappedGoal -> wrappedGoal.getGoal() instanceof ZombieAttackChickenEggGoal)) || isAngryAt(entity))); targetSelector.addGoal(2, new HurtByTargetGoal(this)); targetSelector.addGoal(3, new ResetUniversalAngerTargetGoal<>(this, false)); } @Override public void setMobBredWith(@Nullable UUID uuid) { entityData.set(DATA_MOB_BRED_WITH, Optional.ofNullable(uuid)); } @Override @Nullable public UUID getMobBredWith() { return entityData.get(DATA_MOB_BRED_WITH).orElse(null); } // Goals class RoosterMeleeAttackGoal extends MeleeAttackGoal { RoosterMeleeAttackGoal() { super(Rooster.this, 1.4, true); } @Override public void tick() { super.tick(); if (mob.getTarget() != null && mob.distanceToSqr(mob.getTarget()) <= 4) mob.getJumpControl().jump(); } } class RoosterRandomAttackNearbyRoosterGoal extends NearestAttackableTargetGoal<Rooster> { RoosterRandomAttackNearbyRoosterGoal() { super(Rooster.this, Rooster.class, true); } @Override public boolean canUse() { return super.canUse() && random.nextInt(300) == 0; } @Override public boolean canContinueToUse() { return super.canContinueToUse() && mob.getLastHurtMob() != targetMob; } } class RoosterBreedGoal extends BreedGoal { RoosterBreedGoal() { super(Rooster.this, 1, Chicken.class); } @Override protected void breed() { ServerPlayer serverplayer = animal.getLoveCause(); if (serverplayer == null && this.partner.getLoveCause() != null) { serverplayer = this.partner.getLoveCause(); } if (serverplayer != null) { serverplayer.awardStat(Stats.ANIMALS_BRED); CriteriaTriggers.BRED_ANIMALS.trigger(serverplayer, this.animal, this.partner, null); } ((BredWithMobStorable) partner).setMobBredWith(animal.getUUID()); ((BredWithMobStorable) animal).setMobBredWith(partner.getUUID()); animal.setAge(6000); partner.setAge(6000); animal.resetLove(); partner.resetLove(); RandomSource randomsource = animal.getRandom(); if (this.level.getGameRules().getBoolean(GameRules.RULE_DOMOBLOOT)) { this.level.addFreshEntity(new ExperienceOrb(this.level, this.animal.getX(), this.animal.getY(), this.animal.getZ(), randomsource.nextInt(7) + 1)); } } } private static final DelayedTask<Rooster> CROW_LATER = new DelayedTask<>(30) { @Override protected void execute() { entity.crow(); } }; private static final DelayedTask<Rooster> ANGRY_CLUCK_LATER = new DelayedTask<>(30) { @Override protected void execute() { entity.playSound(_Sounds.ROOSTER_ANGRY_CLUCK.get()); } }; @Override public ImmutableList<DelayedTask<Rooster>> getTasks() { return ImmutableList.of(CROW_LATER, ANGRY_CLUCK_LATER); } class RoosterRandomTryFindFoodGoal extends Goal { private final Rooster rooster; private int tickCount; private int maxTickCount; private int lastDugTicks; private int roosterLastHurtByMobTimestamp; private double lookAtXOld, lookAtYOld, lookAtZOld; private Vec3 pos; private boolean didEndSuccessfully; private Vec3 lookingAtPos; private static final UniformInt POSSIBLE_MAX_TICK_COUNT = TimeUtil.rangeOfSeconds(4, 10); RoosterRandomTryFindFoodGoal() { super(); this.rooster = Rooster.this; setFlags(EnumSet.of(Flag.LOOK)); } @Override public boolean canUse() { return (isStandingOn(Blocks.GRASS_BLOCK) || isStandingOn(Blocks.DIRT) || isStandingOn(Blocks.PODZOL)) && rooster.random.nextInt(3000) == 20; } @Override public boolean canContinueToUse() { if (rooster.getLastHurtByMobTimestamp() != roosterLastHurtByMobTimestamp) { didEndSuccessfully = false; return false; } else if (tickCount >= maxTickCount) { didEndSuccessfully = true; return false; } return true; } @Override public boolean requiresUpdateEveryTick() { return true; } @Override public void start() { lastDugTicks = 20; roosterLastHurtByMobTimestamp = rooster.getLastHurtByMobTimestamp(); lookAtXOld = rooster.getLookControl().getWantedX(); lookAtYOld = rooster.getLookControl().getWantedY(); lookAtZOld = rooster.getLookControl().getWantedZ(); pos = new Vec3(rooster.position().toVector3f()); lookingAtPos = rooster.position().subtract(0, 1, 0); rooster.getLookControl().setLookAt(lookingAtPos); maxTickCount = POSSIBLE_MAX_TICK_COUNT.sample(rooster.random); } @Override public void stop() { rooster.getLookControl().setLookAt(lookAtXOld, lookAtYOld, lookAtZOld); if (didEndSuccessfully) { int resultItemPercentage = rooster.random.nextInt(100); if (resultItemPercentage <= 1) { rooster.spawnAtLocation(Items.DIAMOND, -1); Rooster.ANGRY_CLUCK_LATER.startExecution(rooster); } else if (resultItemPercentage <= 5) { rooster.spawnAtLocation(Items.GOLD_NUGGET, -1); Rooster.ANGRY_CLUCK_LATER.startExecution(rooster); } else if (resultItemPercentage <= 20) { Rooster.ANGRY_CLUCK_LATER.startExecution(rooster); } else { rooster.spawnAtLocation(FOOD_ITEMS.getItems()[rooster.random.nextInt( FOOD_ITEMS.getItems().length)], -1); Rooster.CROW_LATER.startExecution(rooster); } } } @Override public void tick() { ++tickCount; rooster.getLookControl().setLookAt(lookingAtPos); rooster.getMoveControl().setWantedPosition(pos.x, pos.y, pos.z, rooster.getMoveControl().getSpeedModifier()); if (lastDugTicks <= 0) { lastDugTicks = 20; rooster.diggingAnimTicks = 10; rooster.playSound(rooster.level().getBlockState(rooster.blockPosition().below()) .getSoundType(rooster.level(), rooster.blockPosition().below(), rooster) .getHitSound()); } else lastDugTicks--; } private boolean isStandingOn(Block block) { return rooster.level().getBlockState(rooster.blockPosition().below()).is(block); } } // Feather data storage @Immutable public record FourFeathers(@NotNull FeatherType first, @NotNull FeatherType second, @NotNull FeatherType third, @NotNull FeatherType fourth) { public static final FourFeathers NONE = new FourFeathers(FeatherType.NONE, FeatherType.NONE, FeatherType.NONE, FeatherType.NONE); public FourFeathers(byte first, byte second, byte third, byte forth) { this(FeatherType.fromByte(first), FeatherType.fromByte(second), FeatherType.fromByte(third), FeatherType.fromByte(forth)); } public @NotNull Pair<ItemStack, FourFeathers> removeRandom(RandomSource randomSource) { if (NONE.equals(this)) return new Pair<>(ItemStack.EMPTY, this); int randomNum = randomSource.nextInt(4); while (get(randomNum) == null) randomNum = randomSource.nextInt(4); ItemStack retVal0 = get(randomNum).getDefaultInstance(); FourFeathers retVal1 = switch (randomNum) { case 0 -> new FourFeathers(FeatherType.NONE, second, third, fourth); case 1 -> new FourFeathers(first, FeatherType.NONE, third, fourth); case 2 -> new FourFeathers(first, second, FeatherType.NONE, fourth); case 3 -> new FourFeathers(first, second, third, FeatherType.NONE); default -> null; // unreachable }; return new Pair<>(retVal0, retVal1); } public void dropAll(Rooster asRooster) { asRooster.setFeatherData(FourFeathers.NONE); if (first != FeatherType.NONE) asRooster.spawnAtLocation(first); if (second != FeatherType.NONE) asRooster.spawnAtLocation(second); if (third != FeatherType.NONE) asRooster.spawnAtLocation(third); if (fourth != FeatherType.NONE) asRooster.spawnAtLocation(fourth); } @Nullable public Item get(int i) { return (switch (i) { case 0 -> first; case 1 -> second; case 2 -> third; case 3 -> fourth; default -> throw new IllegalStateException("Unexpected value: " + i); }).asItem(); } // NBT Utils @NotNull public CompoundTag writeTag() { CompoundTag nbt = new CompoundTag(); nbt.putString("first", first.name().toLowerCase()); nbt.putString("second", second.name().toLowerCase()); nbt.putString("third", third.name().toLowerCase()); nbt.putString("fourth", fourth.name().toLowerCase()); return nbt; } @NotNull public static FourFeathers readTag(@NotNull CompoundTag nbt) { return new FourFeathers(tryRead(nbt, "first"), tryRead(nbt, "second"), tryRead(nbt, "third"), tryRead(nbt, "fourth")); } private static FeatherType tryRead(CompoundTag tag, String toRead) { if (tag.contains(toRead, Tag.TAG_STRING)) { try { return FeatherType.valueOf(tag.getString(toRead).toUpperCase()); } catch (IllegalArgumentException e) { return FeatherType.NONE; } } return FeatherType.NONE; } public FourFeathers copy() { return new FourFeathers(first, second, third, fourth); } } public enum FeatherType implements ItemLike { RED(_Items.RED_FEATHER, (byte) 0), YELLOW(_Items.YELLOW_FEATHER, (byte) 1), GREEN(_Items.GREEN_FEATHER, (byte) 2), BLUE(_Items.BLUE_FEATHER, (byte) 3), NONE(() -> null, (byte) -1); private final Supplier<Item> itemSup; private final byte byteVal; FeatherType(Supplier<Item> itemSup, byte byteVal) { this.itemSup = itemSup; this.byteVal = byteVal; } public static FeatherType fromByte(byte item) { return switch (item) { case -1 -> NONE; case 0 -> RED; case 1 -> YELLOW; case 2 -> GREEN; case 3 -> BLUE; default -> throw new IllegalArgumentException("item: " + item); }; } @Override public @Nullable Item asItem() { return itemSup.get(); } public byte asByte() { return byteVal; } } @Override protected void dropCustomDeathLoot(@NotNull DamageSource damageSource, int what, boolean idk) { super.dropCustomDeathLoot(damageSource, what, idk); getFeatherData().dropAll(this); } // Sounds @Override protected SoundEvent getAmbientSound() { return _Sounds.ROOSTER_AMBIENT.get(); } @Override protected SoundEvent getHurtSound(@NotNull DamageSource damageSource) { return _Sounds.ROOSTER_HURT.get(); } @Override protected SoundEvent getDeathSound() { return _Sounds.ROOSTER_DEATH.get(); } public static AttributeSupplier.Builder createAttributes() { return createMobAttributes() .add(Attributes.ATTACK_DAMAGE, 2) .add(Attributes.MAX_HEALTH, 8) .add(Attributes.MOVEMENT_SPEED, .3); } @Override public boolean isBaby() { return false; } @Override public boolean canMate(@NotNull Animal other) { if (this == other) return false; else if (!(other instanceof Chicken)) return false; else return isInLove() && other.isInLove(); } @Override @Nullable public SpawnGroupData finalizeSpawn(@NotNull ServerLevelAccessor worldAccessor, @NotNull DifficultyInstance difficulty, @NotNull MobSpawnType mobSpawnType, @Nullable SpawnGroupData retVal, @Nullable CompoundTag nbt) { if (nbt == null) { setFeatherData(new FourFeathers((byte) random.nextIntBetweenInclusive(-1, 3), (byte) random.nextIntBetweenInclusive(-1, 3), (byte) random.nextIntBetweenInclusive(-1, 3), (byte) random.nextIntBetweenInclusive(-1, 3))); } else { if (nbt.contains("FeatherData", Tag.TAG_COMPOUND)) { setFeatherData(FourFeathers.readTag(nbt.getCompound("FeatherData"))); } } return super.finalizeSpawn(worldAccessor, difficulty, mobSpawnType, retVal, nbt); } @Override protected void doAIStep() { if (crowing && --crowTicks <= 0) { crowing = false; } if (!level().isClientSide) { updatePersistentAnger((ServerLevel) level(), true); if (level().getDayTime() % 24000L == 0L || level().getDayTime() % 24000L == 13000L) crow(); } } @Override public void setBaby(boolean baby) { if (baby) { Chick me = convertTo(_Entities.CHICK.get(), false); if (me != null) { me.setBoy(true); } } } @Override public @NotNull InteractionResult mobInteract(@NotNull Player player, @NotNull InteractionHand hand) { if (isFood(player.getItemInHand(hand))) { return super.mobInteract(player, hand); } else if (player.getItemInHand(hand) == ItemStack.EMPTY) { dropFeather(player); return InteractionResult.CONSUME; } return InteractionResult.PASS; } private void dropFeather(@Nullable LivingEntity target) { Pair<ItemStack, FourFeathers> resFeathers = getFeatherData().removeRandom(random); setFeatherData(resFeathers.getB()); if (resFeathers.getA() != null && featherDropCoolDown == 0 && target != null) { spawnAtLocation(resFeathers.getA()); playSound(SoundEvents.ITEM_PICKUP); setTarget(target); featherDropCoolDown = random.nextIntBetweenInclusive(20, 30); } } @Override public void setTarget(@Nullable LivingEntity target) { super.setTarget(target); if (target != null) { setPersistentAngerTarget(target.getUUID()); startPersistentAngerTimer(); } } public void crow() { if (!crowing) { crowing = true; crowTicks = 70; var lookControl = getLookControl(); lookControl.setLookAt(lookControl.getWantedX(), position().y + .2, lookControl.getWantedZ()); playSound(_Sounds.ROOSTER_CROW.get()); level().getEntitiesOfClass(Chicken.class, getBoundingBox().inflate(20)) .forEach(chicken -> chicken.setTarget(this)); } } public boolean isCrowing() { return crowing; } @Override public void tick() { super.tick(); if (diggingAnimTicks > 0) --diggingAnimTicks; if (featherDropCoolDown > 0) --featherDropCoolDown; tickTasks(); } public int getDiggingAnimTicks() { return diggingAnimTicks; } @Override public boolean isBoy() { return true; } } package mymod.entities.chicken; import net.minecraft.nbt.CompoundTag; import net.minecraft.nbt.Tag; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.sounds.SoundEvent; import net.minecraft.world.DifficultyInstance; import net.minecraft.world.damagesource.DamageSource; import net.minecraft.world.entity.*; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.ai.goal.*; import net.minecraft.world.entity.animal.Animal; import net.minecraft.world.entity.animal.Chicken; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; import net.minecraft.world.level.ServerLevelAccessor; import net.minecraft.world.phys.AABB; import org.jetbrains.annotations.NotNull; import mymod._Entities; import mymod._Sounds; import org.jetbrains.annotations.Nullable; import java.util.ArrayList; import java.util.List; public class Chick extends AbstractChicken { private static final EntityDataAccessor<Boolean> DATA_IS_BOY = SynchedEntityData.defineId(Chick.class, EntityDataSerializers.BOOLEAN); private final boolean initializedIsBoy; public Chick(EntityType<? extends Chick> entityType, Level world) { super(entityType, world); setAge(-24000); initializedIsBoy = false; } public Chick(EntityType<? extends Chick> entityType, Level world, boolean isBoy) { super(entityType, world); setAge(-24000); setBoy(isBoy); initializedIsBoy = true; } @Override protected SoundEvent getAmbientSound() { return _Sounds.CHICK_AMBIENT.get(); } @Override protected SoundEvent getHurtSound(@NotNull DamageSource damageSource) { return _Sounds.CHICK_HURT.get(); } @Override protected SoundEvent getDeathSound() { return _Sounds.CHICK_DEATH.get(); } @Override public float getVoicePitch() { return (this.random.nextFloat() - this.random.nextFloat()) * 0.2F + 1.0F; } @Override protected void defineSynchedData() { super.defineSynchedData(); entityData.define(DATA_IS_BOY, false); } @Override public void addAdditionalSaveData(@NotNull CompoundTag nbt) { super.addAdditionalSaveData(nbt); nbt.putBoolean("IsBoy", isBoy()); } @Override public void readAdditionalSaveData(@NotNull CompoundTag nbt) { super.readAdditionalSaveData(nbt); if (nbt.contains("IsBoy", Tag.TAG_BYTE)) setBoy(nbt.getBoolean("IsBoy")); } @Override protected void registerGoals() { goalSelector.addGoal(0, new FloatGoal(this)); goalSelector.addGoal(1, new PanicGoal(this, 1.4)); goalSelector.addGoal(2, new TemptGoal(this, 1, FOOD_ITEMS, false)); goalSelector.addGoal(3, new ChickFollowParentGoal()); goalSelector.addGoal(5, new WaterAvoidingRandomStrollGoal(this, 1)); goalSelector.addGoal(6, new LookAtPlayerGoal(this, Player.class, 6)); goalSelector.addGoal(7, new RandomLookAroundGoal(this)); } @Override public void setLastHurtByMob(LivingEntity hurtByMob) { super.setLastHurtByMob(hurtByMob); if (getType() == _Entities.CHICK.get() && hurtByMob != null) { level().getEntitiesOfClass(Rooster.class, new AABB(blockPosition().below(20).north(20).west(20), blockPosition().above(20).south(20).east(20))) .stream() .filter(r -> r.getPersistentAngerTarget() == null && r.getTarget() == null) .forEach(r -> r.setTarget(hurtByMob)); } } @Override public SpawnGroupData finalizeSpawn(@NotNull ServerLevelAccessor worldAccessor, @NotNull DifficultyInstance difficulty, @NotNull MobSpawnType mobSpawnType, @Nullable SpawnGroupData retVal, @Nullable CompoundTag nbt) { if (!initializedIsBoy) { if (nbt != null && nbt.contains("IsBoy", Tag.TAG_BYTE)) setBoy(nbt.getBoolean("IsBoy")); else setBoy(random.nextBoolean()); } return super.finalizeSpawn(worldAccessor, difficulty, mobSpawnType, retVal, nbt); } class ChickFollowParentGoal extends Goal { private Animal parent; private int timeToRecalculatePath; @Override public boolean canUse() { List<Animal> list = new ArrayList<>(); list.addAll(level().getEntitiesOfClass(Chicken.class, getBoundingBox().inflate(8, 4, 8))); list.addAll(level().getEntitiesOfClass(Rooster.class, getBoundingBox().inflate(8, 4, 8))); Animal animal = null; double d0 = Double.MAX_VALUE; for (Animal animal1 : list) { if (animal1.getAge() >= 0) { double d1 = distanceToSqr(animal1); if (!(d1 > d0)) { d0 = d1; animal = animal1; } } } if (animal == null) { return false; } else if (d0 < 9.0D) { return false; } else { parent = animal; return true; } } @Override public boolean canContinueToUse() { if (!parent.isAlive()) return false; double d = distanceToSqr(parent); return !(d < 9) && !(d > 256); } @Override public void start() { timeToRecalculatePath = 0; } @Override public void stop() { parent = null; } @Override public void tick() { if (--timeToRecalculatePath <= 0) { timeToRecalculatePath = adjustedTickDelay(10); getNavigation().moveTo(parent, 1.1); } } } public static AttributeSupplier.Builder createAttributes() { return createMobAttributes() .add(Attributes.MAX_HEALTH, 4) .add(Attributes.MOVEMENT_SPEED, .25); } @Override public void ageBoundaryReached() { super.ageBoundaryReached(); if (getAge() >= 0) { if (isBoy()) convertTo(_Entities.ROOSTER.get(), false); else convertTo(EntityType.CHICKEN, false); } } @Override public boolean isBaby() { return true; } @Override public boolean canMate(@NotNull Animal other) { return false; } @Override public void setBoy(boolean newBoolean) { entityData.set(DATA_IS_BOY, newBoolean); } @Override protected void doAIStep() { } @Override public void setBaby(boolean baby) { if (!baby) { if (isBoy()) { convertTo(_Entities.ROOSTER.get(), false); } else { convertTo(EntityType.CHICKEN, false); } } } @Override public boolean isBoy() { return entityData.get(DATA_IS_BOY); } } sorry for too long post lol
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.