mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 01:04:29 +00:00
Let built-in modules describe the classes Iris's own classes hold (registerHeldType)
This commit is contained in:
1 parent
46676fd99b
commit
668d46bd91
12 files changed
+131
-3
No files matched your search
@@ -413,6 +413,9 @@ public final class FloraSettings implements IrisFeature {
|
||||
that no stage names, such as ones read only through `FeatureSettings.at(...)`, are registered with
|
||||
`registry.registerSettings(WindSettings.class)` in `register`. Their feature id follows the module
|
||||
id like any other, and once registered, other modules may name them in `when(...)`.
|
||||
- A class of a built-in module that Iris's own classes hold, such as the clamp field of an object placement, is
|
||||
registered with `registry.registerHeldType(Clamp.class)`, so studio describes it from the class (as an
|
||||
`ObjectType`, with no feature). Only built-in modules may; a pack module's class can never be a field of an Iris class.
|
||||
|
||||
A load error names the field, the settings and the module:
|
||||
|
||||
|
||||
Reference in new issue
Block a user