Interface AttackRange


@NullMarked @Experimental @NonExtendable public interface AttackRange
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder for AttackRange.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a new builder for creating an Attack Range.
    @org.jetbrains.annotations.Range(from=0L, to=1L) float
     
    @org.jetbrains.annotations.Range(from=0L, to=64L) float
     
    @org.jetbrains.annotations.Range(from=0L, to=64L) float
     
    @org.jetbrains.annotations.Range(from=0L, to=64L) float
     
    @org.jetbrains.annotations.Range(from=0L, to=64L) float
     
    @org.jetbrains.annotations.Range(from=0L, to=2L) float
     
  • Method Details

    • attackRange

      @Contract(value="-> new", pure=true) static AttackRange.Builder attackRange()
      Returns a new builder for creating an Attack Range.
      Returns:
      a builder instance
    • minReach

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=64L) float minReach()
    • maxReach

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=64L) float maxReach()
    • minCreativeReach

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=64L) float minCreativeReach()
    • maxCreativeReach

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=64L) float maxCreativeReach()
    • hitboxMargin

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=1L) float hitboxMargin()
    • mobFactor

      @Contract(pure=true) @org.jetbrains.annotations.Range(from=0L, to=2L) float mobFactor()