Jump to content

[1.7.10][Solved]Entity Rendering Help


BuddingDev

Recommended Posts

OK, the function is fixed, but my entity looks glitchy. Maybe something wrong here?

 

EntityRegistry.registerModEntity(EntityDataSwordman.class, "entityDataSwordman", 1, Main.instance, 100, 100, true);

 

EDIT: That is, the entity first starts to move to a target direction, but after a while, it zooms back, and moves at another direction... and then it possibly zooms back again...

Link to comment
Share on other sites

STILL cant get it right!!!

I have used up my Pastebin allowance already...

 

EntityLibrary:

http://pastebin.com/PHMNEd14

 

My custom entity:

http://pastebin.com/WLUY77zK

 

My custom render:

public class RenderDataCreature extends RenderBiped {

 

ResourceLocation dataTexture;

 

public RenderDataCreature() {

super(new ModelBiped(0), 0.5F);

this.dataTexture = new ResourceLocation(Main.MODID + ":" + "textures/entity/steve.png");

// TODO Auto-generated constructor stub

}

 

@Override

protected ResourceLocation getEntityTexture(EntityLiving p_110775_1_) {

        return this.dataTexture;

    }

 

}

 

Link to comment
Share on other sites

trackingRange

Its The range at which MC will send tracking

updatesupdateFrequency

The frequency of tracking updates

 

:D (thanks cpt. obvious!)

 

I know, I know, HOLD your applause, I am but a humble helper.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.