FilmicMode

public final class FilmicMode

Filmic mode sends every loaded model to every player who has its chunk loaded, skipping the line-of-sight raytrace and maxModelViewDistance in SkeletonWatchers. Recording mods such as ReplayMod can only replay the packets the recording client received, so a model culled for that player is missing or frozen in the replay.

filmicMode in config.yml is the persistent setting. /fmm filmic on|off sets a temporary override that never touches the file. The override lasts until the server restarts (statics reset) or until a config load reads a different filmicMode value than the previous load did.

Functions

Link copied to clipboard
public static boolean isCommandOverrideActive()
Link copied to clipboard
public static boolean isEnabled()
Link copied to clipboard
public static void onConfigLoaded(boolean configValue)
Called on every config.yml load.
Link copied to clipboard
public static void setFromCommand(boolean enabled)
Sets the temporary state from /fmm filmic.