Commit Graph
987 Commits
Author SHA1 Message Date
piexel fb348d26c8 Run the pack's mantle pipeline as one mantle component and bridge the mantle to modules
ModuleMantleComponent runs the mantle stages of every chunk the mantle prepares, after Iris's own
components, with a radius of the pipeline's declared reach; it is disabled while the pack has no mantle
stages. IrisModuleMantle gives stages Iris's mantle in world coordinates: every module layer of a block
is kept in one ModuleLayerValues slice, encoded with the layer's codec, and layers no loaded module
registers keep their bytes. Chunk stages read their own chunk's mantle.
2026-10-08 11:48:11 +02:00
piexel efa6cb4b4a Read module settings per column with every level as its own entry
Chunk stages now run where any column of the chunk configures their settings, and every level
(dimension, region, surface biome, placement) is its own entry: the most-specific-wins merge is gone.
Settings with one option accept a bare JSON value, Iris's pack object classes in built-in settings are
read with the pack's own Gson, and studio renders both: the shorthand as an alternative form and Iris
classes with Iris's own definitions.
2026-10-08 11:38:27 +02:00
piexel 5f30e27485 Cover an object's declared size in its placement area
Boring and terrain bends cover the object's declared size, which can be
larger than the bounds of its blocks, so the placement area now reaches
whichever of the two is farther from the anchor.
2026-10-08 08:52:44 +02:00
piexel f052960e2f Run built-in chunk modules on Iris's own block hunk
- IrisChunk gives Iris's built-in chunk stages the engine, Iris's block
  hunk and the chunk context, bound on the generating thread while the
  pack's chunk graph runs.
- iris:perfection joins the built-in modules every pack loads.
- PerfectionModuleTest runs it through the chunk graph.
2026-10-08 08:50:51 +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 529d70b14a Place objects by running the pack's placement graph
- IrisObject.place runs the pack's resolved placement graph, Iris's
  built-in placement modules included, with IrisApi's PlacementRunner
  (ModuleObjectPlacement). The engine runtime no longer resolves
  placement lifecycle plans.
- Writes go to an ObjectPlacerEdit, a buffer over the Iris object placer
  that reads its own writes and reaches the placer only on commit: blocks,
  then tile data and iris:marker markers, then the caller's listener. A
  rejected placement writes nothing.
- The placement area is every column the object reaches in any rotation,
  moved by its translation and surface warp, widened by one block and the
  pipeline's reach, at any height.
- Each placement's seed mixes the world seed with the object key and the
  requested position. Without an engine one draw from the caller's random
  stands in for the world seed.
- Built-in stages read Iris's own placement inputs from IrisPlacement,
  bound on the placing thread while the graph runs.
- Gson decodes the module settings of every object placement in pack
  JSON, snippet placements included.
- Platform keys without a namespace read as Minecraft's.
- The built-in API package moved to the default module's source tree.
2026-10-08 08:33:48 +02:00
piexel da71e0e921 Run the pack's chunk graph inside Iris's chunk generation
- After the world mode's stages, ModuleChunkGeneration runs the pack's
  resolved chunk graph with IrisApi's ChunkRunner on the chunk's block hunk.
- Stages are active where the chunk's dimension, region or biome at its
  center configures their settings; per settings type the most specific
  declaration wins (biome over region over dimension).
- The block hunk is Iris's chunk hunk seen as IrisApi block states: unset
  blocks read as air, a write beyond the chunk fails instead of clipping.
- Terrain samples come from Iris's height, slope and biome streams, bounded
  by the chunk widened by the pipeline's reach. Pack dimensions, regions and
  biomes become ResourceIds under the pack folder's name.
- The invocation seed mixes the world seed with the chunk position.
- Mantle access and pack resources are not bridged yet and fail with an
  error that says so.
