Jump to content

[1.8.9] game crashes on server, works fine on client server loop tick exception


Recommended Posts

Posted

hello,

 

recently i made my mod which is working nice on client side however the server crashes just as i start server i dont know what error might be as i never saw this before... please can someone tell me what should i do?

 

---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 7/10/16 4:58 AM
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient
at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:162)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:559)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:320)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:115)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:508)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient
at com.thvardhan.ytstuff.items.ModItems.createTools(ModItems.java:36)
at com.thvardhan.ytstuff.CommonProxy.preInit(CommonProxy.java:23)
at com.thvardhan.ytstuff.ServerProxy.preInit(ServerProxy.java:12)
at com.thvardhan.ytstuff.Main.preInit(Main.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:560)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:211)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:189)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:556)
... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 36 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@305f7627 from coremod FMLCorePlugin
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:234)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 38 more
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER
at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:49)
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:230)
... 40 more


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

-- System Details --
Details:
Minecraft Version: 1.8.9
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_60, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 959812792 bytes (915 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
UCH	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar) 
UCH	Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar) 
UCE	ytstuff{1.1.0} [YouTube Stuff Mod] (bin) 
Loaded coremods (and transformers): 
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

 

 

and this is my main

 

@Mod(modid = Main.MODID, version = Main.VERSION, name=Main.NAME)
public class Main {

@SidedProxy(clientSide="com.thvardhan.ytstuff.ClientProxy", serverSide="com.thvardhan.ytstuff.ServerProxy")
public static CommonProxy proxy;



    public static final String MODID = "ytstuff";
    public static final String VERSION = "1.1.0";
    public static final String NAME="Youtuber Lucky Block";   
    
 @Instance(MODID)
    public static Main instance;
     
    @EventHandler
    public void preInit(FMLPreInitializationEvent e) {
    	
    	proxy.preInit(e);
    }
        
    @EventHandler
    public void init(FMLInitializationEvent e) {
    
    	proxy.init(e);
    }
        
   

@EventHandler
    public void postInit(FMLPostInitializationEvent e) {
    	
    	proxy.postInit(e); 
    }




}

 

client proxy

 

import com.thvardhan.ytstuff.entity.EntityAntVenom;
import com.thvardhan.ytstuff.entity.EntityCaptainSparklez;
import com.thvardhan.ytstuff.entity.EntityDanTDM;
import com.thvardhan.ytstuff.entity.EntityGhost;
import com.thvardhan.ytstuff.entity.EntityISquid;
import com.thvardhan.ytstuff.entity.EntityLogDotZip;
import com.thvardhan.ytstuff.entity.EntityLuckyMob;
import com.thvardhan.ytstuff.entity.EntityPopularMMO;
import com.thvardhan.ytstuff.entity.EntitySerialPlayer;
import com.thvardhan.ytstuff.entity.EntitySkyDoesMinecraft;
import com.thvardhan.ytstuff.entity.EntitySuperGirlyGamer;
import com.thvardhan.ytstuff.entity.EntityTruemu;
import com.thvardhan.ytstuff.entity.model.EntityAntVenomModel;
import com.thvardhan.ytstuff.entity.model.EntityCaptiainSparklezModel;
import com.thvardhan.ytstuff.entity.model.EntityDanTDMModel;
import com.thvardhan.ytstuff.entity.model.EntityGhostModel;
import com.thvardhan.ytstuff.entity.model.EntityISquidModel;
import com.thvardhan.ytstuff.entity.model.EntityLogDotZipModel;
import com.thvardhan.ytstuff.entity.model.EntityLuckyMobModel;
import com.thvardhan.ytstuff.entity.model.EntityPopularMMOModel;
import com.thvardhan.ytstuff.entity.model.EntitySerialPlayerModel;
import com.thvardhan.ytstuff.entity.model.EntitySkyDoesMinecraftModel;
import com.thvardhan.ytstuff.entity.model.EntitySuperGirlyGamerModel;
import com.thvardhan.ytstuff.entity.model.EntityTruemuModel;
import com.thvardhan.ytstuff.entity.render.EntityAntVenomRender;
import com.thvardhan.ytstuff.entity.render.EntityCaptainSparklezRender;
import com.thvardhan.ytstuff.entity.render.EntityDanTDMRender;
import com.thvardhan.ytstuff.entity.render.EntityGhostRender;
import com.thvardhan.ytstuff.entity.render.EntityISquidRender;
import com.thvardhan.ytstuff.entity.render.EntityLogDotZipRender;
import com.thvardhan.ytstuff.entity.render.EntityLuckyMobRender;
import com.thvardhan.ytstuff.entity.render.EntityPopularMMORender;
import com.thvardhan.ytstuff.entity.render.EntitySerialPlayerRender;
import com.thvardhan.ytstuff.entity.render.EntitySkyDoesMinecraftRender;
import com.thvardhan.ytstuff.entity.render.EntitySuperGirlyGamerRender;
import com.thvardhan.ytstuff.entity.render.EntityTruemuRender;
import com.thvardhan.ytstuff.items.render.ItemRenderRegistry;
import com.thvardhan.ytstuff.render.blocks.BlockRenderRegister;

