Jump to content

[SOLVED!] Problems Exporting Mod Into Zip [1.6] [Dimension]


LazerMan47

Recommended Posts

Im  currently working on  a fun mod called "The Derpy Pig Mod".  It's based on resinresin's Derpy Squid Mod.  I spent days on trying to get the mod to work and finally got the following features:

 

 

-Tools

-Dimension

-Mobs (One is a WIP)

-Blocks

-Biome (Used in the dimension)

-Portal Block

 

 

 

This mod works fine in eclipse, but once i export it to a ZIP and put it into the "mods" folder, whenever i open a world, my minecraft crashes.  Here is the console output(It doesnt give me a crash report :/):

 

 

Launcher 1.2.2 (through bootstrap 5) started on windows...

Current time is Sep 11, 2013 8:20:34 PM

System.getProperty('os.name') == 'Windows 7'

System.getProperty('os.version') == '6.1'

System.getProperty('os.arch') == 'amd64'

System.getProperty('java.version') == '1.7.0_25'

System.getProperty('java.vendor') == 'Oracle Corporation'

System.getProperty('sun.arch.data.model') == '64'

Refreshing local version list...

Refreshing remote version list...

Refresh complete.

Loaded 4 profile(s); selected 'ForgeRecc'

Refreshing auth...

Logging in with access token

Delta time to compare resources: 411 ms

Download job 'Resources' skipped as there are no files to download

Job 'Resources' finished successfully

Getting syncinfo for selected version

Queueing library & version downloads

Download job 'Version & Libraries' started (8 threads, 24 files)

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries': Used own copy as it matched etag

Finished downloading C:\Users\User\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.857\1.6.2-Forge9.10.1.857.jar for job 'Version & Libraries': Couldn't connect to server (responded with 403) but have local file, assuming it's good

Job 'Version & Libraries' finished successfully

Launching game

Looking for old natives to clean up...

Unpacking natives to C:\Users\User\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.857\1.6.2-Forge9.10.1.857-natives-253050688037439

Launching in C:\Users\User\AppData\Roaming\.minecraft

Running C:\Program Files\Java\jre7\bin\javaw.exe -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -Djava.library.path=C:\Users\User\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.857\1.6.2-Forge9.10.1.857-natives-253050688037439 -cp C:\Users\User\AppData\Roaming\.minecraft\libraries\net\minecraftforge\minecraftforge\9.10.1.857\minecraftforge-9.10.1.857.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.3\launchwrapper-1.3.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.10.2\scala-library-2.10.2.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.10.2\scala-compiler-2.10.2.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\argo\argo\2.25_fixed\argo-2.25_fixed.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\bouncycastle\bcprov-jdk15on\1.47\bcprov-jdk15on-1.47.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\14.0\guava-14.0.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.2\gson-2.2.2.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\User\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\User\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.857\1.6.2-Forge9.10.1.857.jar net.minecraft.launchwrapper.Launch --username LazerMan47 --session token:4877f395fd3344918ed082d1971f6c9b:582ca9c4f3ec4289bc7fbce49149c4e6 --version 1.6.2-Forge9.10.1.857 --gameDir C:\Users\User\AppData\Roaming\.minecraft --assetsDir C:\Users\User\AppData\Roaming\.minecraft\assets --tweakClass cpw.mods.fml.common.launcher.FMLTweaker

Client> Sep 11, 2013 8:20:36 PM net.minecraft.launchwrapper.LogWrapper log

Client> INFO: Using tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Client> 2013-09-11 20:20:37 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.2.60.857 for Minecraft 1.6.2 loading

Client> 2013-09-11 20:20:37 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7

Client> 2013-09-11 20:20:37 [iNFO] [sTDOUT] Loaded 39 rules from AccessTransformer config file fml_at.cfg

Client> 2013-09-11 20:20:37 [iNFO] [sTDOUT] Loaded 107 rules from AccessTransformer config file forge_at.cfg

Client> 2013-09-11 20:20:38 [iNFO] [ForgeModLoader] Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557

Client> 2013-09-11 20:20:38 [iNFO] [ForgeModLoader] Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc

