SSCL Wiki

Fluent API

SSCL uses a fluent API, so you can chain settings together.

For example:

DoubleValue distance = category
        .doubleValue("distance", 4.0)
        .min(1.0)
        .max(32.0)
        .decimals(1)
        .comment("Camera distance.")
        .tooltip("How far the camera is placed behind the player.");

You don't have to chain everything. You can also set things one by one.