import net.minecraftforge.fml.client.registry.RenderingRegistry;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.registry.EntityRegistry;


public class ClientProxy extends CommonProxy {

private static int modEntitys=0;

    @Override
    public void preInit(FMLPreInitializationEvent e) {
    	
    	registerModEntityWithEgg(EntityLogDotZip.class, "logdotzip", 0xff3333, 0xffaa00);
    	registerModEntityWithEgg(EntityPopularMMO.class, "popularmmo", 0x262626, 0x005580);
    	registerModEntityWithEgg(EntityAntVenom.class, "antvenom", 0x77b300, 0x111a00);
    	registerModEntityWithEgg(EntityCaptainSparklez.class, "captainsparklez", 0xff4d4d, 0xffffcc);
    	registerModEntityWithEgg(EntityGhost.class, "ghost", 0x4d0000, 0x000000);
    	registerModEntityWithEgg(EntityDanTDM.class, "dantdm", 0x66ffff, 0xffffff);
    	registerModEntityWithEgg(EntitySerialPlayer.class,"thvardhan", 0xcc9900, 0xffff66);
    	registerModEntityWithEgg(EntitySuperGirlyGamer.class, "supergirlygamer", 0xff33cc, 0xe6005c);
    	registerModEntityWithEgg(EntityISquid.class, "iballisticsquid", 0x000066,0x000000);
    	registerModEntityWithEgg(EntitySkyDoesMinecraft.class, "skydoesminecraft", 0xffff33, 0x000000);
    	registerModEntityWithEgg(EntityTruemu.class, "truemu", 0x0066ff, 0xff9933);
    	registerModEntityWithEgg(EntityLuckyMob.class,"luckymob", 0x0, 0x0);
    	
    	
    	
      super.preInit(e);
          
    }

   




@Override
    public void init(FMLInitializationEvent e) {
        super.init(e);
        
       BlockRenderRegister.registerBlockRenderer();
       ItemRenderRegistry.registerItemRender();
       
       RenderingRegistry.registerEntityRenderingHandler(EntityLuckyMob.class, new EntityLuckyMobRender(new EntityLuckyMobModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntityTruemu.class, new EntityTruemuRender(new EntityTruemuModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntityISquid.class, new EntityISquidRender(new EntityISquidModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntitySkyDoesMinecraft.class, new EntitySkyDoesMinecraftRender(new EntitySkyDoesMinecraftModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntitySuperGirlyGamer.class, new EntitySuperGirlyGamerRender(new EntitySuperGirlyGamerModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntitySerialPlayer.class, new EntitySerialPlayerRender(new EntitySerialPlayerModel(),0.1F));
       RenderingRegistry.registerEntityRenderingHandler(EntityDanTDM.class, new EntityDanTDMRender(new EntityDanTDMModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntityGhost.class, new EntityGhostRender(new EntityGhostModel(),0F));
       RenderingRegistry.registerEntityRenderingHandler(EntityCaptainSparklez.class, new EntityCaptainSparklezRender(new EntityCaptiainSparklezModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntityLogDotZip.class, new EntityLogDotZipRender(new EntityLogDotZipModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntityPopularMMO.class, new EntityPopularMMORender(new EntityPopularMMOModel(),0.5F));
       RenderingRegistry.registerEntityRenderingHandler(EntityAntVenom.class, new EntityAntVenomRender(new EntityAntVenomModel(),0.8F));
    }

    @Override
    public void postInit(FMLPostInitializationEvent e) {
        super.postInit(e);
    }
    

    

    
    public void registerModEntityWithEgg(Class parEntityClass, String parEntityName, 
    	      int parEggColor, int parEggSpotsColor)
    	{
    	    EntityRegistry.registerModEntity(parEntityClass, parEntityName, ++modEntitys, 
    	        Main.instance, 80, 3, false);
    	    registerSpawnEgg(parEntityName,parEntityClass, parEggColor, parEggSpotsColor);
    	}

private void registerSpawnEgg(String parEntityName,Class parEntityClass ,int parEggColor,
		int parEggSpotsColor) {
	EntityRegistry.registerEgg(parEntityClass, parEggColor, parEggSpotsColor);

}
    

}

 

 

server proxy

 

import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;


public class ServerProxy extends CommonProxy {

    @Override
    public void preInit(FMLPreInitializationEvent e) {
        super.preInit(e);
    }

    @Override
    public void init(FMLInitializationEvent e) {
        super.init(e);
    }

    @Override
    public void postInit(FMLPostInitializationEvent e) {
        super.postInit(e);
    }

}

 

and common proxy

 

public class CommonProxy {

public static CreativeTabs tabYTStuffMod = new TabYTStuffMod(CreativeTabs.getNextID(), "YTSuffMod");

 public void preInit(FMLPreInitializationEvent e) {
	 ModItems.createTools();
	 ModBlocks.createBlocks();


    }

	public void init(FMLInitializationEvent e) {
		registerRecipes();
    	FMLCommonHandler.instance().bus().register(new YTEventHandler());

    }

    public void postInit(FMLPostInitializationEvent e) {

    }
    
    public void registerRecipes() {
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.youtubeLuckyBlock), "AAA","AXA","AAA",'A',Items.egg,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.serialPlayerLuckyBlock), "AAA","AXA","AAA",'A',Items.redstone,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.popularMMOLuckyBlock), "AAA","AXA","AAA",'A',Blocks.obsidian,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.antVenomLuckyBlock), "AAA","AXA","AAA",'A',Items.coal,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.captainSparkelzLuckyBlock), "AAA","AXA","AAA",'A',Items.blaze_powder,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.skyDoesMinecraftLuckyBlock), "AAA","AXA","AAA",'A',Items.gold_ingot,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.danTDMLuckyBlock), "AAA","AXA","AAA",'A',Items.diamond,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.iBallisticSquidLuckyBlock), "AAA","AXA","AAA",'A',new ItemStack(Items.dye,1,0),'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.gamingWithJenLuckyBlock), "AAA","AXA","AAA",'A',Items.nether_wart,'X',Items.iron_ingot);
    	GameRegistry.addRecipe(new ItemStack(ModBlocks.trueMuLuckyBlock), "AAA","AXA","AAA",'A',Blocks.lapis_block,'X',Items.iron_ingot);

	}

    
}

