mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +00:00
PlatformStart gives the dimension's bottom; the catalog lists every provider of a service with its module
A shift rule written in world heights (a band of world Y) needs the bottom to convert the start's bounds, and the host asks each VanillaStructures provider in module order, naming the module when one fails. BlockAccess documents that a structure fit's access answers only the traits the platform's world can answer natively.
This commit is contained in:
1 parent
ee7bb11790
commit
4755e24407
4 files changed
+17
-1
No files matched your search
@@ -436,6 +436,9 @@ class ModuleRegistryTest {
|
||||
registerAs(registry, "test:alpha", services -> services.registerService(VanillaStructures.class, first));
|
||||
|
||||
assertEquals(List.of(first, other), registry.freeze().services(VanillaStructures.class));
|
||||
var registrations = registry.freeze().registrations(VanillaStructures.class);
|
||||
assertEquals(List.of(first, other), registrations.stream().map(ServiceRegistration::provider).toList());
|
||||
assertEquals("test:alpha", registrations.getFirst().module().info().id().toString());
|
||||
}
|
||||
|
||||
private static MantleCodec<String> codec(int version) {
|
||||
|
||||
Reference in new issue
Block a user