Jump to content

Recommended Posts

Posted (edited)

Here is My Log. It works fine in dev inviroment, but after I build it, it fails.

2017-09-08 14:09:21,537 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-09-08 14:09:21,537 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[14:09:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:09:21] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[14:09:21] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[14:09:21] [main/INFO] [FML]: Forge Mod Loader version 14.22.0.2474 for Minecraft 1.12.1 loading
[14:09:21] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_25
[14:09:21] [main/INFO] [FML]: Loading tweaker guichaguri.betterfps.tweaker.BetterFpsTweaker from BetterFps-1.4.7.jar
[14:09:21] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in extraalchemy-0.3.4.1-release.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[14:09:21] [main/WARN] [FML]: The coremod zabi.minecraft.extraalchemy.asm.ExtraAlchemyLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[14:09:21] [main/WARN] [FML]: The coremod Extra Alchemy ASM (zabi.minecraft.extraalchemy.asm.ExtraAlchemyLoadingPlugin) is not signed!
[14:09:21] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in Forgelin-1.5.1.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[14:09:21] [main/WARN] [FML]: The coremod net.shadowfacts.forgelin.preloader.ForgelinPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[14:09:21] [main/WARN] [FML]: The coremod ForgelinPlugin (net.shadowfacts.forgelin.preloader.ForgelinPlugin) is not signed!
[14:09:22] [main/INFO] [FML]: Loading tweaker optifine.OptiFineForgeTweaker from OptiFine_1.12.1_HD_U_C5.jar
[14:09:22] [main/WARN] [FML]: Found FMLCorePluginContainsFMLMod marker in Quark-r1.2-104.jar. This is not recommended, @Mods should be in a separate jar from the coremod.
[14:09:22] [main/WARN] [FML]: The coremod vazkii.quark.base.asm.LoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft
[14:09:22] [main/WARN] [FML]: The coremod LoadingPlugin (vazkii.quark.base.asm.LoadingPlugin) is not signed!
[14:09:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:09:22] [main/INFO] [LaunchWrapper]: Loading tweak class name guichaguri.betterfps.tweaker.BetterFpsTweaker
[14:09:22] [main/INFO] [LaunchWrapper]: Loading tweak class name optifine.OptiFineForgeTweaker
[14:09:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:09:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:09:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[14:09:22] [main/INFO] [LaunchWrapper]: Calling tweak class optifine.OptiFineForgeTweaker
[14:09:22] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: acceptOptions
[14:09:22] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: injectIntoClassLoader
[14:09:22] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ClassTransformer
[14:09:22] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine URL: file:/C:/Users/T902/MultiMC/instances/1.12%20modded/minecraft/mods/OptiFine_1.12.1_HD_U_C5.jar
[14:09:22] [main/INFO] [STDOUT]: [optifine.OptiFineClassTransformer:dbg:266]: OptiFine ZIP file: C:\Users\T902\MultiMC\instances\1.12 modded\minecraft\mods\OptiFine_1.12.1_HD_U_C5.jar
[14:09:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
2017-09-08 14:09:23,191 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-09-08 14:09:23,206 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2017-09-08 14:09:23,222 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[14:09:24] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[14:09:24] [main/INFO] [FML]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[14:09:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:09:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:09:24] [main/INFO] [extraalchemy]: Preloading config in ASM Plugin
[14:09:24] [main/INFO] [extraalchemy]: Found valid config string: b:removeglowingeffect=true
[14:09:24] [main/INFO] [extraalchemy]: Potions should not glow
[14:09:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:09:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[14:09:24] [main/INFO] [LaunchWrapper]: Calling tweak class guichaguri.betterfps.tweaker.BetterFpsTweaker
[14:09:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[14:09:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:09:25] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[14:09:25] [main/INFO] [STDOUT]: [optifine.OptiFineForgeTweaker:dbg:56]: OptiFineForgeTweaker: getLaunchArguments
[14:09:25] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[14:09:25] [main/INFO] [BetterFps]: Patching net.minecraft.client.Minecraft... (bib)
[14:09:26] [main/INFO] [BetterFps]: Patching net.minecraft.client.entity.EntityPlayerSP... (bud)
[14:09:26] [main/INFO] [FML]: [Quark ASM] Transforming WorldServer
[14:09:26] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [areAllPlayersAsleep, func_73056_e, g] Descriptor ()Z / ()Z)
[14:09:26] [main/INFO] [FML]: [Quark ASM] Located Method, patching...
[14:09:26] [main/INFO] [FML]: [Quark ASM] Located patch target node L0
[14:09:26] [main/INFO] [FML]: [Quark ASM] Patch result: true
[14:09:26] [main/INFO]: Setting user: <PROFILE NAME>
[14:09:26] [main/INFO] [BetterFps]: Patching net.minecraft.block.Block... (aow)
[14:09:27] [main/INFO] [extraalchemy]: Trying to use 1.12 mappings to patch class
[14:09:27] [main/WARN] [extraalchemy]: Could not find PotionItem method to remove glint. Maybe this is server-side or this version is too new to have mappings
[14:09:27] [main/INFO] [BetterFps]: Patching math utils with "RIVENS_HALF" algorithm
[14:09:28] [main/INFO] [FML]: [Quark ASM] Transforming BlockPistonBase
[14:09:28] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [doMove, func_176319_a, a] Descriptor (Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/EnumFacing;Z)Z / (Lams;Let;Lfa;Z)Z)
[14:09:28] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:28] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [canPush, func_185646_a, a] Descriptor (Lnet/minecraft/block/state/IBlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/EnumFacing;ZLnet/minecraft/util/EnumFacing;)Z / (Lawr;Lams;Let;Lfa;ZLfa;)Z)
[14:09:28] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:28] [main/INFO] [FML]: [Quark ASM] Transforming TileEntityPiston
[14:09:28] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [clearPistonTileEntity, func_145866_f, j] Descriptor ()V / ()V)
[14:09:28] [main/INFO] [FML]: [Quark ASM] Located Method, patching...
[14:09:28] [main/INFO] [FML]: [Quark ASM] Patch result: false
[14:09:28] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [update, func_73660_a, e] Descriptor ()V / ()V)
[14:09:28] [main/INFO] [FML]: [Quark ASM] Located Method, patching...
[14:09:28] [main/INFO] [FML]: [Quark ASM] Patch result: false
[14:09:28] [main/INFO] [BetterFps]: Patching net.minecraft.tileentity.TileEntityBeacon... (avh)
[14:09:29] [main/INFO] [BetterFps]: Patching net.minecraft.block.BlockHopper... (arl)
[14:09:29] [main/INFO] [BetterFps]: Patching net.minecraft.tileentity.TileEntityHopper... (avw)
[14:09:29] [main/INFO] [FML]: [Quark ASM] Transforming EntityBoat
[14:09:29] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [attackEntityFrom, func_70097_a, a] Descriptor (Lnet/minecraft/util/DamageSource;F)Z / (Lup;F)Z)
[14:09:29] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:29] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [onUpdate, func_70071_h_, B_] Descriptor ()V / ()V)
[14:09:29] [main/INFO] [FML]: [Quark ASM] Located Method, patching...
[14:09:29] [main/INFO] [FML]: [Quark ASM] Located patch target node L0
[14:09:29] [main/INFO] [FML]: [Quark ASM] Patch result: true
[14:09:31] [main/INFO] [Config]: [OptiFine] *** Reflector Forge ***
[14:09:32] [main/INFO] [Config]: [OptiFine] (Reflector) Class not present: mods.betterfoliage.client.BetterFoliageClient
[14:09:32] [main/INFO] [BetterFps]: Patching net.minecraft.client.renderer.EntityRenderer... (buq)
[14:09:32] [main/INFO] [FML]: [Quark ASM] Transforming ModelBiped
[14:09:32] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [setRotationAngles, func_78087_a, a] Descriptor (FFFFFFLnet/minecraft/entity/Entity;)V / (FFFFFFLve;)V)
[14:09:32] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:33] [main/INFO] [Config]: [OptiFine] *** Reflector Vanilla ***
[14:09:33] [main/INFO] [BetterFps]: Patching net.minecraft.client.gui.GuiOptions... (ble)
[14:09:33] [main/INFO] [FML]: [Quark ASM] Transforming RenderItem
[14:09:33] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [renderItem, func_180454_a, a] Descriptor (Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/renderer/block/model/IBakedModel;)V / (Lain;Lcfw;)V)
[14:09:33] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:33] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [renderEffect, func_191966_a, a] Descriptor (Lnet/minecraft/client/renderer/block/model/IBakedModel;)V / (Lcfw;)V)
[14:09:33] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:33] [main/INFO] [FML]: [Quark ASM] Transforming RenderBoat
[14:09:33] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [doRender, func_188300_b, b] Descriptor (Lnet/minecraft/entity/item/EntityBoat;DDDFF)V / (Lafb;DDDFF)V)
[14:09:33] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:33] [main/WARN]: Skipping bad option: lastServer:
[14:09:33] [main/INFO]: LWJGL Version: 2.9.1
[14:09:34] [main/INFO] [Config]: [OptiFine] 
[14:09:34] [main/INFO] [Config]: [OptiFine] OptiFine_1.12.1_HD_U_C5
[14:09:34] [main/INFO] [Config]: [OptiFine] Build: 20170807-181132
[14:09:34] [main/INFO] [Config]: [OptiFine] OS: Windows 7 (amd64) version 6.1
[14:09:34] [main/INFO] [Config]: [OptiFine] Java: 1.8.0_25, Oracle Corporation
[14:09:34] [main/INFO] [Config]: [OptiFine] VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
[14:09:34] [main/INFO] [Config]: [OptiFine] LWJGL: 2.9.1
[14:09:34] [main/INFO] [Config]: [OptiFine] OpenGL: Intel(R) HD Graphics 4000, version 3.3.0 - Build 8.15.10.2696, Intel
[14:09:34] [main/INFO] [Config]: [OptiFine] OpenGL Version: 3.3.0
[14:09:34] [main/INFO] [Config]: [OptiFine] OpenGL Fancy fog: Not available (GL_NV_fog_distance)
[14:09:34] [main/INFO] [Config]: [OptiFine] Maximum texture size: 8192x8192
[14:09:34] [Thread-3/INFO] [Config]: [OptiFine] Checking for new version
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] ShadersMod version: 2.4.12
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] OpenGL Version: 3.3.0 - Build 8.15.10.2696
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] Vendor:  Intel
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] Renderer: Intel(R) HD Graphics 4000
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] Capabilities:  2.0  2.1  3.0  3.2  - 
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] GL_MAX_DRAW_BUFFERS: 8
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] GL_MAX_COLOR_ATTACHMENTS_EXT: 8
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] GL_MAX_TEXTURE_IMAGE_UNITS: 16
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] Load ShadersMod configuration.
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] Shaders can not be loaded, Fast Render is enabled.
[14:09:34] [main/INFO] [shadersmod.common.SMCLog]: [Shaders] No shaderpack loaded.
[14:09:34] [main/INFO] [FML]: Forge Mod Loader has detected optifine OptiFine_1.12.1_HD_U_C5, enabling compatibility features
[14:09:34] [main/INFO] [FML]: -- System Details --
Details:
	Minecraft Version: 1.12.1
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 889287688 bytes (848 MB) / 1111490560 bytes (1060 MB) up to 3873964032 bytes (3694 MB)
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4156m
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: 
	Loaded coremods (and transformers): 
