Jump to content

Recommended Posts

Posted

Erm I tried loading up Minecraft and it crashed saying I am using an unsupported modified version of the game 

Checking installations.
18:15:05 launcher Minecraft client 1.8.9-forge1.8.9-11.15.1.2318-1.8.9 requires 18446744073706366565 bytes to download.
18:15:05 launcher Starting!
18:15:05 launcher Using default game log configuration client-1.7.xml (outputs XML)
11:15:06 game 2017-10-08 18:15:06,939 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream <log4j:Event logger="LaunchWrapper" timestamp="1507511706962" level="INFO" thread="main"> <log4j:Message><![CDATA[Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker]]></log4j:Message> </log4j:Event>
11:15:06 monitor expected <
18:15:07 LaunchWrapper Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
18:15:07 LaunchWrapper Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
18:15:07 FML Forge Mod Loader version 11.15.1.2318 for Minecraft 1.8.9 loading
18:15:07 FML Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Software\Minecraft\runtime\jre-x64\1.8.0_25
18:15:07 FML The coremod io.prplz.mousedelayfix.FMLLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
18:15:07 FML Loading tweaker oldanimations.ForgeTweaker from OldAnimationsMod v2.3.1 Classloader FORGE MC1.8.9.jar
18:15:07 FML Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.8.9_HD_U_H6.jar
18:15:07 LaunchWrapper Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
18:15:07 LaunchWrapper Loading tweak class name oldanimations.ForgeTweaker
18:15:07 LaunchWrapper Loading tweak class name optifine.OptiFineForgeTweaker
18:15:07 LaunchWrapper Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
18:15:07 LaunchWrapper Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
18:15:07 LaunchWrapper Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
18:15:07 LaunchWrapper Calling tweak class optifine.OptiFineForgeTweaker
18:15:07 STDOUT [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
18:15:07 STDOUT [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
18:15:07 STDOUT [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ClassTransformer
18:15:07 STDOUT [optifine.OptiFineClassTransformer:dbg:266]: OptiFine URL: file:/C:/Users/fiasc/AppData/Roaming/.minecraft/mods/OptiFine_1.8.9_HD_U_H6.jar
18:15:07 STDOUT [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ZIP file: C:\Users\fiasc\AppData\Roaming\.minecraft\mods\OptiFine_1.8.9_HD_U_H6.jar
18:15:07 LaunchWrapper Calling tweak class oldanimations.ForgeTweaker
18:15:07 STDOUT [oldanimations.ForgeTweaker:dbg:38]: ForgeTweaker: acceptOptions
18:15:07 STDOUT [oldanimations.ForgeTweaker:dbg:38]: ForgeTweaker: injectIntoClassLoader
18:15:07 STDOUT [oldanimations.ClassTransformer:dbg:182]: ClassTransformer
18:15:07 STDOUT [oldanimations.ClassTransformer:dbg:182]: URL: file:/C:/Users/fiasc/AppData/Roaming/.minecraft/mods/OldAnimationsMod%20v2.3.1%20Classloader%20FORGE%20MC1.8.9.jar
18:15:07 STDOUT [oldanimations.ClassTransformer:dbg:182]: ZIP file: C:\Users\fiasc\AppData\Roaming\.minecraft\mods\OldAnimationsMod v2.3.1 Classloader FORGE MC1.8.9.jar
18:15:07 STDOUT [oldanimations.ClassTransformer:dbg:182]: Version: null
18:15:07 STDOUT [oldanimations.ClassTransformer:dbg:182]: Minecraft Version: null
18:15:07 STDOUT [oldanimations.ClassTransformer:dbg:182]: Minecraft Jar: null
18:15:07 LaunchWrapper Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
18:15:08 FML Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
18:15:08 FML Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
18:15:08 LaunchWrapper Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
18:15:08 LaunchWrapper Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
18:15:08 LaunchWrapper Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
18:15:08 LaunchWrapper Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
18:15:09 LaunchWrapper Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
18:15:09 LaunchWrapper Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
18:15:09 STDOUT [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
18:15:09 STDOUT [oldanimations.ForgeTweaker:dbg:38]: ForgeTweaker: getLaunchArguments
18:15:09 LaunchWrapper Launching wrapped minecraft {net.minecraft.client.main.Main}
18:15:09 STDOUT [io.prplz.mousedelayfix.ClassTransformer:transform:23]: Found EntityLivingBase: pr
18:15:09 STDOUT [io.prplz.mousedelayfix.ClassTransformer:transform:30]: Found getLook: d
18:15:09 STDOUT [io.prplz.mousedelayfix.ClassTransformer:transform:32]: Found Entity: pk
18:15:09 STDOUT [io.prplz.mousedelayfix.ClassTransformer:transform:34]: Found EntityPlayerSP: bew
11:15:09 game 2017-10-08 18:15:09,635 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-10-08 18:15:09,636 WARN Caught Exception while in Loader.getResource. This may be innocuous. java.lang.IllegalArgumentException: name at sun.misc.URLClassPath$Loader.findResource(URLClassPath.java:494) at sun.misc.URLClassPath.findResource(URLClassPath.java:176) at java.net.URLClassLoader$2.run(URLClassLoader.java:557) at java.net.URLClassLoader$2.run(URLClassLoader.java:555) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findResource(URLClassLoader.java:554) at java.lang.ClassLoader.getResource(ClassLoader.java:1093) at org.apache.logging.log4j.core.helpers.Loader.getResource(Loader.java:98) at org.apache.logging.log4j.core.config.ConfigurationFactory.getInputFromResource(ConfigurationFactory.java:300) at org.apache.logging.log4j.core.config.ConfigurationFactory.getInputFromString(ConfigurationFactory.java:280) at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:380) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:377) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:149) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:85) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:34) at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:387) at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:322) at net.minecraft.client.Minecraft.<clinit>(Minecraft.java:193) at net.minecraft.client.main.Main.main(SourceFile:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 2017-10-08 18:15:09,646 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream <log4j:Event logger="net.minecraft.client.Minecraft" timestamp="1507511709811" level="INFO" thread="Client thread"> <log4j:Message><![CDATA[Setting user: Luxender83]]></log4j:Message> </log4j:Event>
11:15:09 monitor expected <
11:15:12 game [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient <log4j:Event logger="net.minecraft.client.Minecraft" timestamp="1507511712907" level="INFO" thread="Client thread"> <log4j:Message><![CDATA[LWJGL Version: 2.9.4]]></log4j:Message> </log4j:Event>
11:15:12 monitor expected <
11:15:14 game [OptiFine] [OptiFine] OptiFine_1.8.9_HD_U_H6 [OptiFine] Build: 20160607-144228 [OptiFine] OS: Windows 10 (amd64) version 10.0 [OptiFine] Java: 1.8.0_25, Oracle Corporation [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation [OptiFine] LWJGL: 2.9.4 [OptiFine] OpenGL: GeForce GTX 1050/PCIe/SSE2, version 4.5.0 NVIDIA 384.77, NVIDIA Corporation [OptiFine] OpenGL Version: 4.0 [OptiFine] Maximum texture size: 16384x16384 [OptiFine] Checking for new version [OptiFine] Version found: H8 [Shaders] ShadersMod version: 2.4.12 [Shaders] OpenGL Version: 4.5.0 NVIDIA 384.77 [Shaders] Vendor: NVIDIA Corporation [Shaders] Renderer: GeForce GTX 1050/PCIe/SSE2 [Shaders] Capabilities: 2.0 2.1 3.0 3.2 4.0 [Shaders] GL_MAX_DRAW_BUFFERS: 8 [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8 [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 32 [Shaders] Load ShadersMod configuration. [Shaders] Save ShadersMod configuration. [Shaders] Shaders can not be loaded, Fast Render is enabled. [Shaders] No shaderpack loaded. <log4j:Event logger="FML" timestamp="1507511714434" level="WARN" thread="Client thread"> <log4j:Message><![CDATA[=============================================================]]></log4j:Message> </log4j:Event>
11:15:14 monitor expected <
18:15:14 FML MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
18:15:14 FML Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
18:15:14 FML Use FMLCommonHandler.exitJava instead
18:15:14 FML =============================================================
18:15:14 FML Forge Mod Loader has detected optifine OptiFine_1.8.9_HD_U_H6, enabling compatibility features
18:15:14 STDOUT [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ---- WARNING: coremods are present: FMLLoadingPlugin (MouseDelayFix-1.0.jar) PlayerAPIPlugin (PlayerAPI-1.8.9-1.0.jar) Contact their authors BEFORE contacting forge // Daisy, daisy... Time: 10/8/17 6:15 PM Description: Loading screen debug info This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 CPU: 4x Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 159570792 bytes (152 MB) / 269082624 bytes (256 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): FMLLoadingPlugin (MouseDelayFix-1.0.jar) io.prplz.mousedelayfix.ClassTransformer PlayerAPIPlugin (PlayerAPI-1.8.9-1.0.jar) api.player.forge.PlayerAPITransformer GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 384.77' Renderer: 'GeForce GTX 1050/PCIe/SSE2'
18:15:14 FML MinecraftForge v11.15.1.2318 Initialized
18:15:14 FML Replaced 229 ore recipies
18:15:14 FML Found 0 mods from the command line. Injecting into mod discoverer
18:15:14 FML Searching C:\Users\fiasc\AppData\Roaming\.minecraft\mods for mods
18:15:15 oldanimations Mod oldanimations is missing the required element 'name'. Substituting oldanimations
18:15:15 FML Forge Mod Loader has identified 13 mods to load
18:15:15 FML Attempting connection with missing mods [mcp, FML, Forge, mousedelayfix, PlayerAPI, fpsdisplaymod, cpsmod, keystrokesmod, perspectivemod, sidebarmod, customcrosshairmod, oldanimations, ProjectL] at CLIENT
18:15:15 FML Attempting connection with missing mods [mcp, FML, Forge, mousedelayfix, PlayerAPI, fpsdisplaymod, cpsmod, keystrokesmod, perspectivemod, sidebarmod, customcrosshairmod, oldanimations, ProjectL] at SERVER
18:15:16 net.minecraft.client.resources.SimpleReloadableResourceManager Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:FPSDisplayMod, FMLFileResourcePack:CPSMod, FMLFileResourcePack:KeystrokesMod, FMLFileResourcePack:Perspective Mod, FMLFileResourcePack:SidebarMod, FMLFileResourcePack:Custom Crosshair Mod, FMLFileResourcePack:oldanimations, FMLFileResourcePack:ProjectL, ! §3Spectrium §7[128x] §3Blue.zip
18:15:16 FML Processing ObjectHolder annotations
18:15:16 FML Found 384 ObjectHolder annotations
18:15:16 FML Identifying ItemStackHolder annotations
18:15:16 FML Found 0 ItemStackHolder annotations
18:15:16 FML Configured a dormant chunk cache size of 0
18:15:16 ForgeVersionCheck [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
18:15:16 FML Applying holder lookups
18:15:16 FML Holder lookups applied
18:15:16 FML Injecting itemstacks
18:15:16 FML Itemstack injection complete
11:15:16 game [OptiFine] *** Reloading textures *** [OptiFine] Resource packs: ! �3Spectrium �7[128x] �3Blue.zip <log4j:Event logger="STDOUT" timestamp="1507511716482" level="INFO" thread="Client thread"> <log4j:Message><![CDATA[[tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.]]></log4j:Message> </log4j:Event>
11:15:16 monitor expected <
18:15:16 net.minecraft.client.Minecraft Couldn't initialize twitch stream
18:15:16 net.minecraft.client.audio.SoundManager Starting up SoundSystem...
18:15:16 ForgeVersionCheck [Forge] Found status: AHEAD Target: null
18:15:16 net.minecraft.client.audio.SoundManager Initializing LWJGL OpenAL
18:15:16 net.minecraft.client.audio.SoundManager (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
18:15:16 net.minecraft.client.audio.SoundManager OpenAL initialized.
18:15:17 net.minecraft.client.audio.SoundManager Sound engine started
11:15:18 game [OptiFine] Sprite size: 32 [OptiFine] Mipmap levels: 5 [OptiFine] Multitexture: false [OptiFine] ConnectedTextures: mcpatcher/ctm/bookshelf_connect/bookshelf_a.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/bookshelf_random/left/bookshelf_b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/bookshelf_random/middle/bookshelf_b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/bookshelf_random/right/bookshelf_b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/bookshelf_random/single/bookshelf_b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/bookshelf_random/single/bookshelf_c.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/brewing_stand/brewing_stand.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/cake/cake_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/crafting_table/a.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/crafting_table/b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_nether_brick/fence_sides.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_nether_brick/fence_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/fence/fence_sides.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/fence/fence_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_ew_f_c.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_ew_f_o.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_ew_s.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_ns_f_c.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_ns_f_o.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_ns_s.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/fence_wooden/gate/gate_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/flowers/flower_allium/flower_allium.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/flowers/flower_blue_orchid/flower_blue_orchid.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/flowers/flower_dandelion/flower_dandelion.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/flowers/flower_houstonia/flower_houstonia.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/flowers/flower_oxeye_daisy/flower_oxeye_daisy.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/flowers/flower_poppy/flower_rose.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass/glass.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_clear/glass.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_black/glass_black.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_blue/glass_blue.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_brown/glass_brown.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_cyan/glass_cyan.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_gray/glass_gray.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_green/glass_green.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_light_blue/glass_light_blue.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_lime/glass_lime.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_magenta/glass_magenta.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_orange/glass_orange.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_pink/glass_pink.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_purple/glass_purple.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_red/glass_red.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_silver/glass_silver.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_white/glass_white.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/glass_stained/glass_yellow/glass_yellow.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/grass_top/grass_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/hardened_clay/hardened_clay.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_black/hardened_clay_stained_black.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_blue/hardened_clay_stained_blue.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_brown/hardened_clay_stained_brown.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_cyan/hardened_clay_stained_cyan.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_gray/hardened_clay_stained_gray.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_green/hardened_clay_stained_green.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_light blue/hardened_clay_stained_light_blue.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_lime/hardened_clay_stained_lime.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_magenta/hardened_clay_stained_magenta.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_orange/hardened_clay_stained_orange.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_pink/hardened_clay_stained_pink.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_purple/hardened_clay_stained_purple.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_red/hardened_clay_stained_red.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_silver/hardened_clay_stained_silver.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_white/hardened_clay_stained_white.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/hardened_clay/stained/hardened_clay_yellow/hardened_clay_stained_yellow.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/ladder/ladder.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/leaves/fancy/leaves_fancy.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/leaves/fast/leaves_fast.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/lily_pad/waterlily.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/monster_spawner/mob_spawner.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/mushroom_big_red_skin/mushroom_block_skin_red.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/mushroom_big_stem/a.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/mushroom_small_brown/mushroom_brown.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/mushroom_small_red/mushroom_red.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/packed_ice/ice.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_acacia/planks_acacia.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_birch/planks_birch.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_dark_oak/planks_big_oak.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_jungle/planks_jungle.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_oak/all_oak_blocks.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_oak/all_oak_blocks_b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_oak/bookshelf_top_bottom.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_oak/crafting_table_bottom.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/planks/planks_spruce/planks_spruce.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/pumpkin_bottom/pumpkin_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/repeater/repeater_sides.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/sandstone/sandstone_normal.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/sandstone_smooth/sandstone_smooth.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/sugar_cane/reeds.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/a.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/b.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/c.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/d.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/e.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/f.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/trapdoor/g.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/vines/vine.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/wood_ends/wood_acacia/log_acacia_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/wood_ends/wood_birch/log_birch_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/wood_ends/wood_dark_oak/log_big_oak_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/wood_ends/wood_jungle/log_jungle_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/wood_ends/wood_oak/log_oak_top.properties [OptiFine] ConnectedTextures: mcpatcher/ctm/wood_ends/wood_spruce/log_spruce_top.properties [OptiFine] Multipass connected textures: true [OptiFine] Multipass connected textures: true <log4j:Event logger="net.minecraft.client.renderer.texture.TextureMap" timestamp="1507511718534" level="INFO" thread="Client thread"> <log4j:Message><![CDATA[Created: 32x32 textures-atlas]]></log4j:Message> </log4j:Event>
11:15:18 monitor expected <
11:15:19 game 345 1 0 <log4j:Event logger="STDOUT" timestamp="1507511719308" level="INFO" thread="Client thread"> <log4j:Message><![CDATA[[me.dewgs.sidebarmod.SidebarMod:init:43]: Successfully initialized SidebarMod 1.0 by dewgs]]></log4j:Message> </log4j:Event>
11:15:19 monitor expected <
18:15:19 FML Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
18:15:19 FML States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHI Forge{11.15.1.2318} [Minecraft Forge] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHI mousedelayfix{1.0} [MouseDelayFix] (minecraft.jar) UCHI PlayerAPI{1.0} [Player API] (minecraft.jar) UCHI fpsdisplaymod{1.0} [FPSDisplayMod] ([1.8.9] CheatBreakerHUD v3.jar) UCHI cpsmod{1.0} [CPSMod] ([1.8.9] CheatBreakerHUD v3.jar) UCHI keystrokesmod{0.1} [KeystrokesMod] ([1.8.9] CheatBreakerHUD v3.jar) UCHI perspectivemod{1.0} [Perspective Mod] ([1.8.9] Perspective Mod [fix2].jar) UCHI sidebarmod{1.01} [SidebarMod] ([1.8.9]SidebarMod-1.01.jar) UCHI customcrosshairmod{0.2.1-Forge} [Custom Crosshair Mod] (Custom-Crosshair-Mod-1.8.9.jar) UCHE oldanimations{2.3} [oldanimations] (OldAnimationsMod v2.3.1 FORGE MC1.8.9.jar) UCHI ProjectL{0.2} [ProjectL] (ProjectL-0.2.jar)
18:15:19 FML The following problems were captured during this phase
18:15:19 FML Caught exception from oldanimations java.lang.ArrayIndexOutOfBoundsException: 1 at com.spiderfrog.directionhud.Configuration.load(Configuration.java:48) at com.spiderfrog.directionhud.DirectionHUD.updateConfig(DirectionHUD.java:33) at com.spiderfrog.oldanimations.ForgeOldAnimationsMod.init(ForgeOldAnimationsMod.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:495) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
18:15:20 STDOUT [net.minecraft.init.Bootstrap:func_179870_a:529]: ---- Minecraft Crash Report ---- WARNING: coremods are present: FMLLoadingPlugin (MouseDelayFix-1.0.jar) PlayerAPIPlugin (PlayerAPI-1.8.9-1.0.jar) Contact their authors BEFORE contacting forge // You're mean. Time: 10/8/17 6:15 PM Description: Initializing game java.lang.ArrayIndexOutOfBoundsException: 1 at com.spiderfrog.directionhud.Configuration.load(Configuration.java:48) at com.spiderfrog.directionhud.DirectionHUD.updateConfig(DirectionHUD.java:33) at com.spiderfrog.oldanimations.ForgeOldAnimationsMod.init(ForgeOldAnimationsMod.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:495) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at com.spiderfrog.directionhud.Configuration.load(Configuration.java:48) at com.spiderfrog.directionhud.DirectionHUD.updateConfig(DirectionHUD.java:33) at com.spiderfrog.oldanimations.ForgeOldAnimationsMod.init(ForgeOldAnimationsMod.java:57) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:737) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:310) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:495) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:329) at net.minecraft.client.main.Main.main(SourceFile:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.8.9 Operating System: Windows 10 (amd64) version 10.0 CPU: 4x Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 94265208 bytes (89 MB) / 334127104 bytes (318 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.19 Powered by Forge 11.15.1.2318 Optifine OptiFine_1.8.9_HD_U_H6 13 mods loaded, 13 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCHI FML{8.0.99.99} [Forge Mod Loader] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHI Forge{11.15.1.2318} [Minecraft Forge] (forge-1.8.9-11.15.1.2318-1.8.9.jar) UCHI mousedelayfix{1.0} [MouseDelayFix] (minecraft.jar) UCHI PlayerAPI{1.0} [Player API] (minecraft.jar) UCHI fpsdisplaymod{1.0} [FPSDisplayMod] ([1.8.9] CheatBreakerHUD v3.jar) UCHI cpsmod{1.0} [CPSMod] ([1.8.9] CheatBreakerHUD v3.jar) UCHI keystrokesmod{0.1} [KeystrokesMod] ([1.8.9] CheatBreakerHUD v3.jar) UCHI perspectivemod{1.0} [Perspective Mod] ([1.8.9] Perspective Mod [fix2].jar) UCHI sidebarmod{1.01} [SidebarMod] ([1.8.9]SidebarMod-1.01.jar) UCHI customcrosshairmod{0.2.1-Forge} [Custom Crosshair Mod] (Custom-Crosshair-Mod-1.8.9.jar) UCHE oldanimations{2.3} [oldanimations] (OldAnimationsMod v2.3.1 FORGE MC1.8.9.jar) UCHI ProjectL{0.2} [ProjectL] (ProjectL-0.2.jar) Loaded coremods (and transformers): FMLLoadingPlugin (MouseDelayFix-1.0.jar) io.prplz.mousedelayfix.ClassTransformer PlayerAPIPlugin (PlayerAPI-1.8.9-1.0.jar) api.player.forge.PlayerAPITransformer GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 384.77' Renderer: 'GeForce GTX 1050/PCIe/SSE2' Launched Version: 1.8.9-forge1.8.9-11.15.1.2318-1.8.9 LWJGL: 2.9.4 OpenGL: GeForce GTX 1050/PCIe/SSE2 GL version 4.5.0 NVIDIA 384.77, NVIDIA Corporation GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Shaders are available because OpenGL 2.1 is supported. VBOs are available because OpenGL 1.5 is supported. Using VBOs: No Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: ! §3Spectrium §7[128x] §3Blue.zip Current Language: English (US) Profiler Position: N/A (disabled) CPU: 4x Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz OptiFine Version: OptiFine_1.8.9_HD_U_H6 Render Distance Chunks: 12 Mipmaps: 4 Anisotropic Filtering: 1 Antialiasing: 0 Multitexture: false Shaders: null OpenGlVersion: 4.5.0 NVIDIA 384.77 OpenGlRenderer: GeForce GTX 1050/PCIe/SSE2 OpenGlVendor: NVIDIA Corporation CpuCount: 4
18:15:20 STDOUT

[net.minecraft.init.Bootstrap:func_179870_a:529]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\fiasc\AppData\Roaming\.minecraft\crash-reports\crash-2017-10-08_18.15.19-client.t 

 

 

 

 

 

 

 

 

 

These are the logs if it helps. (It works if I don't use forge) Need some help, thanks!

 

  • Like 1
Posted

The old animations mod is broken.

Also please post as plain text, or use gist.github.com The new launcher output looks bad on forums.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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

    • Version 1.19 - Forge 41.0.63 I want to create a wolf entity that I can ride, so far it seems to be working, but the problem is that when I get on the wolf, I can’t control it. I then discovered that the issue is that the server doesn’t detect that I’m riding the wolf, so I’m struggling with synchronization. However, it seems to not be working properly. As I understand it, the server receives the packet but doesn’t register it correctly. I’m a bit new to Java, and I’ll try to provide all the relevant code and prints *The comments and prints are translated by chatgpt since they were originally in Spanish* Thank you very much in advance No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. No player is mounted, or the passenger is not a player. MountableWolfEntity package com.vals.valscraft.entity; import com.vals.valscraft.network.MountSyncPacket; import com.vals.valscraft.network.NetworkHandler; import net.minecraft.client.Minecraft; import net.minecraft.network.syncher.EntityDataAccessor; import net.minecraft.network.syncher.EntityDataSerializers; import net.minecraft.network.syncher.SynchedEntityData; import net.minecraft.server.MinecraftServer; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.Mob; import net.minecraft.world.entity.ai.attributes.AttributeSupplier; import net.minecraft.world.entity.ai.attributes.Attributes; import net.minecraft.world.entity.animal.Wolf; import net.minecraft.world.entity.player.Player; import net.minecraft.world.entity.Entity; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.phys.Vec3; import net.minecraftforge.event.TickEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.network.PacketDistributor; public class MountableWolfEntity extends Wolf { private boolean hasSaddle; private static final EntityDataAccessor<Byte> DATA_ID_FLAGS = SynchedEntityData.defineId(MountableWolfEntity.class, EntityDataSerializers.BYTE); public MountableWolfEntity(EntityType<? extends Wolf> type, Level level) { super(type, level); this.hasSaddle = false; } @Override protected void defineSynchedData() { super.defineSynchedData(); this.entityData.define(DATA_ID_FLAGS, (byte)0); } public static AttributeSupplier.Builder createAttributes() { return Wolf.createAttributes() .add(Attributes.MAX_HEALTH, 20.0) .add(Attributes.MOVEMENT_SPEED, 0.3); } @Override public InteractionResult mobInteract(Player player, InteractionHand hand) { ItemStack itemstack = player.getItemInHand(hand); if (itemstack.getItem() == Items.SADDLE && !this.hasSaddle()) { if (!player.isCreative()) { itemstack.shrink(1); } this.setSaddle(true); return InteractionResult.SUCCESS; } else if (!level.isClientSide && this.hasSaddle()) { player.startRiding(this); MountSyncPacket packet = new MountSyncPacket(true); // 'true' means the player is mounted NetworkHandler.CHANNEL.sendToServer(packet); // Ensure the server handles the packet return InteractionResult.SUCCESS; } return InteractionResult.PASS; } @Override public void travel(Vec3 travelVector) { if (this.isVehicle() && this.getControllingPassenger() instanceof Player) { System.out.println("The wolf has a passenger."); System.out.println("The passenger is a player."); Player player = (Player) this.getControllingPassenger(); // Ensure the player is the controller this.setYRot(player.getYRot()); this.yRotO = this.getYRot(); this.setXRot(player.getXRot() * 0.5F); this.setRot(this.getYRot(), this.getXRot()); this.yBodyRot = this.getYRot(); this.yHeadRot = this.yBodyRot; float forward = player.zza; float strafe = player.xxa; if (forward <= 0.0F) { forward *= 0.25F; } this.flyingSpeed = this.getSpeed() * 0.1F; this.setSpeed((float) this.getAttributeValue(Attributes.MOVEMENT_SPEED) * 1.5F); this.setDeltaMovement(new Vec3(strafe, travelVector.y, forward).scale(this.getSpeed())); this.calculateEntityAnimation(this, false); } else { // The wolf does not have a passenger or the passenger is not a player System.out.println("No player is mounted, or the passenger is not a player."); super.travel(travelVector); } } public boolean hasSaddle() { return this.hasSaddle; } public void setSaddle(boolean hasSaddle) { this.hasSaddle = hasSaddle; } @Override protected void dropEquipment() { super.dropEquipment(); if (this.hasSaddle()) { this.spawnAtLocation(Items.SADDLE); this.setSaddle(false); } } @SubscribeEvent public static void onServerTick(TickEvent.ServerTickEvent event) { if (event.phase == TickEvent.Phase.START) { MinecraftServer server = net.minecraftforge.server.ServerLifecycleHooks.getCurrentServer(); if (server != null) { for (ServerPlayer player : server.getPlayerList().getPlayers()) { if (player.isPassenger() && player.getVehicle() instanceof MountableWolfEntity) { MountableWolfEntity wolf = (MountableWolfEntity) player.getVehicle(); System.out.println("Tick: " + player.getName().getString() + " is correctly mounted on " + wolf); } } } } } private boolean lastMountedState = false; @Override public void tick() { super.tick(); if (!this.level.isClientSide) { // Only on the server boolean isMounted = this.isVehicle() && this.getControllingPassenger() instanceof Player; // Only print if the state changed if (isMounted != lastMountedState) { if (isMounted) { Player player = (Player) this.getControllingPassenger(); // Verify the passenger is a player System.out.println("Server: Player " + player.getName().getString() + " is now mounted."); } else { System.out.println("Server: The wolf no longer has a passenger."); } lastMountedState = isMounted; } } } @Override public void addPassenger(Entity passenger) { super.addPassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(true)); } } } @Override public void removePassenger(Entity passenger) { super.removePassenger(passenger); if (passenger instanceof Player) { Player player = (Player) passenger; if (!this.level.isClientSide && player instanceof ServerPlayer) { // Send the packet to the server to indicate the player is no longer mounted NetworkHandler.CHANNEL.send(PacketDistributor.PLAYER.with(() -> (ServerPlayer) player), new MountSyncPacket(false)); } } } @Override public boolean isControlledByLocalInstance() { Entity entity = this.getControllingPassenger(); return entity instanceof Player; } @Override public void positionRider(Entity passenger) { if (this.hasPassenger(passenger)) { double xOffset = Math.cos(Math.toRadians(this.getYRot() + 90)) * 0.4; double zOffset = Math.sin(Math.toRadians(this.getYRot() + 90)) * 0.4; passenger.setPos(this.getX() + xOffset, this.getY() + this.getPassengersRidingOffset() + passenger.getMyRidingOffset(), this.getZ() + zOffset); } } } MountSyncPacket package com.vals.valscraft.network; import com.vals.valscraft.entity.MountableWolfEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.server.level.ServerLevel; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.entity.Entity; import net.minecraft.world.entity.player.Player; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class MountSyncPacket { private final boolean isMounted; public MountSyncPacket(boolean isMounted) { this.isMounted = isMounted; } public void encode(FriendlyByteBuf buffer) { buffer.writeBoolean(isMounted); } public static MountSyncPacket decode(FriendlyByteBuf buffer) { return new MountSyncPacket(buffer.readBoolean()); } public void handle(NetworkEvent.Context context) { context.enqueueWork(() -> { ServerPlayer player = context.getSender(); // Get the player from the context if (player != null) { // Verifies if the player has dismounted if (!isMounted) { Entity vehicle = player.getVehicle(); if (vehicle instanceof MountableWolfEntity wolf) { // Logic to remove the player as a passenger wolf.removePassenger(player); System.out.println("Server: Player " + player.getName().getString() + " is no longer mounted."); } } } }); context.setPacketHandled(true); // Marks the packet as handled } } networkHandler package com.vals.valscraft.network; import com.vals.valscraft.valscraft; import net.minecraft.resources.ResourceLocation; import net.minecraftforge.network.NetworkRegistry; import net.minecraftforge.network.simple.SimpleChannel; import net.minecraftforge.network.NetworkEvent; import java.util.function.Supplier; public class NetworkHandler { private static final String PROTOCOL_VERSION = "1"; public static final SimpleChannel CHANNEL = NetworkRegistry.newSimpleChannel( new ResourceLocation(valscraft.MODID, "main"), () -> PROTOCOL_VERSION, PROTOCOL_VERSION::equals, PROTOCOL_VERSION::equals ); public static void init() { int packetId = 0; // Register the mount synchronization packet CHANNEL.registerMessage( packetId++, MountSyncPacket.class, MountSyncPacket::encode, MountSyncPacket::decode, (msg, context) -> msg.handle(context.get()) // Get the context with context.get() ); } }  
    • Do you use features of inventory profiles next (ipnext) or is there a change without it?
    • Remove rubidium - you are already using embeddium, which is a fork of rubidium
  • Topics

×
×
  • Create New...

Important Information

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