Package baritone.api.pathing.goals
Class GoalYLevel
java.lang.Object
baritone.api.pathing.goals.GoalYLevel
- All Implemented Interfaces:
Goal,ActionCosts
Useful for mining (getting to diamond / iron level)
- Author:
- leijurv
-
Field Summary
FieldsFields inherited from interface baritone.api.pathing.movement.ActionCosts
CENTER_AFTER_FALL_COST, COST_INF, FALL_0_25_BLOCKS_COST, FALL_1_25_BLOCKS_COST, FALL_N_BLOCKS_COST, JUMP_ONE_BLOCK_COST, LADDER_DOWN_ONE_COST, LADDER_UP_ONE_COST, SNEAK_ONE_BLOCK_COST, SPRINT_MULTIPLIER, SPRINT_ONE_BLOCK_COST, WALK_OFF_BLOCK_COST, WALK_ONE_BLOCK_COST, WALK_ONE_IN_WATER_COST, WALK_ONE_OVER_SOUL_SAND_COST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublecalculate(int goalY, int currentY) booleaninthashCode()doubleheuristic(int x, int y, int z) Estimate the number of ticks it will take to get to the goalbooleanisInGoal(int x, int y, int z) Returns whether or not the specified position meets the requirement for this goal based.toString()
-
Field Details
-
level
The target Y level
-
-
Constructor Details
-
GoalYLevel
-
-
Method Details