LoadingPlugin (Quark-r1.2-104.jar)
  vazkii.quark.base.asm.ClassTransformer
ForgelinPlugin (Forgelin-1.5.1.jar)
  
Extra Alchemy ASM (extraalchemy-0.3.4.1-release.jar)
  zabi.minecraft.extraalchemy.asm.PotionTransformer
	GL info: ' Vendor: 'Intel' Version: '3.3.0 - Build 8.15.10.2696' Renderer: 'Intel(R) HD Graphics 4000'
[14:09:34] [main/INFO] [FML]: MinecraftForge v14.22.0.2474 Initialized
[14:09:34] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[14:09:34] [main/INFO] [FML]: Replaced 1036 ore ingredients
[14:09:35] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[14:09:35] [main/INFO] [FML]: Searching C:\Users\T902\MultiMC\instances\1.12 modded\minecraft\mods for mods
[14:09:35] [Thread-3/INFO] [Config]: [OptiFine] Version found: C5
[14:09:36] [main/WARN] [enderore]: Mod enderore is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.12-b1
[14:09:38] [main/WARN] [subpocket]: Mod subpocket is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version 1.12.1-1.0.1
[14:09:38] [Thread-4/INFO] [FML]: Using alternative sync timing : 200 frames of Display.update took 3149110932 nanos
[14:09:38] [main/INFO] [FML]: Forge Mod Loader has identified 43 mods to load
[14:09:39] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, backslash, mocakes, uncraftingtable, autoreglib, babymobs, xaerobetterpvp, carryon, compactmachines3, cyclopscore, dimensionalores, logicaldrops, enderore, everlastingabilities, extraalchemy, forgelin, friendlyfire, waila, jei, journeymap, jeresources, largeveins, magicalmap, mantle, mininglib, wings, naturescompass, netherchest, psi, quark, shadowmc, shulkerbox, subcommonlib, subpocket, tconstruct, telepads, tcomplement, vc, wawla, withsprinkles] at CLIENT
[14:09:39] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, backslash, mocakes, uncraftingtable, autoreglib, babymobs, xaerobetterpvp, carryon, compactmachines3, cyclopscore, dimensionalores, logicaldrops, enderore, everlastingabilities, extraalchemy, forgelin, friendlyfire, waila, jei, journeymap, jeresources, largeveins, magicalmap, mantle, mininglib, wings, naturescompass, netherchest, psi, quark, shadowmc, shulkerbox, subcommonlib, subpocket, tconstruct, telepads, tcomplement, vc, wawla, withsprinkles] at SERVER
[14:09:44] [main/INFO] [Pulsar-tconstruct]: Skipping Pulse chiselIntegration; missing dependency: chisel
[14:09:44] [main/INFO] [Pulsar-tconstruct]: Skipping Pulse chiselsandbitsIntegration; missing dependency: chiselsandbits
[14:09:44] [main/INFO] [Pulsar-tconstruct]: Skipping Pulse craftingtweaksIntegration; missing dependency: craftingtweaks
[14:09:44] [main/INFO] [Pulsar-tconstruct]: Skipping Pulse WailaIntegration; missing dependency: Waila
[14:09:44] [main/INFO] [Pulsar-tconstruct]: Skipping Pulse theoneprobeIntegration; missing dependency: theoneprobe
[14:09:44] [main/INFO] [tconstruct]: Preparing to take over the world
[14:09:44] [main/INFO] [Pulsar-tcomplement]: Skipping Pulse CeramicsPlugin; missing dependency: ceramics
[14:09:44] [main/INFO]: Reloading ResourceManager: BetterFps, Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:BackSlash API, FMLFileResourcePack:Mo'Cakes, FMLFileResourcePack:Uncrafting Table, FMLFileResourcePack:AutoRegLib, FMLFileResourcePack:Baby Mobs, FMLFileResourcePack:Better PvP, FMLFileResourcePack:Carry On, FMLFileResourcePack:Compact Machines 3, FMLFileResourcePack:Cyclops Core, FMLFileResourcePack:Dimensional Ores, FMLFileResourcePack:Logical Drops, FMLFileResourcePack:Ender Ore, FMLFileResourcePack:EverlastingAbilities, FMLFileResourcePack:Extra Alchemy, FMLFileResourcePack:Shadowfacts' Forgelin, FMLFileResourcePack:Friendly Fire, FMLFileResourcePack:Waila, FMLFileResourcePack:Just Enough Items, FMLFileResourcePack:JourneyMap, FMLFileResourcePack:Just Enough Resources, FMLFileResourcePack:Large Veins, FMLFileResourcePack:Magical Map, FMLFileResourcePack:Mantle, FMLFileResourcePack:MiningLib, FMLFileResourcePack:Wings Mod(Snapshot), FMLFileResourcePack:Nature's Compass, FMLFileResourcePack:Nether Chest, FMLFileResourcePack:Psi, FMLFileResourcePack:Quark, FMLFileResourcePack:ShadowMC, FMLFileResourcePack:Shulkerbox, FMLFileResourcePack:Subaraki's Common Library, FMLFileResourcePack:subpocket, FMLFileResourcePack:Tinkers' Construct, FMLFileResourcePack:Telepads, FMLFileResourcePack:Tinkers' Complement, FMLFileResourcePack:ViesCraft, FMLFileResourcePack:What Are We Looking At, FMLFileResourcePack:With Sprinkles, quark-texture-proxy, NoBlur1_0.zip
[14:09:44] [main/WARN]: ResourcePack: ignored non-lowercase namespace: .DS_Store in C:\Users\T902\MultiMC\instances\1.12 modded\minecraft\resourcepacks\NoBlur1_0.zip
[14:09:44] [main/INFO] [FML]: Processing ObjectHolder annotations
[14:09:45] [main/INFO] [FML]: Found 1205 ObjectHolder annotations
[14:09:45] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[14:09:45] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[14:09:45] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[14:09:45] [Forge Version Check/INFO] [ForgeVersionCheck]: [uncraftingtable] Starting version check at https://raw.githubusercontent.com/crazysnailboy/UncraftingTable/1.12/update.json
[14:09:45] [main/ERROR] [FML]: Error building events.
java.lang.RuntimeException: java.lang.ClassNotFoundException: mods.giantnuker.backslash.entity.interfaces.EntityPlayerInstanceHelper
	at org.objectweb.asm.ClassWriter.getCommonSuperClass(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.ClassWriter.a(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.Frame.a(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.Frame.a(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.tree.MethodNode.accept(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at org.objectweb.asm.tree.ClassNode.accept(Unknown Source) ~[asm-all-5.2.jar:5.2]
	at net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer.transform(EventSubscriptionTransformer.java:85) [forge-1.12.1-14.22.0.2474-universal.jar:?]
	at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:258) [ASMTransformerWrapper$TransformerWrapper.class:?]
	at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) [launchwrapper-1.12.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [?:1.8.0_25]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [?:1.8.0_25]
	at mods.giantnuker.backslash.BackSlash.preInit(BackSlash.java:83) [BackSlash.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
	at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:609) [FMLModContainer.class:?]
	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [guava-21.0.jar:?]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [guava-21.0.jar:?]
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [guava-21.0.jar:?]
	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [guava-21.0.jar:?]
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) [LoadController.class:?]
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) [LoadController.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) [guava-21.0.jar:?]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) [guava-21.0.jar:?]
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) [guava-21.0.jar:?]
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) [guava-21.0.jar:?]
	at com.google.common.eventbus.EventBus.post(EventBus.java:217) [guava-21.0.jar:?]
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) [LoadController.class:?]
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:604) [Loader.class:?]
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266) [FMLClientHandler.class:?]
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466) [bib.class:?]
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377) [bib.class:?]
	at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_25]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_25]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0_25]
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:236) [NewLaunch.jar:?]
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:297) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.listen(EntryPoint.java:162) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.main(EntryPoint.java:53) [NewLaunch.jar:?]
[14:09:46] [main/INFO] [FML]: [Quark ASM] Transforming TileEntityPistonRenderer
[14:09:46] [main/INFO] [FML]: [Quark ASM] Applying Transformation to method (Names [renderStateModel, func_188186_a, a] Descriptor (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/state/IBlockState;Lnet/minecraft/client/renderer/BufferBuilder;Lnet/minecraft/world/World;Z)Z / (Let;Lawr;Lbui;Lams;Z)Z)
[14:09:46] [main/INFO] [FML]: [Quark ASM] Failed to locate the method!
[14:09:47] [main/INFO] [FML]: [Quark] Module tweaks is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module experimental is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module world is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module decoration is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module misc is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module automation is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module vanity is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module management is enabled
[14:09:47] [main/INFO] [FML]: [Quark] Module building is enabled
[14:09:47] [Forge Version Check/INFO] [ForgeVersionCheck]: [uncraftingtable] Found status: OUTDATED Target: 1.8-beta5
[14:09:47] [Forge Version Check/INFO] [ForgeVersionCheck]: [babymobs] Starting version check at https://raw.githubusercontent.com/Furgl/BabyMobs/1.12/update.json
[14:09:48] [Forge Version Check/INFO] [ForgeVersionCheck]: [babymobs] Found status: BETA Target: null
[14:09:48] [Forge Version Check/INFO] [ForgeVersionCheck]: [carryon] Starting version check at https://gist.githubusercontent.com/Tschipp/dccadee7c90d7a34e6e76a35d9d6fa2e/raw/
[14:09:48] [main/INFO] [compactmachines3]: Loading configuration
[14:09:48] [main/INFO] [compactmachines3]: Registering dimension type: 144
[14:09:48] [main/INFO] [compactmachines3]: Registering Compact Machines 3 dimension: 144
[14:09:48] [main/INFO] [compactmachines3]: Registered null handler for capability: net.minecraftforge.items.IItemHandler
[14:09:48] [main/INFO] [compactmachines3]: Registered null handler for capability: net.minecraftforge.fluids.capability.IFluidHandler
[14:09:48] [main/INFO] [compactmachines3]: Registered null handler for capability: net.minecraftforge.energy.IEnergyStorage
[14:09:48] [main/INFO] [compactmachines3]: Trying to tell Waila about us
[14:09:49] [main/INFO] [MiningLib]: log.info.preinit
[14:09:49] [main/INFO] [STDOUT]: [com.hobojoe.enderore.EnderOre:preInit:30]: Ender Ore is loading!
[14:09:49] [main/INFO] [extraalchemy]: Registering Items
[14:09:49] [Extra Alchemy Version Checker/INFO] [extraalchemy]: Extra Alchemy Version Checking
[14:09:49] [main/INFO] [extraalchemy]: Registering Network Protocol
[14:09:49] [main/INFO] [journeymap]: No plugins for JourneyMap API discovered.
[14:09:49] [main/INFO] [jeresources]: Loading configs..
[14:09:49] [main/INFO] [jeresources]: Updating ModMetaData...
[14:09:49] [main/INFO] [jeresources]: Providing API...
[14:09:49] [main/INFO] [LargeVeins|Compat]: The mod %s was not loaded, skipping compatibility module
[14:09:49] [main/INFO] [LargeVeins|Compat]: The mod %s was not loaded, skipping compatibility module
[14:09:50] [main/INFO] [ViesCraft]: Good news everyone! The config has been loaded!
[14:09:50] [main/INFO] [ViesCraft]: <<==============================>>
[14:09:50] [main/INFO] [ViesCraft]:         Pre Init Complete.        
[14:09:50] [main/INFO] [ViesCraft]: <<==============================>>
[14:09:50] [Extra Alchemy Version Checker/INFO] [extraalchemy]: Extra Alchemy is up-to-date (36)
[14:09:50] [Forge Version Check/INFO] [ForgeVersionCheck]: [carryon] Found status: BETA Target: null
[14:09:50] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[14:09:50] [main/INFO] [STDOUT]: [com.tacosupremes.withsprinkles.ModConfig:isBlockEnabled:62]: Auto Dropper  true
[14:09:50] [main/INFO] [STDOUT]: [com.tacosupremes.withsprinkles.ModConfig:isBlockEnabled:62]: Obsidian Hopper  true
[14:09:50] [main/INFO] [STDOUT]: [com.tacosupremes.withsprinkles.ModConfig:isBlockEnabled:62]: Rain Detector  true
[14:09:50] [main/INFO] [STDOUT]: [com.tacosupremes.withsprinkles.ModConfig:isBlockEnabled:62]: Bound Ender Chest  true
[14:09:51] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: BETA Target: null
[14:09:51] [Forge Version Check/INFO] [ForgeVersionCheck]: [shadowmc] Starting version check at https://update.shadowfacts.net/shadowmc
[14:09:51] [Extra Alchemy Contributor Poll/INFO] [extraalchemy]: Contributors updated! Found 7 contributors
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: -----Starting Block Registration-----
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Block "mocakes:cake_plain" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Block "mocakes:cake_sponge" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Block "mocakes:cake_healing" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Block "mocakes:cake_bouncy" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Block "mocakes:cake_poisonous" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Block "mocakes:cake_withering" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: -----Finished Block Registration-----
[14:09:52] [main/INFO] [FML]: Applying holder lookups
[14:09:52] [main/INFO] [FML]: Holder lookups applied
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: -----Starting Item Registration-----
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_pan" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:batter_plain" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_plain" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:batter_sponge" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_sponge" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:batter_healing" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_healing" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:batter_bouncy" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_bouncy" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:batter_poisonous" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_poisonous" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:batter_withering" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "mocakes:cake_withering" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "wings:wing" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: Registered Item "wings:wing_attacher" into forge registry
[14:09:52] [main/INFO] [STDOUT]: [mods.giantnuker.backslash.Logger:logMsg:15]: [BackSlash API]: -----Finished Item Registration-----
[14:09:52] [main/INFO] [FML]: Applying holder lookups
[14:09:52] [main/INFO] [FML]: Holder lookups applied
[14:09:52] [main/INFO] [FML]: Applying holder lookups
[14:09:52] [main/INFO] [FML]: Holder lookups applied
[14:09:52] [main/INFO] [extraalchemy]: Registering models
[14:09:52] [main/INFO] [FML]: Applying holder lookups
[14:09:52] [main/INFO] [FML]: Holder lookups applied
[14:09:52] [main/INFO] [FML]: Injecting itemstacks
[14:09:52] [main/INFO] [FML]: Itemstack injection complete
[14:09:52] [main/FATAL] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
[14:09:52] [main/FATAL] [FML]: 
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State | ID                   | Version         | Source                                     | Signature                                |
	|:----- |:-------------------- |:--------------- |:------------------------------------------ |:---------------------------------------- |
	| UCH   | minecraft            | 1.12.1          | minecraft.jar                              | None                                     |
	| UCH   | mcp                  | 9.19            | minecraft.jar                              | None                                     |
	| UCH   | FML                  | 8.0.99.99       | forge-1.12.1-14.22.0.2474-universal.jar    | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCH   | forge                | 14.22.0.2474    | forge-1.12.1-14.22.0.2474-universal.jar    | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCH   | backslash            | 1.12-3.0.0      | [1.12]BackSlash[3.0.0].jar                 | None                                     |
	| UCH   | mocakes              | 1.12-1.0.0      | [1.12]MoCakes[1.0.0].jar                   | None                                     |
	| UCH   | uncraftingtable      | 1.8-beta4       | [1.12]UncraftingTable-1.8-beta4.jar        | None                                     |
	| UCH   | psi                  | r1.1-52         | Psi-r1.1-52.jar                            | None                                     |
	| UCH   | quark                | r1.2-104        | Quark-r1.2-104.jar                         | None                                     |
	| UCH   | autoreglib           | 1.3-13          | AutoRegLib-1.3-13.jar                      | None                                     |
	| UCH   | babymobs             | 1.5.4           | BabyMobs-1.12-1.5.4.jar                    | None                                     |
	| UCH   | xaerobetterpvp       | 1.13.5          | BetterPvP_1.13.5_Forge_1.12.jar            | None                                     |
	| UCH   | carryon              | 1.3             | CarryOn MC1.12 v1.3.jar                    | None                                     |
	| UCH   | compactmachines3     | 3.0.0           | compactmachines3-1.12.1-3.0.0-b126.jar     | None                                     |
	| UCH   | cyclopscore          | 0.10.12         | CyclopsCore-1.12-0.10.12.jar               | None                                     |
	| UCH   | mininglib            | 1.0.0           | mininglib-1.12-1.0.0.jar                   | None                                     |
	| UCH   | dimensionalores      | 1.12-1.0.1      | dimensionalores-1.12-1.0.1.jar             | None                                     |
	| UCH   | logicaldrops         | 0.9.4           | EM3R50N-LogicalDrops-1.12-14.21.1.2387.jar | None                                     |
	| UCH   | enderore             | 1.12-b1         | Ender Ore-1.12-b2.jar                      | None                                     |
	| UCH   | everlastingabilities | 1.3.2           | EverlastingAbilities-1.12-1.3.2.jar        | None                                     |
	| UCH   | extraalchemy         | 0.3.4.1-release | extraalchemy-0.3.4.1-release.jar           | None                                     |
	| UCH   | forgelin             | 1.5.1           | Forgelin-1.5.1.jar                         | None                                     |
	| UCH   | friendlyfire         | 1.5.5           | FriendlyFire-1.12-1.5.5.jar                | None                                     |
	| UCH   | waila                | 1.8.20          | Hwyla-1.8.20-B35_1.12.jar                  | None                                     |
	| UCH   | jei                  | 4.7.5.85        | jei_1.12-4.7.5.85.jar                      | None                                     |
	| UCH   | journeymap           | 1.12-5.4.9      | journeymap-1.12-5.4.9.jar                  | None                                     |
	| UCH   | jeresources          | 0.8.3.23        | JustEnoughResources-1.12-0.8.3.23.jar      | None                                     |
	| UCH   | shadowmc             | 3.8.0           | ShadowMC-1.12-3.8.0.jar                    | None                                     |
	| UCH   | largeveins           | @VERSION@       | LargeVeins-1.12-1.1.0.jar                  | None                                     |
	| UCH   | magicalmap           | 2.2.0           | Magical Map-1.12-2.2.0.jar                 | None                                     |
	| UCH   | mantle               | 1.12-1.3.1.18   | Mantle-1.12-1.3.1.18.jar                   | None                                     |
	| UCE   | wings                | 1.12-1.0.0      | modid-1.0.jar                              | None                                     |
	| UCH   | naturescompass       | 1.5.0           | NaturesCompass-1.12-1.5.0.jar              | None                                     |
	| UCH   | netherchest          | 0.2.1           | netherchest-0.2.1.jar                      | None                                     |
	| UCH   | shulkerbox           | 1.2.1           | shulkerbox-1.2.1.jar                       | None                                     |
	| UCH   | subcommonlib         | 1.2.0.1         | subcommonlib-sublib-1.12-1.2.0.1.jar       | None                                     |
	| UCH   | subpocket            | 1.12.1-1.0.1    | subpocket-1.12.1-1.0.1.jar                 | None                                     |
	| UCH   | tconstruct           | 1.12-2.7.2.15   | TConstruct-1.12-2.7.2.15.jar               | None                                     |
	| UCH   | telepads             | 1.11.2-1.0.2.1  | telepads-1.12-1.0.2.1.jar                  | None                                     |
	| UCH   | tcomplement          | ${version}      | TinkersComplement-1.12.1-0.2.0.jar         | None                                     |
	| UCH   | vc                   | 5.0.6           | ViesCraft-1.12.0-5.0.6.jar                 | None                                     |
	| UCH   | wawla                | 2.5.239         | Wawla-1.12-2.5.239.jar                     | None                                     |
	| UCH   | withsprinkles        | 1.08            | With Sprinkles-1.08.jar                    | None                                     |

