Jump to content

Recommended Posts

Posted

[23:19:21] [main/INFO]: ModLauncher running: args [--username, Sebastian, --version, ForgeOptiFine 1.18.2, --gameDir, C:\Users\HP\AppData\Roaming\.minecraft, --assetsDir, C:\Users\HP\AppData\Roaming\.minecraft\assets, --assetIndex, 1.18, --uuid, e11ec2e9e1bb4341b675541ad9038f9a, --accessToken, ????????, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, modified, --width, 925, --height, 530, --launchTarget, forgeclient, --fml.forgeVersion, 40.1.19, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[23:19:21] [main/INFO]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft
[23:19:21] [main/INFO]: OptiFineTransformationService.onLoad
[23:19:21] [main/INFO]: OptiFine ZIP file URL: union:/C:/Users/HP/AppData/Roaming/.minecraft/mods/OptiFine-1.18.2_HD_U_H7.jar%2352!/
[23:19:21] [main/INFO]: OptiFine ZIP file: C:\Users\HP\AppData\Roaming\.minecraft\mods\OptiFine-1.18.2_HD_U_H7.jar
[23:19:21] [main/INFO]: Target.PRE_CLASS is available
[23:19:21] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/HP/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT
[23:19:21] [main/INFO]: OptiFineTransformationService.initialize
[23:19:22] [main/INFO]: Found mod file AmbientSounds_FABRIC_v5.0.16_mc1.18.2.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file betterfpsdist-fabric-1.18-1.7.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file clickadv-fabric-2.5.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file connectivity-fabric-1.18.2-2.9.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file CreativeCore-1.18.2.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file dragonfight-fabric-1.18.2-2.1.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file dusk-fabric-1.18.2-1.9.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file FallingTree-1.18.2-3.5.1.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file logprot-fabric-1.18-1.6.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file Paintings-fabric-1.18.2-9.1.1.0.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file Public GUI Announcement-fabric-1.18.2-3.2.0.1.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file Terralith_v2.2.1a.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file tl_skin_cape_forge_1.18_1.18.2-1.25.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file valhelsia_core-fabric-1.18.2-0.3.1.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:22] [main/INFO]: Found mod file valhelsia_tweaks-fabric-1.18.2-0.1.0.jar of type MOD with locator {mods folder locator at C:\Users\HP\AppData\Roaming\.minecraft\mods}
[23:19:23] [main/INFO]: Found mod file fmlcore-1.18.2-40.1.19.jar of type LIBRARY with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@12365c88
[23:19:23] [main/INFO]: Found mod file javafmllanguage-1.18.2-40.1.19.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@12365c88
[23:19:23] [main/INFO]: Found mod file mclanguage-1.18.2-40.1.19.jar of type LANGPROVIDER with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@12365c88
[23:19:23] [main/INFO]: Found mod file client-1.18.2-20220404.173914-srg.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@12365c88
[23:19:23] [main/INFO]: Found mod file forge-1.18.2-40.1.19-universal.jar of type MOD with locator net.minecraftforge.fml.loading.moddiscovery.MinecraftLocator@12365c88
[23:19:23] [main/INFO]: OptiFineTransformationService.transformers
[23:19:23] [main/INFO]: Targets: 350
[23:19:23] [main/INFO]: additionalClassesLocator: [optifine., net.optifine.]
[23:19:24] [main/INFO]: Compatibility level set to JAVA_17
[23:19:24] [main/INFO]: Successfully loaded Mixin Connector [org.tlauncher.MixinConnector]
[23:19:24] [main/INFO]: Launching target 'forgeclient' with arguments [--version, ForgeOptiFine 1.18.2, --gameDir, C:\Users\HP\AppData\Roaming\.minecraft, --assetsDir, C:\Users\HP\AppData\Roaming\.minecraft\assets, --uuid, e11ec2e9e1bb4341b675541ad9038f9a, --username, Sebastian, --assetIndex, 1.18, --accessToken, ????????, --clientId, ${clientid}, --xuid, ${auth_xuid}, --userType, mojang, --versionType, modified, --width, 925, --height, 530]
[23:19:31] [Render thread/WARN]: Assets URL 'union:/C:/Users/HP/AppData/Roaming/.minecraft/libraries/net/minecraft/client/1.18.2-20220404.173914/client-1.18.2-20220404.173914-srg.jar%23220!/assets/.mcassetsroot' uses unexpected schema
[23:19:31] [Render thread/WARN]: Assets URL 'union:/C:/Users/HP/AppData/Roaming/.minecraft/libraries/net/minecraft/client/1.18.2-20220404.173914/client-1.18.2-20220404.173914-srg.jar%23220!/data/.mcassetsroot' uses unexpected schema
[23:19:31] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[23:19:31] [Render thread/INFO]: Setting user: Sebastian
[23:19:32] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: net.minecraft.launchwrapper.Launch
[23:19:32] [Render thread/INFO]: Backend library: LWJGL version 3.2.2 SNAPSHOT
[23:19:33] [Render thread/INFO]: [OptiFine] 
[23:19:33] [Render thread/INFO]: [OptiFine] OptiFine_1.18.2_HD_U_H7
[23:19:33] [Render thread/INFO]: [OptiFine] Build: 20220410-185216
[23:19:33] [Render thread/INFO]: [OptiFine] OS: Windows 10 (amd64) version 10.0
[23:19:33] [Render thread/INFO]: [OptiFine] Java: 17.0.1, Microsoft
[23:19:33] [Render thread/INFO]: [OptiFine] VM: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
[23:19:33] [Render thread/INFO]: [OptiFine] LWJGL: 3.3.0 Win32 WGL EGL OSMesa VisualC DLL
[23:19:33] [Render thread/INFO]: [OptiFine] OpenGL: AMD Radeon(TM) Graphics, version 3.2.14802 Core Profile Forward-Compatible Context 21.40.26 30.0.14026.1, ATI Technologies Inc.
[23:19:33] [Render thread/INFO]: [OptiFine] OpenGL Version: 3.2.14802
[23:19:33] [Render thread/INFO]: [OptiFine] Maximum texture size: 16384x16384
[23:19:33] [VersionCheck/INFO]: [OptiFine] Checking for new version
[23:19:33] [Render thread/INFO]: [Shaders] OpenGL Version: 3.2.14802 Core Profile Forward-Compatible Context 21.40.26 30.0.14026.1
[23:19:33] [Render thread/INFO]: [Shaders] Vendor:  ATI Technologies Inc.
[23:19:33] [Render thread/INFO]: [Shaders] Renderer: AMD Radeon(TM) Graphics
[23:19:33] [Render thread/INFO]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  - 
[23:19:33] [Render thread/INFO]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[23:19:33] [Render thread/INFO]: [Shaders] GL_MAX_COLOR_ATTACHMENTS: 8
[23:19:33] [Render thread/INFO]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32
[23:19:33] [Render thread/INFO]: [Shaders] Load shaders configuration.
[23:19:33] [Render thread/INFO]: [Shaders] Save shaders configuration.
[23:19:33] [Render thread/INFO]: [Shaders] No shaderpack loaded.
[23:19:33] [Render thread/INFO]: [OptiFine] [Shaders] Delayed loading of item mappings after resources are loaded
[23:19:33] [Render thread/INFO]: [OptiFine] [Shaders] Delayed loading of entity mappings after resources are loaded
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\logprot-fabric-1.18-1.6.jar constructed 0 mods: [], but had 1 mods specified: [logprot]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\dusk-fabric-1.18.2-1.9.jar constructed 0 mods: [], but had 1 mods specified: [dusk]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\clickadv-fabric-2.5.jar constructed 0 mods: [], but had 1 mods specified: [clickadv]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\Public GUI Announcement-fabric-1.18.2-3.2.0.1.jar constructed 0 mods: [], but had 1 mods specified: [publicguiannouncement]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\connectivity-fabric-1.18.2-2.9.jar constructed 0 mods: [], but had 1 mods specified: [connectivity]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\dragonfight-fabric-1.18.2-2.1.jar constructed 0 mods: [], but had 1 mods specified: [dragonfight]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\betterfpsdist-fabric-1.18-1.7.jar constructed 0 mods: [], but had 1 mods specified: [betterfpsdist]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\Paintings-fabric-1.18.2-9.1.1.0.jar constructed 0 mods: [], but had 1 mods specified: [paintings]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\valhelsia_core-fabric-1.18.2-0.3.1.jar constructed 0 mods: [], but had 1 mods specified: [valhelsia_core]
[23:19:33] [Render thread/FATAL]: File C:\Users\HP\AppData\Roaming\.minecraft\mods\valhelsia_tweaks-fabric-1.18.2-0.1.0.jar constructed 0 mods: [], but had 1 mods specified: [valhelsia_tweaks]
[23:19:33] [VersionCheck/INFO]: [OptiFine] Version found: H6
[23:19:33] [Render thread/FATAL]: Failed to initialize mod containers
net.minecraftforge.fml.ModLoadingException: The Mod File C:\Users\HP\AppData\Roaming\.minecraft\mods\logprot-fabric-1.18-1.6.jar has mods that were not found
    at net.minecraftforge.fml.ModLoader.buildMods(ModLoader.java:241) ~[fmlcore-1.18.2-40.1.19.jar%23221!/:?]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?]
    at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?]
    at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?]
    at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[?:?]
    at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[?:?]
    at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:153) ~[fmlcore-1.18.2-40.1.19.jar%23221!/:?]
    at net.minecraftforge.client.loading.ClientModLoader.lambda$begin$1(ClientModLoader.java:92) ~[forge-1.18.2-40.1.19-universal.jar%23224!/:?]
    at net.minecraftforge.client.loading.ClientModLoader.lambda$createRunnableWithCatch$4(ClientModLoader.java:113) ~[forge-1.18.2-40.1.19-universal.jar%23224!/:?]
    at net.minecraftforge.client.loading.ClientModLoader.begin(ClientModLoader.java:92) ~[forge-1.18.2-40.1.19-universal.jar%23224!/:?]
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:458) ~[client-1.18.2-20220404.173914-srg.jar%23220!/:?]
    at net.minecraft.client.main.Main.main(Main.java:169) ~[client-1.18.2-20220404.173914-srg.jar%23220!/:?]
    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) ~[?:?]
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:31) ~[fmlloader-1.18.2-40.1.19.jar%2316!/:?]
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-9.1.3.jar%235!/:?]
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) [bootstraplauncher-1.0.0.jar:?]
[23:19:33] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.sound.SoundLoadEvent to a broken mod state
[23:19:33] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.ClassNotFoundException: sun.misc.SharedSecrets
[23:19:33] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.ClassNotFoundException: jdk.internal.misc.SharedSecrets
[23:19:33] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.ClassNotFoundException: sun.misc.VM
[23:19:33] [Render thread/WARN]: [OptiFine] (Reflector) java.lang.reflect.InaccessibleObjectException: Unable to make public static long jdk.internal.misc.VM.maxDirectMemory() accessible: module java.base does not "exports jdk.internal.misc" to module net.optifine
[23:19:33] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ColorHandlerEvent$Block to a broken mod state
[23:19:33] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ColorHandlerEvent$Item to a broken mod state
[23:19:34] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ParticleFactoryRegisterEvent to a broken mod state
[23:19:34] [Render thread/INFO]: Narrator library for x64 successfully loaded
[23:19:34] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterClientReloadListenersEvent to a broken mod state
[23:19:34] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$RegisterLayerDefinitions to a broken mod state
[23:19:34] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$RegisterRenderers to a broken mod state
[23:19:34] [Render thread/INFO]: Reloading ResourceManager: Default
[23:19:34] [Render thread/INFO]: [OptiFine] *** Reloading textures ***
[23:19:34] [Render thread/INFO]: [OptiFine] Resource packs: Default
[23:19:34] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ModelRegistryEvent to a broken mod state
[23:19:34] [Render thread/INFO]: [OptiFine] *** Reflector Forge ***
[23:19:34] [Render thread/INFO]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient
[23:19:34] [Worker-Main-21/INFO]: [OptiFine] Multitexture: false
[23:19:34] [Worker-Main-23/INFO]: [OptiFine] Multitexture: false
[23:19:34] [Worker-Main-14/INFO]: [OptiFine] Multitexture: false
[23:19:34] [Worker-Main-14/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:34] [Render thread/WARN]: [OptiFine] (Reflector) More than one method found: net.minecraftforge.client.ForgeHooksClient.onFogRender
[23:19:34] [Render thread/WARN]: [OptiFine] (Reflector)  - public static void net.minecraftforge.client.ForgeHooksClient.onFogRender(net.minecraft.client.renderer.FogRenderer$FogMode,net.minecraft.client.Camera,float,float,float,com.mojang.blaze3d.shaders.FogShape)
[23:19:34] [Render thread/WARN]: [OptiFine] (Reflector)  - public static void net.minecraftforge.client.ForgeHooksClient.onFogRender(net.minecraft.client.renderer.FogRenderer$FogMode,net.minecraft.client.Camera,float,float)
[23:19:34] [Render thread/INFO]: [OptiFine] *** Reflector Vanilla ***
[23:19:42] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/00_glass_white/glass_pane_white.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/00_glass_white/glass_white.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/01_glass_orange/glass_orange.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/01_glass_orange/glass_pane_orange.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/02_glass_magenta/glass_magenta.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/02_glass_magenta/glass_pane_magenta.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/03_glass_light_blue/glass_light_blue.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/03_glass_light_blue/glass_pane_light_blue.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/04_glass_yellow/glass_pane_yellow.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/04_glass_yellow/glass_yellow.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/05_glass_lime/glass_lime.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/05_glass_lime/glass_pane_lime.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/06_glass_pink/glass_pane_pink.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/06_glass_pink/glass_pink.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/07_glass_gray/glass_gray.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/07_glass_gray/glass_pane_gray.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/08_glass_light_gray/glass_light_gray.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/08_glass_light_gray/glass_pane_light_gray.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/09_glass_cyan/glass_cyan.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/09_glass_cyan/glass_pane_cyan.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/10_glass_purple/glass_pane_purple.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/10_glass_purple/glass_purple.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/11_glass_blue/glass_blue.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/11_glass_blue/glass_pane_blue.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/12_glass_brown/glass_brown.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/12_glass_brown/glass_pane_brown.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/13_glass_green/glass_green.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/13_glass_green/glass_pane_green.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/14_glass_red/glass_pane_red.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/14_glass_red/glass_red.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/15_glass_black/glass_black.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/15_glass_black/glass_pane_black.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/20_glass/glass.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/20_glass/glass_pane.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/21_tinted_glass/tinted_glass.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/30_bookshelf/bookshelf.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/40_sandstone/sandstone.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] ConnectedTextures: optifine/ctm/default/41_red_sandstone/red_sandstone.properties
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] Multipass connected textures: false
[23:19:43] [Worker-Main-18/INFO]: [OptiFine] BetterGrass: Parsing default configuration optifine/bettergrass.properties
[23:19:47] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 4
[23:19:47] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Sprite size: 64
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 6
[23:19:48] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Scaled too small texture: minecraft:optifine/ctm/default/empty, 16 -> 64
[23:19:48] [Worker-Main-18/WARN]: Unused frames in sprite minecraft:missingno: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Sprite size: 64
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 6
[23:19:48] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Scaled too small texture: minecraft:optifine/ctm/default/empty, 16 -> 64
[23:19:48] [Worker-Main-18/WARN]: Unused frames in sprite minecraft:missingno: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Sprite size: 64
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 6
[23:19:48] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Scaled too small texture: minecraft:optifine/ctm/default/empty, 16 -> 64
[23:19:48] [Worker-Main-18/WARN]: Unused frames in sprite minecraft:missingno: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Sprite size: 64
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 6
[23:19:48] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Scaled too small texture: minecraft:optifine/ctm/default/empty, 16 -> 64
[23:19:48] [Worker-Main-18/WARN]: Unused frames in sprite minecraft:missingno: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Sprite size: 64
[23:19:48] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 6
[23:19:48] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:49] [Worker-Main-18/INFO]: [OptiFine] Scaled too small texture: minecraft:optifine/ctm/default/empty, 16 -> 64
[23:19:49] [Worker-Main-18/WARN]: Unused frames in sprite minecraft:missingno: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
[23:19:49] [Worker-Main-18/INFO]: [OptiFine] Multitexture: false
[23:19:49] [Worker-Main-18/INFO]: [OptiFine] Sprite size: 64
[23:19:49] [Worker-Main-18/INFO]: [OptiFine] Mipmap levels: 6
[23:19:49] [Worker-Main-18/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Pre to a broken mod state
[23:19:49] [Worker-Main-18/INFO]: [OptiFine] Scaled too small texture: minecraft:optifine/ctm/default/empty, 16 -> 64
[23:19:49] [Worker-Main-18/WARN]: Unused frames in sprite minecraft:missingno: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
[23:19:49] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speaker (Realtek(R) Audio)
[23:19:49] [Render thread/INFO]: Sound engine started
[23:19:49] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/blocks.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 45
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:50] [Render thread/INFO]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:50] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:50] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:50] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:50] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:50] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[23:19:50] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:50] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:51] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.ModelBakeEvent to a broken mod state
[23:19:51] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$CreateSkullModels to a broken mod state
[23:19:51] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.EntityRenderersEvent$AddLayers to a broken mod state
[23:19:52] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.RegisterShadersEvent to a broken mod state
[23:19:52] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[23:19:52] [Render thread/INFO]: [OptiFine] Animated sprites: 1
[23:19:52] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:52] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[23:19:52] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:52] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:52] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[23:19:52] [Render thread/INFO]: [OptiFine] Animated sprites: 0
[23:19:52] [Render thread/ERROR]: Cowardly refusing to send event net.minecraftforge.client.event.TextureStitchEvent$Post to a broken mod state
[23:19:52] [Render thread/INFO]: [OptiFine] *** Reloading custom textures ***
[23:19:58] [Render thread/INFO]: [OptiFine] Disable Forge light pipeline
[23:19:58] [Render thread/INFO]: [OptiFine] Set ForgeConfig.CLIENT.experimentalForgeLightPipelineEnabled=false
[23:19:59] [Render thread/FATAL]: Crash report saved to C:\Users\HP\AppData\Roaming\.minecraft\crash-reports\crash-2022-05-19_23.19.58-fml.txt
 

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

    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
    • Hi here is an update. I was able to fix the code so my mod does not crash Minecraft. Please understand that I am new to modding but I honestly am having a hard time understanding how anyone can get this to work without having extensive programming and debugging experience as well as searching across the Internet, multiple gen AI bots (claude, grok, openai), and examining source code hidden in the gradle directory and in various github repositories. I guess I am wrong because clearly there are thousands of mods so maybe I am just a newbie. Ok, rant over, here is a step by step summary so others can save the 3 days it took me to figure this out.   1. First, I am using forge 54.1.0 and Minecraft 1.21.4 2. I am creating a mod to add a shotgun to Minecraft 3. After creating the mod and compiling it, I installed the .jar file to the proper directory in Minecraft and used 1.21.4-forge-54.1.0 4. The mod immediately crashed with the error: Caused by: java.lang.NullPointerException: Item id not set 5. Using the stack trace, I determined that the Exception was being thrown from the net.minecraft.world.item.Item.Properties class 6. It seems that there are no javadocs for this class, so I used IntelliJ which was able to provide a decompiled version of the class, which I then examined to see the source of the error. Side question: Are there javadocs? 7. This method, specifically, was the culprit: protected String effectiveDescriptionId() {      return this.descriptionId.get(Objects.requireNonNull(this.id, "Item id not set"));  } 8. Now my quest was to determine how to set this.id. Looking at the same source file, I determined there was another method:  public Item.Properties setId(ResourceKey<Item> pId) {             this.id = pId;             return this;   } 9. So now, I need to figure out how to call setId(). This required working backwards a bit. Starting from the constructor, I stubbed out the variable p which is of type Item.Properties public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); Rather than putting this all on one line, I split it up for readability like this: private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); Here is was the missing function, setId(), which takes a type of ResourceKey<Item>. My next problem is that due to the apparent lack of documentation (I tried searching the docs on this site) I could not determine the full import path to ResourceKey. I did some random searching on the Internet and stumbled across a Github repository which gave two clues: import net.minecraft.resources.ResourceKey; import net.minecraft.resources.ResourceLocation; Then I created the rk variable like this: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); And now putting it all together in order: private static ResourceKey<Item> rk = ResourceKey.create(Registries.ITEM, ResourceLocation.parse("modid:shotgunmod")); private static final Item.Properties p = new Item.Properties().useItemDescriptionPrefix().setId(rk); public static final RegistryObject<Item> SHOTGUN = ITEMS.register("shotgun", () -> new ShotgunItem(p)); This compiled and the mod no longer crashes. I still have more to do on it, but hopefully this will save someone hours. I welcome any feedback and if I missed some obvious modding resource or tutorial that has this information. If not, I might suggest we add it somewhere for people trying to write a mod that doesn't crash. Thank you !!!  
    • I will keep adding to this thread with more information in case anyone can help, or at the very least I can keep my troubleshooting organized. I decided to downgrade to 54.1.0 in the hopes that this would fix the issue but it didn't. At least now I am on a "recommended" version. The crash report did confirm my earlier post that the Exception is coming from effectiveDescriptionId(). I'll continue to see if I can find a way to set the ID manually.   Caused by: java.lang.NullPointerException: Item id not set         at java.base/java.util.Objects.requireNonNull(Objects.java:259) ~[?:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item$Properties.effectiveDescriptionId(Item.java:465) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/net.minecraft.world.item.Item.<init>(Item.java:111) ~[forge-1.21.4-54.1.0-client.jar!/:?]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ShotgunItem.<init>(ShotgunItem.java:19) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/com.example.shotgunmod.ModItems.lambda$static$0(ModItems.java:15) ~[shotgunmod-1.0.0.jar!/:1.0.0]         at TRANSFORMER/[email protected]/net.minecraftforge.registries.DeferredRegister$EventDispatcher.lambda$handleEvent      
    • It just randomly stop working after a rebooted my dedicated server PLEASE HELP!   com.google.gson   Failed to start the minecraft server com.google.gson.JsonSyntaxException: Expected a com.google.gson.JsonObject but was com.google.gson.JsonPrimitive; at path $  
  • Topics

×
×
  • Create New...

Important Information

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