Jump to content

Recommended Posts

Posted

On Minecraft 1.3+ you need as much as you need to make a client mod work.

 

Mods are no longer client / server, they are distributed in universal packages, so the same code works both on clients and servers (because the client, internally, is a server too);

Did I help? Hitting 'Thank You' would be appreciated.

 

Soon, the lost city will rise from the bottom of the ocean, and spread it's technology across Minecraft.

Posted

You need a client and a common proxy.

example:

 

 

package archangel.client;

 

import net.minecraftforge.client.MinecraftForgeClient;

import archangel.emeraldtools.CommonProxy;

 

public class ClientProxy extends CommonProxy {

 

@Override

public void registerRenderers() {

MinecraftForgeClient.preloadTexture(ITEMS_PNG);

}

 

}

 

 

 

 

 

package archangel.emeraldtools;

 

public class CommonProxy {

    public void initRenderingAndTextures() {}

   

public static String ITEMS_PNG = "/EmeraldTools.png";

 

// Client stuff

public void registerRenderers() {

// Nothing here as this is the server side proxy

}

}

 

 

 

Also follow this http://www.minecraftforge.net/wiki/Tutorials/Making_the_base_mod_file and most importantly this http://www.minecraftforge.net/wiki/Tutorials/Upgrading_To_Forge_for_1.3.1#The_proxy_system

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.