[14:09:52] [main/FATAL] [FML]: The following problems were captured during this phase
[14:09:52] [main/ERROR] [FML]: Caught exception from wings (net.minecraftforge.fml.relauncher.ReflectionHelper$UnableToFindMethodException: java.lang.NoSuchMethodException: net.minecraft.entity.Entity.setFlag(int, boolean))
[14:09:53] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:553]: ---- Minecraft Crash Report ----

WARNING: coremods are present:
  LoadingPlugin (Quark-r1.2-104.jar)
  ForgelinPlugin (Forgelin-1.5.1.jar)
  Extra Alchemy ASM (extraalchemy-0.3.4.1-release.jar)
Contact their authors BEFORE contacting forge

// Would you like a cupcake?

Time: 9/8/17 2:09 PM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Wings Mod(Snapshot) (wings)
Caused by: net.minecraftforge.fml.relauncher.ReflectionHelper$UnableToFindMethodException: java.lang.NoSuchMethodException: net.minecraft.entity.Entity.setFlag(int, boolean)
	at net.minecraftforge.fml.relauncher.ReflectionHelper.findMethod(ReflectionHelper.java:220)
	at mods.giantnuker.wings.WingsMod.preInit(WingsMod.java:85)
	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:609)
	at sun.reflect.GeneratedMethodAccessor5.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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253)
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231)
	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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:604)
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266)
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	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)
	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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:236)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:297)
	at org.multimc.EntryPoint.listen(EntryPoint.java:162)
	at org.multimc.EntryPoint.main(EntryPoint.java:53)
