Skip to content

Fog

Changes the fog color of the entity.

Fields

Field Type Default Description
red Float The red value of the fog color.
green Float The green value of the fog color.
blue Float The blue value of the fog color.
start Integer The start distance of the fog.
end Integer The end distance of the fog.

Example

{
  "type": "moborigins:fog",
  "red": 1,
  "green": 1,
  "blue": 1,
  "start": -1,
  "end": 30,
  "condition": {
    "type": "apoli:sneaking",
    "inverted": true
  }
}
This makes it so the player has a thick white fog, which can be disabled by sneaking.

This looks like:

Fog Image