docs: remove link to nowhere
This commit is contained in:
parent
e84137dd8d
commit
c015071742
@ -1,8 +1,14 @@
|
|||||||
# libjf-config-compiler-plugin-v2
|
# libjf-config-compiler-plugin-v2
|
||||||
This annotation processor provides finds classes annotated with `@JfConfig` and produces the necessary code and registration for them.
|
This annotation processor provides finds classes annotated with `@JfConfig` and produces the necessary code and registration for them.
|
||||||
Using this is the recommended way to use libjf-config.
|
Using this is the recommended way to use libjf-config.
|
||||||
Please be aware that the restrictions of [the reflection implementation](./libjf-config-reflect-v1.md) in regard to class loading
|
|
||||||
will also apply to configs using the plugin if it is loaded during runtime.
|
::: warning
|
||||||
|
If `libjf-unsafe` is present, configs may be accessed early.
|
||||||
|
|
||||||
|
This can lead to issues if your config class accesses other classes that are not yet intended to be accessed.
|
||||||
|
|
||||||
|
Make sure to only access classes that are safe to access early (e.g. JDK classes).
|
||||||
|
:::
|
||||||
|
|
||||||
Please note that your `fabric.mod.json` must reference the generated class, not your original config.
|
Please note that your `fabric.mod.json` must reference the generated class, not your original config.
|
||||||
If you plan on accessing your config before `onInitialize`, it is recommended that you call `.ensureInitialized()` on your
|
If you plan on accessing your config before `onInitialize`, it is recommended that you call `.ensureInitialized()` on your
|
||||||
|
Loading…
Reference in New Issue
Block a user