Caused by: java.lang.NoSuchMethodException: net.minecraft.entity.Entity.setFlag(int, boolean)
	at java.lang.Class.getDeclaredMethod(Class.java:2122)
	at net.minecraftforge.fml.relauncher.ReflectionHelper.findMethod(ReflectionHelper.java:214)
	... 49 more


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.12.1
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_25, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1445998328 bytes (1379 MB) / 1979711488 bytes (1888 MB) up to 3873964032 bytes (3694 MB)
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx4156m
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.41 Powered by Forge 14.22.0.2474 Optifine OptiFine_1.12.1_HD_U_C5 43 mods loaded, 43 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State | ID                   | Version         | Source                                     | Signature                                |
	|:----- |:-------------------- |:--------------- |:------------------------------------------ |:---------------------------------------- |
	| UCH   | minecraft            | 1.12.1          | minecraft.jar                              | None                                     |
	| UCH   | mcp                  | 9.19            | minecraft.jar                              | None                                     |
	| UCH   | FML                  | 8.0.99.99       | forge-1.12.1-14.22.0.2474-universal.jar    | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCH   | forge                | 14.22.0.2474    | forge-1.12.1-14.22.0.2474-universal.jar    | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCH   | backslash            | 1.12-3.0.0      | [1.12]BackSlash[3.0.0].jar                 | None                                     |
	| UCH   | mocakes              | 1.12-1.0.0      | [1.12]MoCakes[1.0.0].jar                   | None                                     |
	| UCH   | uncraftingtable      | 1.8-beta4       | [1.12]UncraftingTable-1.8-beta4.jar        | None                                     |
	| UCH   | psi                  | r1.1-52         | Psi-r1.1-52.jar                            | None                                     |
	| UCH   | quark                | r1.2-104        | Quark-r1.2-104.jar                         | None                                     |
	| UCH   | autoreglib           | 1.3-13          | AutoRegLib-1.3-13.jar                      | None                                     |
	| UCH   | babymobs             | 1.5.4           | BabyMobs-1.12-1.5.4.jar                    | None                                     |
	| UCH   | xaerobetterpvp       | 1.13.5          | BetterPvP_1.13.5_Forge_1.12.jar            | None                                     |
	| UCH   | carryon              | 1.3             | CarryOn MC1.12 v1.3.jar                    | None                                     |
	| UCH   | compactmachines3     | 3.0.0           | compactmachines3-1.12.1-3.0.0-b126.jar     | None                                     |
	| UCH   | cyclopscore          | 0.10.12         | CyclopsCore-1.12-0.10.12.jar               | None                                     |
	| UCH   | mininglib            | 1.0.0           | mininglib-1.12-1.0.0.jar                   | None                                     |
	| UCH   | dimensionalores      | 1.12-1.0.1      | dimensionalores-1.12-1.0.1.jar             | None                                     |
	| UCH   | logicaldrops         | 0.9.4           | EM3R50N-LogicalDrops-1.12-14.21.1.2387.jar | None                                     |
	| UCH   | enderore             | 1.12-b1         | Ender Ore-1.12-b2.jar                      | None                                     |
	| UCH   | everlastingabilities | 1.3.2           | EverlastingAbilities-1.12-1.3.2.jar        | None                                     |
	| UCH   | extraalchemy         | 0.3.4.1-release | extraalchemy-0.3.4.1-release.jar           | None                                     |
	| UCH   | forgelin             | 1.5.1           | Forgelin-1.5.1.jar                         | None                                     |
	| UCH   | friendlyfire         | 1.5.5           | FriendlyFire-1.12-1.5.5.jar                | None                                     |
	| UCH   | waila                | 1.8.20          | Hwyla-1.8.20-B35_1.12.jar                  | None                                     |
	| UCH   | jei                  | 4.7.5.85        | jei_1.12-4.7.5.85.jar                      | None                                     |
	| UCH   | journeymap           | 1.12-5.4.9      | journeymap-1.12-5.4.9.jar                  | None                                     |
	| UCH   | jeresources          | 0.8.3.23        | JustEnoughResources-1.12-0.8.3.23.jar      | None                                     |
	| UCH   | shadowmc             | 3.8.0           | ShadowMC-1.12-3.8.0.jar                    | None                                     |
	| UCH   | largeveins           | @VERSION@       | LargeVeins-1.12-1.1.0.jar                  | None                                     |
	| UCH   | magicalmap           | 2.2.0           | Magical Map-1.12-2.2.0.jar                 | None                                     |
	| UCH   | mantle               | 1.12-1.3.1.18   | Mantle-1.12-1.3.1.18.jar                   | None                                     |
	| UCE   | wings                | 1.12-1.0.0      | modid-1.0.jar                              | None                                     |
	| UCH   | naturescompass       | 1.5.0           | NaturesCompass-1.12-1.5.0.jar              | None                                     |
	| UCH   | netherchest          | 0.2.1           | netherchest-0.2.1.jar                      | None                                     |
	| UCH   | shulkerbox           | 1.2.1           | shulkerbox-1.2.1.jar                       | None                                     |
	| UCH   | subcommonlib         | 1.2.0.1         | subcommonlib-sublib-1.12-1.2.0.1.jar       | None                                     |
	| UCH   | subpocket            | 1.12.1-1.0.1    | subpocket-1.12.1-1.0.1.jar                 | None                                     |
	| UCH   | tconstruct           | 1.12-2.7.2.15   | TConstruct-1.12-2.7.2.15.jar               | None                                     |
	| UCH   | telepads             | 1.11.2-1.0.2.1  | telepads-1.12-1.0.2.1.jar                  | None                                     |
	| UCH   | tcomplement          | ${version}      | TinkersComplement-1.12.1-0.2.0.jar         | None                                     |
	| UCH   | vc                   | 5.0.6           | ViesCraft-1.12.0-5.0.6.jar                 | None                                     |
	| UCH   | wawla                | 2.5.239         | Wawla-1.12-2.5.239.jar                     | None                                     |
	| UCH   | withsprinkles        | 1.08            | With Sprinkles-1.08.jar                    | None                                     |

	Loaded coremods (and transformers): 