Posted

import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraftforge.common.util.EnumHelper;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ModItems {

public static ToolMaterial Black = EnumHelper.addToolMaterial("Black", 0, 2005, 0, 7F, 22);
public static ToolMaterial Log=EnumHelper.addToolMaterial("log", 0, 4000, 0, 21F, 40);
public static ToolMaterial Devil=EnumHelper.addToolMaterial("devil", 0,5000,0, 26F, 100);
public static ToolMaterial Levin=EnumHelper.addToolMaterial("levin", 0, 10, 0, 996F, 0);

public static ArmorMaterial YtArmor = EnumHelper.addArmorMaterial("YtArmor", "ytstuff:ytarmor", 30, new int[]{4, 7, 5, 4}, 1);

public static Item swordBlack;
public static Item swordLogdotzip;
public static Item devilSword;
public static Item levinSword;
public static Item mic;
public static Item ytIcon;

public static Item ytHelmet;
public static Item ytChestplate;
public static Item ytLeggings;
public static Item ytBoots;


public static void createTools(){


	GameRegistry.registerItem(swordBlack = new SwordBlack("black_sword", Black), "black_sword");
	GameRegistry.registerItem(swordLogdotzip=new SwordLogdotzip("logdotzip_sword",Log),"logdotzip_sword");
	GameRegistry.registerItem(devilSword=new DevilSword("devil_sword",Devil),"devil_sword");
	GameRegistry.registerItem(levinSword=new LevinSword("levin_sword",Levin),"levin_sword");
	GameRegistry.registerItem(mic=new MicItem("mic"),"mic");
	GameRegistry.registerItem(ytIcon=new YtIcon("yticon"),"yticon");


	GameRegistry.registerItem(ytHelmet = new ItemModArmor("yt_helmet", YtArmor, 1, 0), "yt_helmet");
	GameRegistry.registerItem(ytChestplate = new ItemModArmor("yt_chestplate", YtArmor, 1, 1), "yt_chestplate");
	GameRegistry.registerItem(ytLeggings = new ItemModArmor("yt_leggings", YtArmor, 2, 2), "yt_leggings");
	GameRegistry.registerItem(ytBoots = new ItemModArmor("yt_boots", YtArmor, 1, 3), "yt_boots");

}


}

 