Client> 2013-09-11 20:20:38 [iNFO] [ForgeModLoader] Launching wrapped minecraft

Client> 2013-09-11 20:20:40 [iNFO] [Minecraft-Client] Setting user: LazerMan47

Client> 2013-09-11 20:20:40 [iNFO] [Minecraft-Client] (Session ID is token:4877f395fd3344918ed082d1971f6c9b:582ca9c4f3ec4289bc7fbce49149c4e6)

Client> 2013-09-11 20:20:41 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0

Client> 2013-09-11 20:20:42 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT] Starting up SoundSystem...

Client> 2013-09-11 20:20:42 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT] MinecraftForge v9.10.1.857 Initialized

Client> 2013-09-11 20:20:42 [iNFO] [ForgeModLoader] MinecraftForge v9.10.1.857 Initialized

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT] Replaced 101 ore recipies

Client> 2013-09-11 20:20:42 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

Client> 2013-09-11 20:20:42 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\User\AppData\Roaming\.minecraft\config\logging.properties

Client> 2013-09-11 20:20:42 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

Client> 2013-09-11 20:20:42 [iNFO] [sTDOUT] OpenAL initialized.

Client> 2013-09-11 20:20:42 [iNFO] [ForgeModLoader] Searching C:\Users\User\AppData\Roaming\.minecraft\mods for mods

Client> 2013-09-11 20:20:43 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:44 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

Client> 2013-09-11 20:20:44 [iNFO] [mcp] Activating mod mcp

Client> 2013-09-11 20:20:44 [iNFO] [FML] Activating mod FML

Client> 2013-09-11 20:20:44 [iNFO] [Forge] Activating mod Forge

Client> 2013-09-11 20:20:44 [iNFO] [derpypig] Activating mod derpypig

Client> 2013-09-11 20:20:44 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well

Client> 2013-09-11 20:20:44 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well

Client> 2013-09-11 20:20:44 [WARNING] [Derpy Pig Mod] Mod Derpy Pig Mod is missing a pack.mcmeta file, things may not work well

Client> 2013-09-11 20:20:44 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Derpy Pig Mod

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT] SoundSystem shutting down...

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT]    Author: Paul Lamb, www.paulscode.com

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT] Starting up SoundSystem...

Client> 2013-09-11 20:20:44 [iNFO] [ForgeModLoader] Registering Forge Packet Handler

Client> 2013-09-11 20:20:44 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler

Client> 2013-09-11 20:20:44 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

Client> 2013-09-11 20:20:44 [iNFO] [sTDOUT] OpenAL initialized.

Client> 2013-09-11 20:20:45 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:45 [sEVERE] [ForgeModLoader] The mod derpypig has attempted to register an entity ID 53 which is already reserved. This could cause severe problems

Client> 2013-09-11 20:20:46 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods

Client> 2013-09-11 20:20:46 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well

Client> 2013-09-11 20:20:46 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well

Client> 2013-09-11 20:20:46 [WARNING] [Derpy Pig Mod] Mod Derpy Pig Mod is missing a pack.mcmeta file, things may not work well

Client> 2013-09-11 20:20:46 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Derpy Pig Mod

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT] SoundSystem shutting down...

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT]    Author: Paul Lamb, www.paulscode.com

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT] Starting up SoundSystem...

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

Client> 2013-09-11 20:20:46 [iNFO] [sTDOUT] OpenAL initialized.

Client> 2013-09-11 20:20:47 [iNFO] [sTDOUT]

Client> 2013-09-11 20:20:58 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.2

Client> 2013-09-11 20:20:58 [iNFO] [Minecraft-Server] Generating keypair

Client> 2013-09-11 20:20:59 [sEVERE] [fml.ItemTracker] FML has detected item discrepancies

Client> 2013-09-11 20:20:59 [sEVERE] [fml.ItemTracker] Missing items : {}