LoadingPlugin (Quark-r1.2-104.jar)
  vazkii.quark.base.asm.ClassTransformer
ForgelinPlugin (Forgelin-1.5.1.jar)
  
Extra Alchemy ASM (extraalchemy-0.3.4.1-release.jar)
  zabi.minecraft.extraalchemy.asm.PotionTransformer
	GL info: ' Vendor: 'Intel' Version: '3.3.0 - Build 8.15.10.2696' Renderer: 'Intel(R) HD Graphics 4000'
	Pulsar/tconstruct loaded Pulses: 
		- TinkerCommons (Enabled/Forced)
		- TinkerWorld (Enabled/Not Forced)
		- TinkerTools (Enabled/Not Forced)
		- TinkerHarvestTools (Enabled/Forced)
		- TinkerMeleeWeapons (Enabled/Forced)
		- TinkerRangedWeapons (Enabled/Forced)
		- TinkerModifiers (Enabled/Forced)
		- TinkerSmeltery (Enabled/Not Forced)
		- TinkerGadgets (Enabled/Not Forced)
		- TinkerOredict (Enabled/Forced)
		- TinkerIntegration (Enabled/Forced)
		- TinkerFluids (Enabled/Forced)
		- TinkerMaterials (Enabled/Forced)
		- TinkerModelRegister (Enabled/Forced)

	Pulsar/tcomplement loaded Pulses: 
		- ModuleCommons (Enabled/Forced)
		- ModuleFeature (Enabled/Not Forced)

	OptiFine Version: OptiFine_1.12.1_HD_U_C5
	Render Distance Chunks: 5
	Mipmaps: 4
	Anisotropic Filtering: 1
	Antialiasing: 0
	Multitexture: false
	Shaders: null
	OpenGlVersion: 3.3.0 - Build 8.15.10.2696
	OpenGlRenderer: Intel(R) HD Graphics 4000
	OpenGlVendor: Intel
	CpuCount: 4
