Commit Graph
115 Commits
Author SHA1 Message Date
piexel 9e69f0666d Merge branch 'wave2/e2' into feat/irisapi-host
# Conflicts:
#	core/src/test/java/art/arcane/iris/core/project/SchemaBuilderParityTest.java
2026-10-09 22:33:49 +02:00
piexel 0b303eb937 Merge branch 'wave2/d' into feat/irisapi-host 2026-10-09 22:33:42 +02:00
piexel e120991ad3 Iris has no loaders for loot tables, spawners, entities and markers any more
Callers read them through LootResources and SpawnResources; the pack's loot check moved to iris:loot. RegistryMatter
asks its subclass how to load a key, the entity command handler lists entities through the module kind.
2026-10-09 22:24:20 +02:00
piexel 406d3e47d3 Entity spawning asks the EntitySpawns services
WorldEntitySpawner and MarkerSpawnScanner no longer read spawners, entities or markers: modules plan the spawns and
describe the entities as EntitySpec, BukkitEntitySpawner creates them and the host checks light, surface and free space.
Block-break marker cleanup asks the module what a marker means.
2026-10-09 22:16:35 +02:00
piexel 23e07c3a5f Host side of the vanilla structure hook's starts, adjustments and setup; the planner is gone
ModuleVanillaStructures asks every hook for rules and adjustments (per engine, structure and snapshot), starts per
chunk (converted to NativeStructureStartPlan, refused outside the chunk asked for) and setup per dimension before a
world exists (DimensionSettings: the dimension's settings without an engine). NativeStructureStartPlan carries the
module's start as host types (structure key, chunk, world base Y, underground, replacesPlatformStart, identity,
IrisJigsawConfiguration, stilt, terrain) and decision(); NativeStructureStarts replaces plansAt/matchingPlan.
NativeStructureGenerationPolicy builds its decision from rule and adjustment only. NativeStructureFrequencies (host)
replaces IrisImportedStructureControl in INMSBinding, Bukkit NMS, DatapackStructureScopeSVC and modded frequency
overrides; DatapackIngestService asks setup for protecting vanilla definitions. IrisValues converts the fit value
types to Iris's classes (same JSON). Studio: Reference.STRUCTURE_PREFIX/STRUCTURE_SET complete like Iris's prefix
and structure set lists; the annotation branches they replace are gone. Validators read the iris:structure key.
Messages name iris:structure instead of importedStructures.