Client> 2013-09-11 20:20:59 [sEVERE] [fml.ItemTracker] Mismatched items : {255=(Item 255, Type lazerman47.derpypig.Blocks.BlockPigicite, owned by derpypig, ordinal 0, name derpypiglazerman47.derpypig.Blocks.BlockPigicite@75b57da2, claimedModId null, Item 255, Type lazerman47.derpypig.Blocks.BlockPigicite, owned by derpypig, ordinal 0, name derpypiglazerman47.derpypig.Blocks.BlockPigicite@47ba8be7, claimedModId null), 2000=(Item 2000, Type lazerman47.derpypig.Blocks.BlockPigness, owned by derpypig, ordinal 0, name derpypiglazerman47.derpypig.Blocks.BlockPigness@33721fb4, claimedModId null, Item 2000, Type lazerman47.derpypig.Blocks.BlockPigness, owned by derpypig, ordinal 0, name derpypiglazerman47.derpypig.Blocks.BlockPigness@3184cf6a, claimedModId null), 2001=(Item 2001, Type lazerman47.derpypig.Blocks.BlockButterPigness, owned by derpypig, ordinal 0, name derpypiglazerman47.derpypig.Blocks.BlockButterPigness@1821c1d5, claimedModId null, Item 2001, Type lazerman47.derpypig.Blocks.BlockButterPigness, owned by derpypig, ordinal 0, name derpypiglazerman47.derpypig.Blocks.BlockButterPigness@6ac563da, claimedModId null)}

Client> 2013-09-11 20:21:05 [iNFO] [ForgeModLoader] Loading dimension 0 (DerpyPigFail) (net.minecraft.server.integrated.IntegratedServer@6977f49c)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] java.lang.NoClassDefFoundError: lazerman47/derpypig/Dimension/ChunkProviderPig

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at lazerman47.derpypig.Dimension.WorldProviderPig.func_76555_c(WorldProviderPig.java:19)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.world.WorldServer.func_72970_h(WorldServer.java:730)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.world.World.<init>(World.java:290)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.world.WorldServer.<init>(WorldServer.java:112)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.world.WorldServerMulti.<init>(SourceFile:11)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:77)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:107)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: lazerman47.derpypig.Dimension.ChunkProviderPig

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] ... 9 more

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file lazerman47/derpypig/Dimension/ChunkProviderPig

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at java.lang.ClassLoader.defineClass1(Native Method)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at java.lang.ClassLoader.defineClass(Unknown Source)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at java.security.SecureClassLoader.defineClass(Unknown Source)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] ... 11 more

Client> 2013-09-11 20:21:05 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NoClassDefFoundError

Client> java.lang.NoClassDefFoundError: lazerman47/derpypig/Dimension/ChunkProviderPig

Client> at lazerman47.derpypig.Dimension.WorldProviderPig.func_76555_c(WorldProviderPig.java:19)

Client> at net.minecraft.world.WorldServer.func_72970_h(WorldServer.java:730)

Client> at net.minecraft.world.World.<init>(World.java:290)

Client> at net.minecraft.world.WorldServer.<init>(WorldServer.java:112)

Client> at net.minecraft.world.WorldServerMulti.<init>(SourceFile:11)

Client> at net.minecraft.server.integrated.IntegratedServer.func_71247_a(IntegratedServer.java:77)

Client> at net.minecraft.server.integrated.IntegratedServer.func_71197_b(IntegratedServer.java:107)

Client> at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:443)

Client> at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)

Client> Caused by: java.lang.ClassNotFoundException: lazerman47.derpypig.Dimension.ChunkProviderPig

Client> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:179)

Client> at java.lang.ClassLoader.loadClass(Unknown Source)

Client> at java.lang.ClassLoader.loadClass(Unknown Source)

Client> ... 9 more

Client> Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file lazerman47/derpypig/Dimension/ChunkProviderPig

Client> at java.lang.ClassLoader.defineClass1(Native Method)

Client> at java.lang.ClassLoader.defineClass(Unknown Source)

Client> at java.security.SecureClassLoader.defineClass(Unknown Source)

Client> at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:171)

Client> ... 11 more

Client> 2013-09-11 20:21:05 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\User\AppData\Roaming\.minecraft\crash-reports\crash-2013-09-11_20.21.05-server.txt

