mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
The jigsaw definitions, StructureResources and IrisDirection now come from IrisModule. Iris registers iris:structure (StructureModule) with its own modules; iris:structure-model keeps the validator and the locator and vanilla structure services. StructureResources lookups take the pack's PackResources, so callers pass data.getPackResources(); the Bukkit plugin compiles against the API for that. IrisRegistrant extends the module's KeyedResource, which holds the load key. A structure's loot placement is StructurePlacing.lootPlacement. Studio maps an API object reference (GeneratedObject) to Iris's object loader.