Jump to content

Recommended Posts

Posted

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...

Posted

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;

    }

 

}

 

Posted

So wait, I do it like

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

 

But my entity is still invisible!

Posted

Well... let me stabilise this:

 

trackingRange The range at which MC will send tracking

updatesupdateFrequency The frequency of tracking updates

 

What does these two mean? I bet this can help resolve a lot of things.

Posted

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.

Posted

you need to be pretty much inside the entity

 

Warning!

 

 

maxresdefault.jpg

 

 

 

I am sorry, I had too good day xD

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

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.