2026-10-06 14:31:35 +02:00
piexel 88ddf66e6e Load each pack's modules with IrisApi and decode their settings
- IrisModuleHost builds the one ModuleHost: no built-ins yet, the
  art.arcane.iris.builtin package exposed to packs, Iris's own dimension,
  region, biome and object placement fields reserved, the iris namespace
  reserved, jar copies under the plugin cache and the load log routed to
  IrisLogging.
- IrisData owns a PackModuleSet that loads the pack's modules on first use,
  reports a failed load once and closes with the data on hotload or unload.
- Dimension, region and biome loading decodes module settings under their
  id or built-in alias into IrisRegistrant.moduleSettings, failing a file
  that sets both, and the unknown-key warning accepts module keys.
2026-10-06 14:17:54 +02:00
piexel d80dd66588 Compile core against IrisApi from the sibling checkout
gradle/irisapi-resolution.settings.gradle includes the IrisApi checkout as
a composite build, like VolmLib, and fails clearly when there is none.
Core uses it compileOnly and in tests: how the API reaches a server is
undecided, so it is not shaded and a built jar cannot load packs yet.
2026-10-06 14:17:54 +02:00
piexel efc1320923 Use the sibling IrisModule as the built-in source owner
Remove the misplaced modules/default tree and point joint compilation, ownership validation, purity scans, source lookup, archives and modded shared source inputs at ../IrisModule. Actual feature sources now live directly in that sibling project, whose old examples and symlink view were replaced.

Validation: all 388 source hashes are unchanged, module check and the 37-test source/pack/purity slice pass, source archives match, and the production Bukkit artifact verifies. IrisModule itself remains outside this Git repository.
2026-10-04 14:36:10 +02:00
piexel 5544c96bc5 Extract built-in Iris features into the default module
Move existing feature implementations and pack models out of core into modules/default without changing packages or algorithms. Compile both source roots together while legacy engine dependencies remain. Add source ownership checks, preserve the Bukkit purity ceiling across both roots, and update source-based diagnostics and archives.

Validation: fresh compilation preserves all 1,995 runtime class hashes; module and Bukkit artifact checks pass. Targeted runs cover 955 tests, with 953 passing and two platform-fixture failures reproduced on the original commit.
2026-10-04 14:17:56 +02:00
piexel 846bd3e696 moved 2026-09-17 16:40:27 +02:00
piexel 190301d0f5 save point 7 2026-09-17 13:55:53 +02:00
piexel 635cbf952e save point 5 2026-09-08 11:25:43 +02:00
piexel 9eac507b08 save point 4 oh welp 2026-09-04 15:46:37 +02:00
piexel 715e17099d save point 3 2026-08-31 22:12:37 +02:00
piexel b25a479c37 save point 2 2026-08-31 18:47:37 +02:00
piexel a34f084615 save point 1 2026-08-31 16:49:37 +02:00
Brian Neumann-Fopiano 9103796845 Toggle Vision entities
- Hide living-entity markers by default while retaining player markers.
- Add an Entities control beside Grid and stop polling hidden entity snapshots.
- Localize the new control and status messages across all bundled languages.
- God i gate these kinds of commit messages
2026-08-28 16:41:06 -04:00
Brian Neumann-Fopiano 95d8523d1d Route hybrid schedulers
- Select Bukkit scheduling only when the bound platform identifies as Bukkit.
- Route hybrid Youer hosts through the modded scheduler despite Bukkit classes on the classpath.
- Add regression coverage for Bukkit and NeoForge platform identities.
2026-08-28 16:29:58 -04:00
Brian Neumann-Fopiano ecec18509c Honor bound platform
- Route shared runtime hooks through the active Iris platform instead of classpath presence.
- Keep Bukkit-specific mantle and Matter behavior behind explicit platform capabilities.
- Cover hybrid classpaths and bound hook precedence with regression tests.
2026-08-28 16:29:53 -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 4adef4576f adding mroe of this 2026-08-18 11:52:33 -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 33638eadd7 height-bound samples 2026-08-15 15:57:54 -04:00
Brian Neumann-Fopiano a7baa1c1b9 nukkit artifacts 2026-08-15 15:57:46 -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