-
Made non-api packages no longer visible
-
Rewrote argument registration
Consider the below example to see how things have changed.
- .registerTypeWithArgument(Block.class, new BlockAdapter(), new Pair<>(BlockArgumentType::block, BlockArgumentType::getBlock)) + .registerType(Block.class, new BlockAdapter(), BlockArgumentType::block)
- Fixed enum parsing when enum overrides
toString
- Prioritised custom arguments/suggestors over enum check
- Fixed crashing on startup when the config is corrupted
- Added comments
- Prevented getting a config being broadcasted on servers
- Fixed keys being improperly printed when putting to a map
- Changed string type to greedy phrase for suggestor based argument types
- Fixed config directory not being created on initialisation
- Disallowed final fields reasons
- Allowed custom updaters to be private
- Provided (English) fallback translations for servers
- Fixed config not saving after resetting
- Made sure config is always saved after first read
- Added conditions
- Updated to Minecraft 1.20
- Added
reset
andresetTemporaryConfigs
methods to the API
- Allowed
private
fields in the configs class - Allowed fields to be
final
for initialisation - Added reset subcommand
- Updated to Minecraft 1.19.4
- Fix permissions for clients
- Added feature to disable modifications to a config through commands (
readOnly = true
) - Added feature to prevent loading and saving a config to a file (
temporary = true
)
- Added support for enums
- Implemented custom type parameters for update methods
- Fix unstable warning due to class being marked with
@ApiStatus.Internal
.
Initial release.