Interface IPlayerDimensionClaimsAPI


public interface IPlayerDimensionClaimsAPI
API for dimension claims of a player
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<net.minecraft.world.level.ChunkPos>
    Gets a set of all claiming anchors for this player.
    Gets a stream of all claim position lists in this dimension for this player.
  • Method Details

    • getStream

      @Nonnull Stream<IPlayerClaimPosListAPI> getStream()
      Gets a stream of all claim position lists in this dimension for this player.
      Returns:
      the stream of all claim position lists, not null
    • getAnchors

      @Nonnull Set<net.minecraft.world.level.ChunkPos> getAnchors()
      Gets a set of all claiming anchors for this player.
      Returns:
      a Set of chunk positions of all claiming anchors for this player and dimension, not null