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

with my mob, I've got my textures like this:

    private static final ResourceLocation field_110833_a = new ResourceLocation("remula", "textures/entities/mobglog.png");

    //Other stuff

    protected ResourceLocation func_110832_a(EntityGlog entity)
    {
        return field_110833_a;
    }

 

Note that in my method I'm calling EntityGlog, not Entity. Glog is the name of my mob, so try that.

width=463 height=200

http://s13.postimg.org/z9mlly2av/siglogo.png[/img]

My mods (Links coming soon)

Cities | Roads | Remula | SilvaniaMod | MoreStats

Do it like this;

 

public static final ResourceLocation field_110920_a = new ResourceLocation("simcraft", "textures/entity/oceaanFish.png");

 

   

    protected ResourceLocation func_110919_a(EntityOceaanFish par1EntityOceaanFish)

    {

        return field_110920_a;

    }

   

    protected ResourceLocation func_110775_a(Entity par1Entity)

    {

        return this.func_110919_a((EntityOceaanFish)par1Entity);

    }

 

 

just add your own data and entity names in

 

 

Still looks like a normal pig :I

 

 

http://pastebin.com/xdsCXSmq

 

If that still looks like a normal pig your problem is elsewhere, because it the rendering part was wrong there's no way it could use the default pig skin and use that, so somewhere inside your other class files you extended something that should maybe not have been extended, or didn't register the entity properly or even forgot to change mc names to your rendering or model names when you did your model, a lot for time we would maybe use mc code as our base and then forget to change something and we end up with something we didn't want.

 

For it to render the pg skin it has to be linked somewhere in your code

 

also spotted maybe a problem change the following code

 

         public RenderHog (ModelHog modelTutorial, float f)
         {
          super(modelTutorial, f);
          model = ((ModelHog)mainModel);
         }

 

to

 

 

         public RenderHog (ModelBase var1, float f)
         {
          super(var1, f);
          this.model = ((ModelHog)var1);
         }

Yes, it was a stupid question so I won't ask if you are calling the registerRenderers method and registering the entity.

 

In your previous code pastes, the path to the texture is spelled "entities" instead of "entity".  The standard directory is usually "entity" so I am wondering if you have the png file in the wrong place.

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.