Interface ClaimVisual


public interface ClaimVisual
  • Method Details

    • getClaim

      Claim getClaim()
      Gets the Claim of visual.
      Returns:
      The claim
    • getType

      ClaimVisualType getType()
      Gets the ClaimVisualType.
      Returns:
      The claim visual type
    • setType

      void setType(ClaimVisualType type)
      Sets the ClaimVisualType.
      Parameters:
      type - The new visual type
    • apply

      default void apply(UUID uuid)
      Applies the visual to player with UUID.
      Parameters:
      uuid - The player uuid to apply visual
    • apply

      default void apply(UUID uuid, boolean resetActive)
      Applies the visual to player with UUID.
      Parameters:
      uuid - The player uuid to apply visual
      resetActive - Whether to reset current player visuals
    • apply

      default void apply(User user)
      Applies the visual to User.
      Parameters:
      user - The user to apply visual
    • apply

      void apply(User user, boolean resetActive)
      Applies the visual to User.
      Parameters:
      user - The user to apply visual
      resetActive - Whether to reset current player visuals
    • revert

      void revert(User user)
      Reverts the claim visual.
      Parameters:
      user - The user to revert visual
    • revert

      void revert(UUID uuid)
      Reverts the claim visual.
      Parameters:
      user - The user to revert visual
    • getFillerSpacing

      int getFillerSpacing()
      Gets the amount of spacing, in blocks, between filler blocks.
      Returns:
      The amount of spacing between filler blocks
    • setFillerSpacing

      void setFillerSpacing(int amount)
      Sets the amount of spacing between filler blocks.
      Parameters:
      amount - The spacing amount