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

It said it cant find the files but i find the folder in a new location and i try copying it it still wont work Below is my client proxy code and i even tried a tutorial

 

package Firediamond.Mods;
import net.minecraft.src.ModelBiped;
import net.minecraft.src.ModelZombie;
import net.minecraftforge.client.MinecraftForgeClient;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.Mod.Instance;
public class ElectroCraftClientProxy extends ElectroCraftCommonProxy
{

public static void registerRenderInformation()
{
MinecraftForgeClient.preloadTexture("/Zeuscraft/ZeuscraftTerrain.png");
MinecraftForgeClient.preloadTexture("/Zeuscraft/ZeuscraftItems.png");
}
}

 

please reply if you the fix using eclipse

  • 3 weeks later...

So you're unable to find the common proxy in your imports. You need to make sure its accessible for you. Send me an example of your common proxy. I use

 

 

package magicbag.client.core;

 

import magicbag.common.core.CommonProxy;

import magicbag.common.lib.Reference;

import magicbag.common.lib.RenderIds;

import net.minecraftforge.client.MinecraftForgeClient;

import cpw.mods.fml.client.registry.RenderingRegistry;

 

public class ClientProxy extends CommonProxy {

 

@Override

public void initRenderingAndTextures() {

RenderIds.magicbagRenderId = RenderingRegistry

.getNextAvailableRenderId();

 

MinecraftForgeClient.preloadTexture(Reference.SPRITE_SHEET_LOCATION);

}

}

 

 

 

 

 

package magicbag.common.core;

 

import net.minecraft.src.EnumRarity;

 

public class CommonProxy

//implements IGuiHandler

{

 

    public void registerKeyBindingHandler() {}

 

    public void setKeyBinding(String name, int value) {}

 

    public void registerSoundHandler() {}

 

    public void initCustomRarityTypes() {}

 

    public EnumRarity getCustomRarityType(String customRarity) {

        return null;

    }

   

    public void initRenderingAndTextures() {}

 

}

 

 

 

Make sure that all the cases are correct when i was writing mine i had the wrong cases on some of my files causing it not to work.

also remember that the files are referenced from the src folder not the current folder the java file is located.

for example urs should be located at %mcp%/src/Zeuscraft/ZeuscraftTerrain.png

 

hope this helps or atleast gets you on the right track. programming take persistence and patience as i have found wish you good luck in your mod

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.