[14:09:53] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:func_179870_a:553]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\T902\MultiMC\instances\1.12 modded\minecraft\crash-reports\crash-2017-09-08_14.09.52-client.txt
Process exited with code -1.

Yes, I have other mods but I tested it with only this one and got the same result.

ReflectionHelper code(Yes, my mod triggers crash because it will just crash later without this method.)

try {
			setFlagMethod = ReflectionHelper.findMethod(Entity.class, "setFlag", null, int.class, boolean.class);
		} catch (SecurityException err) {
			err.printStackTrace();
			FMLCommonHandler.instance().exitJava(1, false);
		}

log section with problem:

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Wings Mod(Snapshot) (wings)
Caused by: net.minecraftforge.fml.relauncher.ReflectionHelper$UnableToFindMethodException: java.lang.NoSuchMethodException: net.minecraft.entity.Entity.setFlag(int, boolean)
	at net.minecraftforge.fml.relauncher.ReflectionHelper.findMethod(ReflectionHelper.java:220)
	at mods.giantnuker.wings.WingsMod.preInit(WingsMod.java:85)
	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:609)
	at sun.reflect.GeneratedMethodAccessor5.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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253)
	at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231)
	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.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
	at com.google.common.eventbus.EventBus.post(EventBus.java:217)
	at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148)
	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:604)
	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:266)
	at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:466)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:377)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	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)
	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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:236)
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:297)
	at org.multimc.EntryPoint.listen(EntryPoint.java:162)
	at org.multimc.EntryPoint.main(EntryPoint.java:53)
