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_COLOR

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

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

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