/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-Server/src/main/java/net/minecraft/server/PathfinderGoalFloat.java
package net.minecraft.server;

public class PathfinderGoalFloat extends PathfinderGoal {

	private EntityInsentient a;

	public PathfinderGoalFloat(EntityInsentient entityinsentient) {
		this.a = entityinsentient;
		entityinsentient.goalFloat = this; // PaperSpigot
		this.a(4);
		((Navigation) entityinsentient.getNavigation()).d(true);
	}

	@Override
	public boolean a() {
		return this.a.V() || this.a.ab();
	}

	@Override
	public void e() {
		if (this.a.bc().nextFloat() < 0.8F) {
			this.a.getControllerJump().a();
		}

	}
}
