mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 08:44:50 +00:00
Add value types for settings (BlockSpec, NoiseStyle, StyledRange, Range, BlockPosition, Object as any JSON), host-built noise through PackResources.noise(), and VanillaStructureHook for the platform's own structures
This commit is contained in:
1 parent
ef4b640867
commit
84969c74bd
28 files changed
+1012
-39
No files matched your search
@@ -7,6 +7,7 @@ import com.volmit.object.ObjectGeneratorFactory;
|
||||
import com.volmit.resource.ResourceKind;
|
||||
import com.volmit.stage.StageGraph;
|
||||
import com.volmit.validation.Validator;
|
||||
import com.volmit.vanilla.VanillaStructureHook;
|
||||
|
||||
/** Host implementation collects non-stage registrations before loading pack configuration.
|
||||
* Feature IDs must be unique. JSON fields must be unique per attachment target, including the
|
||||
@@ -42,4 +43,9 @@ public interface FeatureRegistry {
|
||||
|
||||
/** Adds a check the host runs over the whole pack wherever it validates packs. */
|
||||
void registerValidator(Validator validator);
|
||||
|
||||
/** Lets this module decide over the platform's own structures in the pack's worlds: block them, leave them to the
|
||||
* platform, or place them itself.
|
||||
*/
|
||||
void registerVanillaStructureHook(VanillaStructureHook hook);
|
||||
}
|
||||
Reference in new issue
Block a user