Client> 2013-09-11 20:21:05 [iNFO] [Minecraft-Server] Stopping server

Client> 2013-09-11 20:21:05 [iNFO] [Minecraft-Server] Saving players

Client> 2013-09-11 20:21:05 [iNFO] [Minecraft-Server] Saving worlds

Client> 2013-09-11 20:21:05 [iNFO] [Minecraft-Server] Saving chunks for level 'DerpyPigFail'/Overworld

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] java.lang.NullPointerException

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraftforge.common.ForgeChunkManager.saveWorld(ForgeChunkManager.java:832)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraftforge.common.ForgeInternalHandler.onDimensionSave(ForgeInternalHandler.java:70)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraftforge.event.ASMEventHandler_2_ForgeInternalHandler_onDimensionSave_Save.invoke(.dynamic)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:39)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraftforge.event.EventBus.post(EventBus.java:108)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:902)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.func_71267_a(MinecraftServer.java:358)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.func_71260_j(MinecraftServer.java:391)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.func_71260_j(IntegratedServer.java:242)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:535)

Client> 2013-09-11 20:21:05 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:582)

Client> 2013-09-11 20:21:05 [iNFO] [ForgeModLoader] The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.

Game ended with bad state (exit code 1)

Ignoring visibility rule and showing launcher due to a game crash

Deleting C:\Users\User\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.857\1.6.2-Forge9.10.1.857-natives-253050688037439

Couldn't delete C:\Users\User\AppData\Roaming\.minecraft\versions\1.6.2-Forge9.10.1.857\1.6.2-Forge9.10.1.857-natives-253050688037439 - scheduling for deletion upon exit

 

 

 

Here is a compiled and decompiled version of the mod:

 

 

Compiled (.class)

Download Removed To Prevent Early Release

Decompiled(.java)

Download Removed To Prevent Plagerisim

 

 

 

Srry if my code is messy, im new to forge :/

 

Thanks in advance, LazerMan47

