Apollo
Developers
Mods
ChunkBorders

Chunk Borders

View the border of the current chunk

Integration

How to toggle the mod

public void toggleChunkBordersExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModChunkBorders.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • GRID

    • Config Key: grid
    • Values
      • Type: Boolean
      • Default: true
  • GRID_SIZE

    • Config Key: grid-size
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • GRID_LINE_THICKNESS

    • Config Key: grid-line-thickness
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • GRID_COLOR

    • Config Key: grid-color
    • Values
      • Type: String
      • Default: #FFFFFF00
  • INNER_CORNERS

    • Config Key: inner-corners
    • Values
      • Type: Boolean
      • Default: true
  • INNER_CORNER_THICKNESS

    • Config Key: inner-corner-thickness
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • INNER_CHUNK_CORNER_COLOR

    • Config Key: inner-chunk-corner-color
    • Values
      • Type: String
      • Default: #FF0000FF
  • OUTER_CORNERS

    • Config Key: outer-corners
    • Values
      • Type: Boolean
      • Default: true
  • OUTER_CORNER_THICKNESS

    • Config Key: outer-corner-thickness
    • Values
      • Type: Float
      • Default: 1.0F
      • Minimum: 1.0F
      • Maximum: 5.0F
  • OUTER_CHUNK_CORNER_COLOR

    • Config Key: outer-chunk-corner-color
    • Values
      • Type: String
      • Default: #FFFF0000