rex41043 Posted October 30, 2012 Posted October 30, 2012 I'm not sure what I need to do to my mod to make it work on a server can eny one help? Quote Get Techcraft at: http://blackholegaming.com/downloads http://www.minecraftforge.net/forum/index.php/topic,2965.0.html http://www.minecraftforum.net/topic/1543949-142-techcraft-ssplan-smp-minecraft-forge-version-601/ latest public build: 0.0.1.5 alpha pre release (MC:1.4.2)
LordFokas Posted October 30, 2012 Posted October 30, 2012 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); Quote 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.
XxArchangelz Posted October 30, 2012 Posted October 30, 2012 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 Quote
rex41043 Posted October 31, 2012 Author Posted October 31, 2012 Aaaa so that's what I was missing the server proxy Quote Get Techcraft at: http://blackholegaming.com/downloads http://www.minecraftforge.net/forum/index.php/topic,2965.0.html http://www.minecraftforum.net/topic/1543949-142-techcraft-ssplan-smp-minecraft-forge-version-601/ latest public build: 0.0.1.5 alpha pre release (MC:1.4.2)
Recommended Posts
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.