2
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
607 B
Java

package net.minecraft.entity.ai;
import net.minecraft.entity.EntityLiving;
public class EntityJumpHelper
{
private EntityLiving entity;
private boolean isJumping;
private static final String __OBFID = "CL_00001571";
public EntityJumpHelper(EntityLiving p_i1612_1_)
{
this.entity = p_i1612_1_;
}
public void setJumping()
{
this.isJumping = true;
}
/**
* Called to actually make the entity jump if isJumping is true.
*/
public void doJump()
{
this.entity.setJumping(this.isJumping);
this.isJumping = false;
}
}