Interface Ranged

All Known Implementing Classes:
PathfinderBeg, PathfinderCatOnBed, PathfinderFollowMob, PathfinderLookAtEntity, PathfinderMoveThroughVillage, PathfinderMoveToBlock, PathfinderMoveTowardsTarget, PathfinderRangedAttack, PathfinderRangedBowAttack, PathfinderRangedCrossbowAttack

public interface Ranged
Represents a Pathfinder that contains Ranged Values
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default Attack Interval, in ticks (100)
    static final float
    Default Attack Range (6F)
    static final float
    Default Range for Looking
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Gets the current Range.
    void
    setRange(float range)
    Sets the current Range.
  • Field Details

    • DEFAULT_ATTACK_INTERVAL

      static final int DEFAULT_ATTACK_INTERVAL
      Default Attack Interval, in ticks (100)
      See Also:
    • DEFAULT_ATTACK_RANGE

      static final float DEFAULT_ATTACK_RANGE
      Default Attack Range (6F)
      See Also:
    • DEFAULT_LOOK_RANGE

      static final float DEFAULT_LOOK_RANGE
      Default 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