Interface Ranged
- All Known Implementing Classes:
PathfinderBeg, PathfinderCatOnBed, PathfinderFollowMob, PathfinderInteract, PathfinderLookAtEntity, PathfinderMoveThroughVillage, PathfinderMoveToBlock, PathfinderMoveTowardsTarget, PathfinderRangedAttack, PathfinderRangedBowAttack, PathfinderRangedCrossbowAttack
public interface Ranged
Represents a Pathfinder that contains Ranged Values
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault Attack Interval, in ticks (100)static final floatDefault Attack Range (6F)static final floatDefault Range for Looking -
Method Summary
-
Field Details
-
DEFAULT_ATTACK_INTERVAL
static final int DEFAULT_ATTACK_INTERVALDefault Attack Interval, in ticks (100)- See Also:
-
DEFAULT_ATTACK_RANGE
static final float DEFAULT_ATTACK_RANGEDefault Attack Range (6F)- See Also:
-
DEFAULT_LOOK_RANGE
static final float DEFAULT_LOOK_RANGEDefault Range for Looking- See Also:
-
-
Method Details
-
getRange
float getRange()Gets the current Range.- Returns:
- Current Range
-
setRange
void setRange(float range) Sets the current Range.- Parameters:
range- Range to set
-