First commit

This commit is contained in:
Leijurv
2018-08-01 11:34:35 -04:00
commit f559e45f9c
50 changed files with 9042 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package baritone.pathfinding.goals;
import net.minecraft.util.math.BlockPos;
/**
*
* @author leijurv
*/
public interface Goal {
/**
* Does this position satisfy the goal?
*
* @param pos
* @return
*/
public boolean isInGoal(BlockPos pos);
/**
* Estimate the number of ticks it will take to get to the goal
*
* @param pos
* @return
*/
public double heuristic(BlockPos pos);
@Override
public String toString();
}