Jump to content

Recommended Posts

Posted

When I open the runClient.bat the game gives me an error saying "mods.toml missing metadata for modid example mod"

this is my mods.toml file..

 

modLoader="javafml"

loaderVersion="[28.1]"

[[mods]]

modId="wbgfrg9638f3t88m4cmfhs7xv7tu44"

version="0.1"

displayName="Smankey415's Enhanced Mob Balancing"

description='''
'''
[[dependencies.wbgfrg9638f3t88m4cmfhs7xv7tu44]]
    modId="forge"
    mandatory=true
    versionRange="[28.1]"
    ordering="NONE"
    side="BOTH"
    
[[dependencies.wbgfrg9638f3t88m4cmfhs7xv7tu44]]
    modId="minecraft"
    mandatory=true
    versionRange="[1.14.4]"
    ordering="NONE"
    side="BOTH"

and this is my main java package..

 

package smankey415.EnhancedMobBalancing;

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

import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;

@Mod("wbgfrg9638f3t88m4cmfhs7xv7tu44")

public class EnhancedMobBalancing 

{
    
    public static EnhancedMobBalancing instance;
    public static final String modid = "wbgfrg9638f3t88m4cmfhs7xv7tu44";
    private static final Logger logger = LogManager.getLogger(modid);
    
    public EnhancedMobBalancing() 
    {
        instance = this;
        
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::clientRegistries);
        
        MinecraftForge.EVENT_BUS.register(this);
    }

    private void setup(final FMLCommonSetupEvent event)
    {
        logger.info("Setup method registered.");
    }
    
    private void clientRegistries(final FMLClientSetupEvent event)
    {
        logger.info("Client registries method registered.");
    }

}
 

whats wrong with this thanks be specific as I'm kind of retarded

Posted
2 minutes ago, smankey415 said:

wbgfrg9638f3t88m4cmfhs7xv7tu44

The hell is this modid.

 

3 minutes ago, smankey415 said:

"mods.toml missing metadata for modid example mod"

Did you remove the example mod?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
Quote

The hell is this modid.

I was told to get something unique and under 30 characters so i did a random password generator set to like 20 characters.

Quote

Did you remove the example mod?

I don't know what example mod? I just edited the one it gave to me in the META-INF resources

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.

Announcements



×
×
  • Create New...

Important Information

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