Caused by: java.lang.NoSuchMethodException: net.minecraft.entity.Entity.setFlag(int, boolean)
	at java.lang.Class.getDeclaredMethod(Class.java:2122)
	at net.minecraftforge.fml.relauncher.ReflectionHelper.findMethod(ReflectionHelper.java:214)
	... 49 more

 

Edited by GiantNuker
Posted (edited)
2 hours ago, diesieben07 said:
  • Why are you even calling setFlag? You should not be using that method for entities that are not yours. And for entities that are yours, you will have access to it without reflection.
  • You must provide the SRG name for the method if it is part of vanilla minecraft (i.e. it gets obfuscated).

I'm SetFlagging the player.

And where do I find SRG names?

Edited by GiantNuker
Posted
Just now, diesieben07 said:

What flag are you setting? Why?

Elytra glide flag

Because with my wings mod, players should be able to glide and hover with wings, that's for the glideing part.

Posted
1 minute ago, GiantNuker said:

Elytra glide flag

Because with my wings mod, players should be able to glide and hover with wings, that's for the glideing part.

An example of the wings is my profile picture(hovering)

Posted
1 minute ago, diesieben07 said:

Use the already public methods that set this flag instead of hacking into the internals.

what's the set method name name, all I could find is "isElytraFlying" which is a Getter, not a Setter.

Posted
1 minute ago, diesieben07 said:

What? No.

You have to replicate the things that are done in those EntityLivingBase methods using other means, such as event handlers.

But won't the vanilla methods execute first, effectively calling "setFlag(7, false)"

Posted (edited)
@SubscribeEvent
	public void setElytra(TickEvent.PlayerTickEvent te) {
		//if (?)
		if (te.player instanceof EntityPlayerMP)
		((EntityPlayerMP) te.player).setElytraFlying();
	}

@diesieben07 This works, But what do I put in the If?

Edited by GiantNuker
Posted

Solved! :D

@SubscribeEvent
	public void setElytra(TickEvent.PlayerTickEvent te) {
		if (te.player instanceof EntityPlayerMP)
			if (WingsMod.pgl.containsKey(te.player) && WingsMod.pgl.get(te.player))
				((EntityPlayerMP) te.player).setElytraFlying();
	}

pgl stancds for playerGlideList.

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

    • It is 1.12.2 - I have no idea if there is a 1.12 pack
    • Okay, but does the modpack works with 1.12 or just with 1.12.2, because I need the Forge client specifically for Minecraft 1.12, not 1.12.2
    • 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() ); } }  
  • Topics

×
×
  • Create New...

Important Information

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