Topic category: Troubleshooting, bugs, and solutions
Hello,
i have created a mods with Mcreator for my server with the Mcreator 1.7.1 and when i put my mods in the server and start up the server . the server crash i put my log here :
--- Minecraft Crash Report ----
WARNING: coremods are present:
DepLoader (BrandonsCore-1.10.2-2.1.1.61-universal.jar)
MalisisCorePlugin (malisiscore-1.10.2-4.2.9.jar)
SpongeCoremod (spongeforge-1.10.2-2171-5.1.0-BETA-1980.jar)
CXLibraryCore (cxlibrary-1.10.2-1.2.3.jar)
CCLCorePlugin (CodeChickenLib-1.10.2-2.4.3.124-universal.jar)
DepLoader (CodeChickenCore-1.10.2-2.3.5.91-universal.jar)
Contact their authors BEFORE contacting forge
// My bad.
Time: 13/12/16 19:22
Description: Exception ticking world
java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft
at mod.mcreator.mcreator_amethystOre$BlockAmethystOre.func_176213_c(mcreator_amethystOre.java:96)
at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:627)
at net.minecraft.world.chunk.Chunk.func_177436_a(Chunk.java:497)
at org.spongepowered.common.event.tracking.CauseTracker.setBlockState(CauseTracker.java:407)
at net.minecraft.world.WorldServer.func_180501_a(WorldServer.java:1171)
at net.minecraft.world.gen.feature.WorldGenMinable.func_180709_b(WorldGenMinable.java:79)
at mod.mcreator.mcreator_amethystOre.generateSurface(mcreator_amethystOre.java:70)
at mod.mcreator.WhoriacraftMods.generate(WhoriacraftMods.java:159)
at net.minecraftforge.fml.common.registry.GameRegistry.redirect$onGenerateWorld$zzd000(GameRegistry.java:83)
at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:120)
at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1001)
at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:983)
at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:154)
at net.minecraft.server.management.PlayerChunkMapEntry.redirect$onProvidePlayerChunk$zoh000(PlayerChunkMapEntry.java:79)
at net.minecraft.server.management.PlayerChunkMapEntry.func_187268_a(PlayerChunkMapEntry.java:126)
at net.minecraft.server.management.PlayerChunkMap.func_72693_b(SourceFile:147)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:222)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:698)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 22 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at mod.mcreator.mcreator_amethystOre$BlockAmethystOre.func_176213_c(mcreator_amethystOre.java:96)
at net.minecraft.world.chunk.Chunk.setBlockState(Chunk.java:627)
at net.minecraft.world.chunk.Chunk.func_177436_a(Chunk.java:497)
at org.spongepowered.common.event.tracking.CauseTracker.setBlockState(CauseTracker.java:407)
at net.minecraft.world.WorldServer.func_180501_a(WorldServer.java:1171)
at net.minecraft.world.gen.feature.WorldGenMinable.func_180709_b(WorldGenMinable.java:79)
at mod.mcreator.mcreator_amethystOre.generateSurface(mcreator_amethystOre.java:70)
at mod.mcreator.WhoriacraftMods.generate(WhoriacraftMods.java:159)
at net.minecraftforge.fml.common.registry.GameRegistry.redirect$onGenerateWorld$zzd000(GameRegistry.java:83)
at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:120)
at net.minecraft.world.chunk.Chunk.func_186034_a(Chunk.java:1001)
at net.minecraft.world.chunk.Chunk.func_186030_a(Chunk.java:983)
at net.minecraft.world.gen.ChunkProviderServer.func_186025_d(ChunkProviderServer.java:154)
at net.minecraft.server.management.PlayerChunkMapEntry.redirect$onProvidePlayerChunk$zoh000(PlayerChunkMapEntry.java:79)
at net.minecraft.server.management.PlayerChunkMapEntry.func_187268_a(PlayerChunkMapEntry.java:126)
at net.minecraft.server.management.PlayerChunkMap.func_72693_b(SourceFile:147)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:222)
-- Affected level --
Details:
Level name: world
All players: 2 total; [EntityPlayerMP['TheLordOfSpirit'/290, l='world', x=914,91, y=67,00, z=441,75], EntityPlayerMP['BlagueKiller006'/586, l='world', x=945,30, y=88,91, z=457,71]]
Chunk stats: ServerChunkCache: 934 Drop: 0
Level seed: 1335077174782597145
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (316,64,247), Chunk: (at 12,4,7 in 19,15; contains blocks 304,0,240 to 319,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 1788935 game time, 134498 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 1 (now: false), thunder time: 1 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:698)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.10.2
Operating System: Linux (amd64) version 3.16.0-4-amd64
Java Version: 1.8.0_72, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 438669256 bytes (418 MB) / 1122869248 bytes (1070 MB) up to 31136546816 bytes (29694 MB)
JVM Flags: 21 total; -Xms512M -XX:PermSize=384m -XX:MaxPermSize=768m -XX:-UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -XX:UseSSE=3 -XX:+UseLargePages -XX:+UseFastAccessorMethods -XX:+UseStringCache -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ParallelGCThreads=1
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP 9.32 Powered by Forge 12.18.2.2121 32 mods loaded, 32 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{8.0.99.99} [Forge Mod Loader] (forge-1.10.2-12.18.2.2121-universal.jar)
UCHIJAAAA Forge{12.18.2.2121} [Minecraft Forge] (forge-1.10.2-12.18.2.2121-universal.jar)
UCHIJAAAA spongeapi{5.1.0-SNAPSHOT-323db46} [SpongeAPI] (minecraft.jar)
UCHIJAAAA sponge{1.10.2-2171-5.1.0-BETA-1980} [SpongeForge] (spongeforge-1.10.2-2171-5.1.0-BETA-1980.jar)
UCHIJAAAA architecturecraft{1.7.1} [ArchitectureCraft] (ArchitectureCraft-1.7.1-mc1.10.2.jar)
UCHIJAAAA CodeChickenLib{2.4.3.124} [CodeChicken Lib] (CodeChickenLib-1.10.2-2.4.3.124-universal.jar)
UCHIJAAAA brandonscore{2.1.1} [Brandon's Core] (BrandonsCore-1.10.2-2.1.1.61-universal.jar)
UCHIJAAAA classiccombat{1.0.0} [Classic Combat] (ClassicCombat-1.0.0-1.10.2-universal.jar)
UCHIJAAAA CodeChickenCore{2.3.5.91} [CodeChicken Core] (CodeChickenCore-1.10.2-2.3.5.91-universal.jar)
UCHIJAAAA cxlibrary{1.2.3} [CXLibrary] (cxlibrary-1.10.2-1.2.3.jar)
UCHIJAAAA draconicevolution{2.0.3} [Draconic Evolution] (Draconic-Evolution-1.10.2-2.0.3.137-universal.jar)
UCHIJAAAA edifice{1.1.1} [Edifice] (edifice-1.1.1.jar)
UCHIJAAAA mantle{1.10.2-1.1.3.199} [Mantle] (Mantle-1.10.2-1.1.3.jar)
UCHIJAAAA tconstruct{1.10.2-2.6.1.464} [Tinkers' Construct] (TConstruct-1.10.2-2.6.1.jar)
UCHIJAAAA immersiveengineering{0.10-52} [Immersive Engineering] (ImmersiveEngineering-0.10-52.jar)
UCHIJAAAA ironchest{1.10.2-7.0.11.797} [Iron Chest] (ironchest-1.10.2-7.0.11.797.jar)
UCHIJAAAA malisiscore{1.10.2-4.2.9} [MalisisCore] (malisiscore-1.10.2-4.2.9.jar)
UCHIJAAAA malisisdoors{1.10.2-5.1.6} [MalisisDoors] (malisisdoors-1.10.2-5.1.6.jar)
UCHIJAAAA minecolonies{1.10.2-0.6.2018} [MineColonies] (minecolonies-universal-1.10.2-0.6.2018.jar)
UCHIJAAAA minecraftmarket{2.1.0} [MinecraftMarket] (minecraftmarket-plugin-2.1.0.jar)
UCHIJAAAA MoreFurnaces{1.8.2} [More Furnaces] (MoreFurnaces-1.10.2-1.8.2.jar)
UCHIJAAAA nations{2.2} [Nations] (Nations-2.2.jar)
UCHIJAAAA nucleus{0.16.2-5.0} [Nucleus] (Nucleus-0.16.1-S5-1.10.2-plugin.jar)
UCHIJAAAA customcommands{1.0} [CustomCommands] (PermissionManager-2.5.2-API.5.X-6.X.jar)
UCHIJAAAA permissionmanager{2.5.2} [PermissionManager] (PermissionManager-2.5.2-API.5.X-6.X.jar)
UCHIJAAAA redprotect{6.5.1} [RedProtect] (RedProtect-Sponge-6.5.1-b220.jar)
UCHIJAAAA skinsrestorer{1.0} [SkinsRestorer] (SkinsRestorer-v12.9.4.jar)
UCHIJAAAA stackban{0.2.5} [StackBan] (stackban-5.1.0-0.2.5 (1).jar)
UCHIJAAAA treechopper{1.1.1a} [Tree Chopper] (TreeChopper-1.10.2-1.1.1a.jar)
UCHIJAAAA WhoriacraftMods{1.0.3} [WhoriacraftMods] (Whoriacraft Mods 1.0.3.jar)
UCHIJAAAA worldedit{6.1.4} [WorldEdit] (worldedit-forge-mc1.10.2-6.1.4-dist.jar)
Loaded coremods (and transformers):
DepLoader (BrandonsCore-1.10.2-2.1.1.61-universal.jar)
MalisisCorePlugin (malisiscore-1.10.2-4.2.9.jar)
net.malisis.core.util.chunkcollision.ChunkCollisionTransformer
net.malisis.core.util.chunkblock.ChunkBlockTransformer
net.malisis.core.renderer.transformer.MalisisRendererTransformer
net.malisis.core.renderer.icon.asm.TextureMapTransformer
net.malisis.core.util.clientnotif.ClientNotifTransformer
SpongeCoremod (spongeforge-1.10.2-2171-5.1.0-BETA-1980.jar)
org.spongepowered.common.launch.transformer.SpongeSuperclassTransformer
CXLibraryCore (cxlibrary-1.10.2-1.2.3.jar)
cubex2.cxlibrary.CoreModTransformer
CCLCorePlugin (CodeChickenLib-1.10.2-2.4.3.124-universal.jar)
codechicken.lib.asm.ClassHeirachyManager
codechicken.lib.asm.RenderHookTransformer
DepLoader (CodeChickenCore-1.10.2-2.3.5.91-universal.jar)
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)
Profiler Position: N/A (disabled)
Player Count: 2 / 50; [EntityPlayerMP['TheLordOfSpirit'/290, l='world', x=914,91, y=67,00, z=441,75], EntityPlayerMP['BlagueKiller006'/586, l='world', x=945,30, y=88,91, z=457,71]]
Is Modded: Definitely; Server brand changed to 'fml,forge,sponge'
Do you have any overlapping item id's, enchant id's, or potion id's? Try taking all mods out of your mod folder and putting them into a folder on your desktop. Then run Minecraft and see if it works. If it does, one of your previously installed mods is the problem. If it still doesn't run, then....don't use the mod?
I forgot to specify that I did several tests and that when the block of mine would not spawn in the world the server does not crash.
Your block - AmethystOre asks for a class Minecraft.class , that is only client side (can be used only by client and also can be seen only by client) , but you run the code on server side.
How can i do to launch mods on a server it's very important it's a mcreator bug?
It is needed fix manually in the code. Can I see code of the Amethyst Ore?
In fact it does it for but 4 min then it is not too serious we will do otherwise thank you for your help ^^