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

Hello guys. So I made an entity, model and render file and it works. Only problem is that my entity keeps on jumping around and stuff.

 

Heres my render file:

package rotten_flesh_mod;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.passive.EntityCow;
import net.minecraft.util.ResourceLocation;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

@SideOnly(Side.CLIENT)
public class RenderTamedZombie extends RenderLiving
{
    private static final ResourceLocation Your_Texture = new ResourceLocation("rotten_flesh_mod:textures/entity/tamedZombie.png");  //refers to:assets/yourmod/textures/entity/yourtexture.png

    public RenderTamedZombie(ModelBase par1ModelBase, float par2)
    {
    	
        super(par1ModelBase, par2);
    }
    protected ResourceLocation getTamedTextures(EntityTamedZombie par1EntityCow)
    {
        return Your_Texture;
    }

    @Override
    protected ResourceLocation getEntityTexture(Entity par1Entity)
    {
    	
    	return this.getTamedTextures((EntityTamedZombie)par1Entity);
    }
}

 

Heres a video of what happened.

 

width=528 height=432http://i1294.photobucket.com/albums/b605/starwarsmace/th_javaw2014-02-1512-08-05-176_zps2e3d193e.jpg[/img]

 

Click the img to see the video.

 

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

  • Author

Anyone?

I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!

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.