Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Good day everybody.

I was working on my coremod and when i launched mc, changes didn't get applied. After i discovered that my coremod is not even called.

Now, i found this in log:

[21:06:45] [main/INFO] [sTDOUT]: [net.minecraft.client.main.Main:main:160]: Completely ignored arguments: [-Dfml.coreMods.load, code.elix_x.coremods.antiidconflict.AntiIdConflictCore]

Here's my program argument:

-Dfml.coreMods.load=code.elix_x.coremods.antiidconflict.AntiIdConflictCore

And my coremod:

package code.elix_x.coremods.antiidconflict;

import java.util.Map;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import cpw.mods.fml.relauncher.IFMLLoadingPlugin;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.Name;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.SortingIndex;
import cpw.mods.fml.relauncher.IFMLLoadingPlugin.TransformerExclusions;

@Name(AntiIdConflictBase.MODID)
@TransformerExclusions("code.elix_x.coremods.antiidconflict.core")
@MCVersion("1.7.10")
@SortingIndex(1001)
public class AntiIdConflictCore implements IFMLLoadingPlugin {

public static final Logger logger = LogManager.getLogger("AIC Core");

public static final String BiomesInitTransformer = "code.elix_x.coremods.antiidconflict.core.transformers.BiomesInitTransformer";

public static final String[] transformers = new String[]{BiomesInitTransformer};

@Override
public String[] getASMTransformerClass() {
	logger.info("Getting transformers");
	return transformers;
}

@Override
public String getModContainerClass() {
	return null;
}

@Override
public String getSetupClass() {
	return null;
}

@Override
public void injectData(Map<String, Object> data) {
	logger.info("Loading");
}

@Override
public String getAccessTransformerClass() {
	return null;
}

}

 

Can anybody explain what has changed? Did i miss something in update logs? Should i re-update forge?

 

Thanks for help!

If you have any questions - just ask!

-Dfml.coreMods.load=code.elix_x.coremods.antiidconflict.AntiIdConflictCore

Note the equals sign.

 

Why do you need to make a coremod? FML handles ID conflicts internally.

catch(Exception e)

{

 

}

Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).

Why do you need to make a coremod? FML handles ID conflicts internally.

Never mind, just took a closer look at your code and I see why.

 

It looks like you have tried it with the equals sign but showed us the log of a run without the equals sign, given that they're shown as two separate arguments. Try with the equals sign in the JVM arguemtns

catch(Exception e)

{

 

}

Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).

  • Author

-Dfml.coreMods.load=code.elix_x.coremods.antiidconflict.AntiIdConflictCore

Note the equals sign.

 

Why do you need to make a coremod? FML handles ID conflicts internally.

Never mind, just took a closer look at your code and I see why.

 

It looks like you have tried it with the equals sign but showed us the log of a run without the equals sign, given that they're shown as two separate arguments. Try with the equals sign in the JVM arguemtns

FML handles item an block ids. But not biomes for example.

 

I tried putting this argument everywhere where i can put it. Still no luck.

  • Author

I tried both. I even tried putting it in program arguments and in VM arguments. Still not working.

That is impossible™.

Yeah.

Just tried reinstalling workspace and "reassembling" argument. Put it in both VM and program arguments... And it worked.

Something very very very weird just happened.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.