Jump to content

EntityMoveHelper changing view?


Lightspeed360

Recommended Posts

	/**Custom Movement*/
/**MicroSlime MoveHelper*/
class MoveHelper
 extends EntityMoveHelper
 {

	MicroSlime microslime;

	public MoveHelper(EntityLiving p_i1614_1_) 
	{
		super(MicroSlime.this);
		microslime = 
				(MicroSlime) p_i1614_1_;
	}

	@Override
	public void onUpdateMoveHelper() 
	{



		if (this.update)
		{
			this.update = false;
			if (this.entity.onGround)
			{
				microslime.getJumpHelper().setJumping();
				this.entity.setMoveForward(0.2F);
			}
		}
	}
}

Whenever he tries to move he always faces the way he was when spawned/the game started

Link to comment
Share on other sites

It to jump and move foward at a speed Where it's looking

It's suposed to be a very tiny 4x4 slime that is curios(I can do this easyish) and you can tame it

The Problem is it faces it back to the way it spawned before it moves :L

 

 

 

<--- As you can see "I'm new"

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.