To register a Black Hole, you need to create a JSON file at data/corewithstuff/cws_black_holes/black_hole_name.json

One black hole per dimension.

Example JSON

{
  "id": "modid:black_hole_name", // Black hole registry ID. Optional; without it, the JSON filename becomes the ID.
  "dimension": "modid:space_dimension", // Dimension the black hole exists in.
  "removed": false, // True deletes this black hole. Only "id" is read alongside it.
  "position": [1000000.0, 0.0, 1000000.0], // Center [x, y, z]. Omit to let the mod place it.
  "randomize_position": false, // True picks a position instead of using the one above.
  "relocate_period_ticks": 0, // Ticks between relocations. 0 keeps it in place.

  "visual_scale": 18000.0, // Render size. Minimum is 1000. Drives the event horizon, lensing radius and gravity reach.
  "tilt_x": 28.0, // Accretion disc tilt on X in degrees.
  "tilt_z": 14.0, // Accretion disc tilt on Z in degrees.
  "yaw": 0.0, // Accretion disc yaw in degrees.
  "spin": 0.65, // Disc rotation rate. Negative spins the other way.
  "mesh_seed": 1337, // Disc mesh generation seed.
  "disk_color": "#FFFFB35C", // Accretion disc color (ARGB, #AARRGGBB).

  "hidden": false // True keeps the physics but stops rendering it.
}