Package dev.despical.mazeengine.config


package dev.despical.mazeengine.config
Validated configuration values, preset codecs, and message presentation.

Loaders check supported keys, scalar types, numeric ranges, block states, and required resources before the plugin publishes replacement Settings. Failed reloads retain the previous active configuration. Bundled defaults install missing files without overwriting existing administrator edits.

Presets combine geometry, generation biases, palettes, decoration, and display metadata. Saved mazes freeze their preset independently of later reloads. Messages and panel helpers render MiniMessage templates and select contextual actions using the sender's permissions.

  • Class
    Description
    Installs the bundled configuration and preset files that are missing locally.
    Loads and renders the plugin's configured MiniMessage templates.
    Stores validated block-state entries and their deterministic selection policy.
    Pairs a portable block-state string with its selection weight.
    Selects how palette entries are applied to block coordinates.
    Describes the complete theme and generation settings retained by a maze.
    Collects named settings before publishing an immutable, validated preset.
    Labels the intended challenge of a theme for display.
    Selects creation preflight rules for existing terrain.
    Stores the appearance and visibility settings for operation boss bars.
    Contains the validated configuration published for the running plugin.
    Stores validated preview, guide, and private-display configuration.