Jump to content

I have a problem that when i run my program in eclipse for making a mod for minecraft.


Recommended Posts

Posted

I have a problem in the program and I don't know how to fix this 

it is the episode one from the tutorial

 

I copy like him and I the script of the main is

package com.shidopitzel.voidmod;

import com.shidopitzel.voidmod.proxy.CommonProxy;
import com.shidopitzel.voidmod.util.Refrence;

import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

@Mod(modid = Refrence.MOD_ID,name = Refrence.NAME,version = Refrence.VERSION)

public class Main {
	@Instance
	public static Main instance;
	
	@SidedProxy(clientSide = Refrence.CLIENT_PROXY_CLASS,serverSide = Refrence.COMMON_PROXY_CLASS)
	public static CommonProxy proxy;
	
	@EventHandler
	public static void PreInIt(FMLPreInitializationEvent event) {
		
	}
	
	@EventHandler
	public static void Postinit(FMLPostInitializationEvent event) {
		
	}
}

The problem is:

Unrecognized option: -Xincgc 

 

please if you know what is the problem and if we can fix it

maybe the problem is the run configurations what run because when I see in the video when he put is mouse above the run run button

it is show just "Run" and I it is showing "Run Server" like so maybe need do a thing with the run configurations like in the Capture.jpg 

and of him in the episode 2 in time 20:07 it is just show just "Run" 

https://www.youtube.com/watch?v=f0zXArplb9Y&t=1207s

 

or the problem is that there is folders missing in picture "Workspace.jpg"

 

 

and running from main.java showing an error message in picture "ErrorMessage.jpg"

 

 

so maybe you can help me fix it

please help me I am new in Minecraft programing mods and I want really to make mods

Capture.JPG

Workspace.JPG

ErrorMessage.JPG

Posted

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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