Class ClaimResult<C extends IPlayerChunkClaimAPI>

java.lang.Object
xaero.pac.common.claims.result.api.ClaimResult<C>

public class ClaimResult<C extends IPlayerChunkClaimAPI> extends Object
A claim result for a single chunk
  • Constructor Details

    • ClaimResult

      public ClaimResult(@Nullable C claimResult, @Nonnull ClaimResult.Type resultType)
      A constructor for internal usage
      Parameters:
      claimResult - the claim state where relevant
      resultType - the result type
  • Method Details

    • getClaimResult

      @Nullable public C getClaimResult()
      Gets the claim state associated with this result where relevant.
      Returns:
      the claim state for this result, can be null
    • getResultType

      @Nonnull public ClaimResult.Type getResultType()
      Gets the ClaimResult.Type of this result.
      Returns:
      the type of this result, not null