it says there is a error in devil sword but i dont know why?

 

edit: i tried removing devil sword registry then i get this error

 

2016-07-10 05:24:53,863 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-07-10 05:24:53,866 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[05:24:53] [main/INFO] [GradleStart]: Extra: []
[05:24:53] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, net.minecraftforge.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[05:24:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[05:24:54] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[05:24:54] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[05:24:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
2016-07-10 05:24:55,382 WARN Disabling terminal, you're running in an unsupported environment.
[05:24:55] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading
[05:24:55] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_60, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_60
[05:24:55] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[05:24:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[05:24:55] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[05:24:55] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[05:24:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[05:24:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[05:24:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[05:24:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[05:24:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[05:24:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[05:24:55] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[05:24:57] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[05:24:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[05:24:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[05:24:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[05:24:57] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[05:24:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[05:24:58] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[05:25:04] [server thread/INFO]: Starting minecraft server version 1.8.9
[05:25:05] [server thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
[05:25:05] [server thread/INFO] [FML]: Replaced 204 ore recipies
[05:25:05] [server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[05:25:05] [server thread/INFO] [FML]: Searching D:\hdd\Minecraft Mods 1.8\run\mods for mods
[05:25:07] [server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[05:25:08] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ytstuff] at CLIENT
[05:25:08] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ytstuff] at SERVER
[05:25:09] [server thread/INFO] [FML]: Processing ObjectHolder annotations
[05:25:09] [server thread/INFO] [FML]: Found 384 ObjectHolder annotations
[05:25:09] [server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[05:25:09] [server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[05:25:09] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[05:25:09] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[05:25:09] [server thread/INFO] [FML]: Applying holder lookups
[05:25:09] [server thread/INFO] [FML]: Holder lookups applied
[05:25:09] [server thread/INFO] [FML]: Injecting itemstacks
[05:25:09] [server thread/INFO] [FML]: Itemstack injection complete
[05:25:09] [server thread/INFO]: Loading properties
[05:25:09] [server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.
[05:25:09] [server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first.
[05:25:09] [server thread/INFO] [FML]: The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED. Errors may have been discarded.
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

and then server stops

Posted

Your Devil sword, it doesn't happen to have a call to multiplayer#WorldClient, does it?

It is, as the log states, a client-side only piece of code, which is being fired, on the server-side. This works fine in SP, where Server & Client are essentially merged into one.

 

Oh, and please read the logs for the secondary issue:

[05:25:09] [server thread/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

You should find the EULA.txt inside the IDE's directory, for your project.

Also previously known as eAndPi.

"Pi, is there a station coming up where we can board your train of thought?" -Kronnn

Published Mods: Underworld

Handy links: Vic_'s Forge events Own WIP Tutorials.

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • The specific issue is that items in my inventory wont stack properly. For instance, if I punch a tree down to collect wood, the first block I collected goes to my hand. So when I punch the second block of wood to collect it, it drops, but instead of stacking with the piece of wood already in my hand, it goes to the second slot in my hotbar instead. Another example is that I'll get some dirt, and then when I'm placing it down later I'll accidentally place a block where I don't want it. When I harvest it again, it doesn't go back to the stack that it came from on my hotbar, where it should have gone, but rather into my inventory. That means that if my inventory is full, then the dirt wont be picked up even though there should be space available in the stack I'm holding. The forge version I'm using is 40.3.0, for java 1.18.2. I'll leave the mods I'm using here, and I'd appreciate it if anybody can point me in the right direction in regards to figuring out how to fix this. I forgot to mention that I think it only happens on my server but I&#39;m not entirely sure. PLEASE HELP ME! LIST OF THE MODS. aaa_particles Adorn AdvancementPlaques AI-Improvements AkashicTome alexsdelight alexsmobs AmbientSounds amwplushies Animalistic another_furniture AppleSkin Aquaculture aquamirae architectury artifacts Atlas-Lib AutoLeveling AutoRegLib auudio balm betterfpsdist biggerstacks biomancy BiomesOPlenty blockui blueprint Bookshelf born_in_chaos Botania braincell BrassAmberBattleTowers brutalbosses camera CasinoCraft cfm (MrCrayfish’s Furniture Mod) chat_heads citadel cloth-config Clumps CMDCam CNB cobweb collective comforts convenientcurioscontainer cookingforblockheads coroutil CosmeticArmorReworked CozyHome CrabbersDelight crashexploitfixer crashutilities Create CreativeCore creeperoverhaul cristellib crittersandcompanions Croptopia CroptopiaAdditions CullLessLeaves curios curiouslanterns curiouslights Curses' Naturals CustomNPCs CyclopsCore dannys_expansion decocraft Decoration Mod DecorationDelightRefurbished Decorative Blocks Disenchanting DistantHorizons doubledoors DramaticDoors drippyloadingscreen durabilitytooltip dynamic-fps dynamiclights DynamicTrees DynamicTreesBOP DynamicTreesPlus Easy Dungeons EasyAnvils EasyMagic easy_npc eatinganimation ecologics effective_fg elevatorid embeddium emotecraft enchantlimiter EnchantmentDescriptions EnderMail engineersdecor entityculling entity_model_features entity_texture_features epicfight EvilCraft exlinefurniture expandability explosiveenhancement factory-blocks fairylights fancymenu FancyVideo FarmersDelight fast-ip-ping FastSuite ferritecore finsandtails FixMySpawnR Forge Middle Ages fossil FpsReducer2 furnish GamingDeco geckolib goblintraders goldenfood goodall H.e.b habitat harvest-with-ease hexerei hole_filler huge-structure-blocks HunterIllager iammusicplayer Iceberg illuminations immersive_paintings incubation infinitybuttons inventoryhud InventoryProfilesNext invocore ItemBorders itemzoom Jade jei (Just Enough Items) JetAndEliasArmors journeymap JRFTL justzoom kiwiboi Kobolds konkrete kotlinforforge lazydfu LegendaryTooltips libIPN lightspeed lmft lodestone LongNbtKiller LuckPerms Lucky77 MagmaMonsters malum ManyIdeasCore ManyIdeasDoors marbledsarsenal marg mcw-furniture mcw-lights mcw-paths mcw-stairs mcw-trapdoors mcw-windows meetyourfight melody memoryleakfix Mimic minecraft-comes-alive MineTraps minibosses MmmMmmMmmMmm MOAdecor (ART, BATH, COOKERY, GARDEN, HOLIDAYS, LIGHTS, SCIENCE) MobCatcher modonomicon mods_optimizer morehitboxes mowziesmobs MutantMonsters mysticalworld naturalist NaturesAura neapolitan NekosEnchantedBooks neoncraft2 nerb nifty NightConfigFixes nightlights nocube's_villagers_sell_animals NoSeeNoTick notenoughanimations obscure_api oculus oresabovediamonds otyacraftengine Paraglider Patchouli physics-mod Pillagers Gun PizzaCraft placeableitems Placebo player-animation-lib pneumaticcraft-repressurized polymorph PrettyPipes Prism projectbrazier Psychadelic-Chemistry PuzzlesLib realmrpg_imps_and_demons RecipesLibrary reeves-furniture RegionsUnexplored restrictedportals revive-me Scary_Mobs_And_Bosses selene shetiphiancore ShoulderSurfing smoothboot
    • Hi everyone, I'm currently developing a Forge 1.21 mod for Minecraft and I want to display a custom HUD overlay for a minigame. My goal: When the game starts, all players should see an item/block icon (from the base game, not a custom texture) plus its name/text in the HUD – similar to how the bossbar overlay works. The HUD should appear centered above the hotbar (or at a similar prominent spot), and update dynamically (icon and name change as the target item changes). What I've tried: I looked at many online tutorials and several GitHub repos (e.g. SeasonHUD, MiniHUD), but most of them use NeoForge or Forge versions <1.20 that provide the IGuiOverlay API (e.g. implements IGuiOverlay, RegisterGuiOverlaysEvent). In Forge 1.21, it seems that neither IGuiOverlay nor RegisterGuiOverlaysEvent exist anymore – at least, I can't import them and they are missing from the docs and code completion. I tried using RenderLevelStageEvent as a workaround but it is probably not intended for custom HUDs. I am not using NeoForge, and switching the project to NeoForge is currently not an option for me. I tried to look at the original minecraft source code to see how elements like hearts, hotbar etc are drawn on the screen but I am too new to Minecraft modding to understand. What I'm looking for: What is the correct way to add a custom HUD element (icon + text) in Forge 1.21, given that the previous overlay API is missing? Is there a new recommended event, callback, or method in Forge 1.21 for custom HUD overlays, or is everyone just using a workaround? Is there a minimal open-source example repo for Forge 1.21 that demonstrates a working HUD overlay without relying on NeoForge or deprecated Forge APIs? My ideal solution: Centered HUD element with an in-game item/block icon (from the base game's assets, e.g. a diamond or any ItemStack / Item) and its name as text, with a transparent background rectangle. It should be visible to the players when the mini game is running. Easy to update the item (e.g. static variable or other method), so it can change dynamically during the game. Any help, code snippets, or up-to-date references would be really appreciated! If this is simply not possible right now in Forge 1.21, it would also help to know that for sure. Thank you very much in advance!
    • The simple answer is there is not an easy way. You would need to know how to program in Java, as well as at least some familiarity with how Forge works so you could port the differences. You would also need the sourcecode for the original mod, and permission from the author to modify it, if they did not use some sort of open source license. So it's not impossible, but it would take some effort, but doing so would open up a whole new world of possibilities for you!
    • Does it still crash if you remove holdmyitems? Looks like that mod doesn't work on a server as far as I can tell from the error.  
  • 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.