Jump to content

Forge code missing?


Recommended Posts

mod_MinecraftForge has a bunch of errors in it, and when i attempted to repair the imports they werent the same as  what it wanted.

It says it cant find NetworkMod.java, and the major and minor versions variables in ForgeHooks.

It also couldnt find getDungeonLootTries in MinecraftForge, or init in MinecraftForgeClient, OR killMinecraft in minecraftforge.


package net.minecraft.src;

import net.minecraftforge.client.*;
import net.minecraftforge.common.*;

* This class is just here to make the Forge version show up nicely in the ModLoader logs/Crash Screen
public class mod_MinecraftForge extends NetworkMod
    @MLProp(info = "Set to false to reproduce a vinella bug that prevents mobs from spawning on inverted half-slabs and inverted stairs.")
    public static boolean SPAWNER_ALLOW_ON_INVERTED = true;
    public String getVersion()
        return String.format("%d.%d.%d.%d",
                ForgeHooks.majorVersion,    ForgeHooks.minorVersion,
                ForgeHooks.revisionVersion, ForgeHooks.buildVersion);

    public void load()
        MinecraftForge.getDungeonLootTries(); //Random thing to make things Initialize


Help Plz

Link to comment
Share on other sites

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.

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.

  • Create New...

Important Information

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