AlexandriaHook
Base implementation for hooks which interface with the game environment. This provides mostly platform-independent hooks for loading, initialization, reloading and unloading, as well as default implementations of resource loading like locale files.
The hook mechanism is a highly opinionated system, mainly so that the experience of using Alexandria-based hooks is consistent across both platforms and plugins/mods.
A hook like this is intended to be contained inside an actual platform-specific hook, such as a Paper plugin or Fabric mod initializer. The platform hook will then expose certain properties of this Alexandria hook through public properties and methods.
Parameters
the type of settings object.
the metadata for this hook.
the logger used by this hook.
the file location from which to load the S.
the serializer options used when deserializing resources.