Tests: NativeStructureStartsTest pins the planner's starts for seed 1337 (52 starts) and the fit JSON;
NativeStartPlannerTest (moved), ImportedStructuresTest (was IrisImportedStructureControlTest),
StructureSettingsDecodingTest (migrated overworld JSON), policy, schema, validator, handler, Bukkit NMS and modded
tests ported.
2026-10-09 22:09:44 +02:00
piexel bc6d4e8857 Callers of ObjectPlaceMode import it from the anchor module's package 2026-10-09 22:04:03 +02:00
piexel 946ad61f7f Loot and block drops ask the Loot and BlockDrops services
EngineBukkitOps, WorldObjectPlacer and WorldBlockDropRouter no longer read loot classes: the modules name the tables and
return resolved ItemDrops, which BukkitItemStacks creates. LootResolver keeps the generic stream helpers; table
resolution moved to LootTables in iris:loot. IrisLootEvent carries the Loot sources.
2026-10-09 22:02:47 +02:00
piexel 2851e5d304 Put the slim libraries pack validation needs (Caffeine, Paralithic) on the Bukkit plugin's test classpath 2026-10-09 14:48:13 +02:00
piexel 25fd24b7c2 Merge wave1/a2 2026-10-09 14:43:33 +02:00
piexel 5cb83a4232 Give the modded native reference repair test a pack without modules, which the generation policy now asks, and keep IrisValues' conversions to its package 2026-10-09 14:42:27 +02:00
piexel 621e0e65bc Apply vanilla structure hooks on every platform: ModuleVanillaStructures asks the pack's hooks once per engine, structure and snapshot, and NativeStructureGenerationPolicy takes suppression and module placement from them instead of reading the structure locator; also render module enums in studio without failing 2026-10-09 14:41:06 +02:00
piexel f501e3baf7 Give modules a world per engine runtime and pack snapshot with lifecycle hooks, and ask them through services: IrisPackWorld and ModuleWorlds (start on publish, restart when the pack's resources reload, stop on retire), contexts' world(), ModuleServices, Engine.getObjectsAt through ObjectsAt and the Iris structure find path and structure index through StructureLocator 2026-10-09 14:35:32 +02:00
piexel 2f3ba3cebe Serve module resource kinds through IrisPackResources, run module validators wherever packs are validated, and drop the structure, jigsaw pool and piece loaders and validators from core 2026-10-08 20:36:10 +02:00
piexel 844e3205ac Mirror objects along X and Z in the object transformer, mirroring block states through the platform's own mirror 2026-10-08 15:16:25 +02:00
piexel 563c2cd276 Answer the GRAVITY, LOG and LEAVES traits, block tags and attachment to a face from the platform layer, with Bukkit, modded and stub implementations 2026-10-08 15:06:27 +02:00
piexel 0f63a3c59a Replace world modes with one generation path through the module pipelines
EngineGeneration replaces the engine mode: it generates the mantle around a chunk, then runs the
pack's chunk graph, Iris's built-in stages included, and keeps the per-runtime state built-in stages
need. IrisChunk carries the biome hunk and multicore flag, IrisMantleChunk gives built-in mantle stages
Iris's mantle writer, and the module mantle component now runs as the first pass, where carving ran.
Built-in modules are loaded with Iris's pack object model as host types.
2026-10-08 12:02:38 +02:00
piexel 2aab5ae9a3 Show pack modules' settings in studio and reload them when their jars change
- SchemaBuilder renders the settings the pack's modules add: each
  feature at a dimension, region, biome or object placement becomes a
  property under its id and, for built-ins, its alias, with a constraint
  that an object holds only one of the two. Each settings class is one
  definition; options carry their kind, bounds, defaults and
  descriptions, and references complete from the same lists Iris's own
  fields use.
- The code workspace writes a schema for each module snippet type under
  snippet/<name>/.
- A pack whose modules fail to load gets no workspace; the error is
  logged instead of writing schemas without the modules.
- PackModuleSet forgets loaded or failed modules once the jars in
  <pack>/modules change, and the workspace then reloads the pack data, so
  studio picks up rebuilt module jars. The studio hotload watcher now
  also reacts to .jar files.
- Placement tests name Iris's built-in states by their own keys, since
  those resolve once per JVM with whichever platform a test bound first.
2026-10-08 08:44:18 +02:00
piexel 846bd3e696 moved 2026-09-17 16:40:27 +02:00
Brian Neumann-Fopiano 27799039d1 Bind generation context
- Resolve first-generation engine binding from authoritative published level context.
- Validate generator identity and recover canonical Overworld binding from stale snapshots.
- Add shared loader regression tests and their Mockito test dependency.
2026-08-28 16:30:11 -04:00
Brian Neumann-Fopiano fd8c55076e Bridge host levels
- Publish and remove dynamic levels through host lifecycle methods when available.
- Attach hybrid host level data before engine binding and publication.
- Preserve native loader behavior when host extensions are absent.
2026-08-28 16:30:05 -04:00
Brian Neumann-Fopiano 1ca943ab51 Remove Sentry
- Remove automatic error reporting and server-identifying attachments.
- Remove Sentry dependencies, release tooling, settings, and test commands.
- Keep failures operator-visible through local stack traces and logging.
2026-08-28 16:29:33 -04:00
Brian Neumann-Fopiano 2b92fbf825 iris release commits 2026-08-27 02:47:05 -04:00
Brian Neumann-Fopiano f398c55091 Remove Hydrology 2026-08-27 00:45:15 -04:00
Brian Neumann-Fopiano bdaa84975a f 2026-08-25 15:49:54 -04:00
Brian Neumann-Fopiano 07cc76614f Way too much 2026-08-25 12:52:12 -04:00
Brian Neumann-Fopiano 2797a5bf22 dwa 2026-08-24 16:50:57 -04:00
Brian Neumann-Fopiano 37b01b73c4 Imagemap sanitization 2026-08-24 13:44:44 -04:00
Brian Neumann-Fopiano e20bb86f40 f 2026-08-24 02:27:26 -04:00
Brian Neumann-Fopiano fe5651f854 d
d
2026-08-23 13:56:23 -04:00
Brian Neumann-Fopiano dce7af1955 object cleanup 2026-08-22 11:29:37 -04:00
Robert Stoneking fe684083e7 Adding myself and fixing Windows Tests. 2026-08-21 20:59:26 -06:00
Brian Neumann-Fopiano 34092da6be d 2026-08-21 02:03:24 -04:00
Brian Neumann-Fopiano 8eaafa3c69 Object fixes / PS 2026-08-20 11:49:39 -04:00
Brian Neumann-Fopiano 5cacf6d435 MV 2026-08-20 10:59:17 -04:00
Brian Neumann-Fopiano fec655def4 ddd 2026-08-19 22:21:25 -04:00
Brian Neumann-Fopiano 41b2b53ac8 dwa 2026-08-19 19:36:03 -04:00
Brian Neumann-Fopiano 03746468ec COntent 2026-08-16 23:53:42 -04:00
Brian Neumann-Fopiano a1cef36f10 a 2026-08-15 23:02:50 -04:00
Brian Neumann-Fopiano 7691d2df53 dwa 2026-08-15 22:32:40 -04:00
Brian Neumann-Fopiano fc0fdf4ce4 d 2026-08-15 21:32:00 -04:00
Brian Neumann-Fopiano ef2e1b8f58 Modded adapters 2026-08-15 15:58:26 -04:00
Brian Neumann-Fopiano 8297e49ed2 Fix Iris replacement 2026-08-15 15:58:07 -04:00
Brian Neumann-Fopiano 4568b3fff1 chunk granularity 2026-08-15 15:58:00 -04:00
Brian Neumann-Fopiano d196ffe853 stabilize pregeneration 2026-08-15 15:57:36 -04:00
Brian Neumann-Fopiano 57072d5bcd Correct Java 26.2 Iris world lifecycle 2026-08-15 11:27:46 -04:00
Brian Neumann-Fopiano 32beca236c ddd 2026-08-13 16:54:37 -04:00
Brian Neumann-Fopiano 1586b4bd1a dwa 2026-08-13 12:38:08 -04:00
Brian Neumann-Fopiano 14b6280668 Full audit fixpass: 93 defect fixes, 14 perf wins, vestigial cleanup 2026-08-13 01:01:01 -04:00
Brian Neumann-Fopiano 13e02ecd2f s 2026-08-12 16:31:27 -04:00
Brian Neumann-Fopiano 12b97b7994 Fixes 2026-08-12 00:42:33 -04:00