Creator Of Weapons+ Mod & Sword Art Online HUD Mod

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • rp.crazyheal.xyz mods  
    • I'm developing a dimension, but it's kinda resource intensive so some times during player teleporting it lags behind making the player phase down into the void, so im trying to implement some kind of pregeneration to force the game loading a small set of chunks in the are the player will teleport to. Some of the things i've tried like using ServerLevel and ServerChunkCache methods like getChunk() dont actually trigger chunk generation if the chunk isn't already on persistent storage (already generated) or placing tickets, but that doesn't work either. Ideally i should be able to check when the task has ended too. I've peeked around some pregen engines, but they're too complex for my current understanding of the system of which I have just a basic understanding (how ServerLevel ,ServerChunkCache  and ChunkMap work) of. Any tips or other classes I should be looking into to understand how to do this correctly?
    • https://mclo.gs/4UC49Ao
    • Way back in the Forge 1.17 days, work started for adding JPMS (Java Platform Module Support) to ModLauncher and ForgeModLoader. This has been used internally by Forge and some libraries for a while now, but mods (those with mods.toml specifically) have not been able to take advantage of it. As of Forge 1.21.1 and 1.21.3, this is now possible!   What is JPMS and what does it mean for modders? JPMS is the Java Platform Module System, introduced in Java 9. It allows you to define modules, which are collections of packages and resources that can be exported or hidden from other modules. This allows for much more fine-tuned control over visibility, cleaner syntax for service declarations and support for sealed types across packages. For example, you might have a mod with a module called `com.example.mod` that exports `com.example.mod.api` and `com.example.mod.impl` to other mods, but hides `com.example.mod.internal` from them. This would allow you to have a clean API for other mods to use, while keeping your internal implementation details hidden from IDE hints, helping prevent accidental usage of internals that might break without prior notice. This is particularly useful if you'd like to use public records with module-private constructors or partially module-private record components, as you can create a sealed interface that only your record implements, having the interface be exported and the record hidden. It's also nice for declaring and using services, as you'll get compile-time errors from the Java compiler for typos and the like, rather than deferring to runtime errors. In more advanced cases, you can also have public methods that are only accessible to specific other modules -- handy if you want internal interactions between multiple of your own mods.   How do I bypass it? We understand there may be drama in implementing a system that prevents mods from accessing each other's internals when necessary (like when a mod is abandoned or you need to fix a compat issue) -- after all, we are already modding a game that doesn't have explicit support for Java mods yet. We have already thought of this and are offering APIs from day one to selectively bypass module restrictions. Let me be clear: Forge mods are not required to use JPMS. If you don't want to use it, you don't have to. The default behaviour is to have fully open, fully exported automatic modules. In Java, you can use the `Add-Opens` and `Add-Exports` manifest attributes to selectively bypass module restrictions of other mods at launch time, and we've added explicit support for these when loading your Forge mods. At compile-time, you can use existing solutions such as the extra-java-module-info Gradle plugin to deal with non-modular dependencies and add extra opens and exports to other modules. Here's an example on how to make the internal package `com.example.examplemod.internal` open to your mod in your build.gradle: tasks.named('jar', Jar) { manifest { attributes([ 'Add-Opens' : 'com.example.examplemod/com.example.examplemod.internal' 'Specification-Title' : mod_id, 'Specification-Vendor' : mod_authors // (...) ]) } } With the above in your mod's jar manifest, you can now reflectively access the classes inside that internal package. Multiple entries are separated with a space, as per Java's official spec. You can also use Add-Exports to directly call without reflection, however you'd need to use the Gradle plugin mentioned earlier to be able to compile. The syntax for Add-Exports is the same as Add-Opens, and instructions for the compile-time step with the Gradle plugin are detailed later in this post. Remember to prefer the opens and exports keywords inside module-info.java for sources you control. The Add-Opens/Add-Exports attributes are only intended for forcing open other mods.   What else is new with module support? Previously, the runtime module name was always forced to the first mod ID in your `mods.toml` file and all packages were forced fully open and exported. Module names are now distinguished from mod IDs, meaning the module name in your module-info.java can be different from the mod ID in your `mods.toml`. This allows you to have a more descriptive module name that doesn't have to be the same as your mod ID, however we strongly recommend including your mod ID as part of your module name to aid troubleshooting. The `Automatic-Module-Name` manifest attribute is now also honoured, allowing you to specify a module name for your mod without needing to create a `module-info.java` file. This is particularly useful for mods that don't care about JPMS features but want to have a more descriptive module name and easier integration with other mods that do use JPMS.   How do I use it? The first step is to create a `module-info.java` file in your mod's source directory. This file should be in the same package as your main mod class, and should look something like this: open module com.example.examplemod { requires net.minecraftforge.eventbus; requires net.minecraftforge.fmlcore; requires net.minecraftforge.forge; requires net.minecraftforge.javafmlmod; requires net.minecraftforge.mergetool.api; requires org.slf4j; requires logging; } For now, we're leaving the whole module open to reflection, which is a good starting point. When we know we want to close something off, we can remove the open modifier from the module and open or export individual packages instead. Remember that you need to be open to Forge (module name net.minecraftforge.forge), otherwise it can't call your mod's constructor. Next is fixing modules in Gradle. While Forge and Java support modules properly, Gradle does not put automatic modules on the module path by default, meaning that the logging module (from com.mojang:logging) is not found. To fix this, add the Gradle plugin and add a compile-time module definition for that Mojang library: plugins { // (...) id 'org.gradlex.extra-java-module-info' version "1.9" } // (...) extraJavaModuleInfo { failOnMissingModuleInfo = false automaticModule("com.mojang:logging", "logging") } The automatic module override specified in your build.gradle should match the runtime one to avoid errors. You can do the same for any library or mod dependency that is missing either a module-info or explicit Automatic-Module-Name, however be aware that you may need to update your mod once said library adds one. That's all you need to get started with module support in your mods. You can learn more about modules and how to use them at dev.java.
    • Faire la mise à jour grâce à ce lien m'a aider personnellement, merci à @Paint_Ninja. https://www.amd.com/en/support 
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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