Hi guys
I started modding and working with forge yesterday.I have at the moment a custom boat
which is,for the time being, supposed to emulate the normal boat just with a different texture.
I am however having two problems which I haven't yet figured out.
1. If I turn my camera to turn the boat as you would with the normal boat it doesn't turn all the way.
This means I end up like |/ with the pipe being the direction I'm looking and the / the direction the boat is.
2. The boat seems to collide with stuff earlier than the normal boat.Ie it seems to be bigger than it should.
I'm hoping someone else has had this/a similar problem before.
My code is just the normal minecraft boat code,but renamed. I use the Model,Render,Entity and Item classes.
I register my Entity with :
EntityRegistry.registerModEntity(PoweredBoatEntity.class, "poweredBoatEntity", 180, this, 40, 1, true);
And I register my Render in the ClientProxy class with :
RenderingRegistry.registerEntityRenderingHandler(PoweredBoatEntity.class, new PoweredBoatRender());
Then a question out of interest, the registerModEntity takes an int argument called the trackingRange(in my code = 40),
what does this trackingRange do,and can it be the cause of the turning problem?It also takes an in argument called updateFrequency(in my code = 1),
what does this do and can it cause my turning problem?
Thanks