EnchantmentCatalog
Builds a complete candidate catalog. Failure leaves the host's previous catalog untouched.
Functions
Link copied to clipboard
Link copied to clipboard
Uses the same per-file selection and additive defaults policy as CustomConfig.
Link copied to clipboard
public static EnchantmentCatalog load(String namespace, Path directory, Set<ScriptHook> supportedHooks)
public static EnchantmentCatalog load(String namespace, Path directory, Set<ScriptHook> supportedHooks, Predicate<Path> ownsDefinition)
Selection runs after duplicate resolution, so hosts cannot load a rejected duplicate through another owner.
Link copied to clipboard