Skip to content

2.0 refactor - #21

Open
sovdeeth wants to merge 35 commits into
mainfrom
2.0-refactor
Open

sovdeeth wants to merge 35 commits into
mainfrom
2.0-refactor

Conversation

@sovdeeth

@sovdeeth sovdeeth commented Mar 8, 2026

Copy link
Copy Markdown
Owner
  • split into multi-project: shapes library and skript addon
  • work on shader concept
  • huge cleanup
  • use registration api
  • packet-based rendering
  • constructor sections

sovdeeth and others added 30 commits February 13, 2026 15:31
… add tests

very rough and needs lots of cleanup
…ssions

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…raws

- ExprSecCustomModifier: expression-section that loads its body into a
  Trigger against PointModifierEvent and returns a CustomSkriptModifier
- CustomSkriptModifier: locals snapshot installed once per pass (lazily
  per thread), TriggerItem.walk so locals persist across points,
  contextType() validation, clone shares trigger + snapshot holder
- RenderPass/preparePass: extract batched render loop from
  DefaultPointSampler.render so DrawManager animated draws apply render
  modifiers with continuous point indices (replaces sendBatchNMS)
- Fix ShapeConstructorExpression.init returning false on success

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- skriptTest task: runs test scripts on a real Paper server against
  Skript 2.16.0 (matching the bumped compileOnly dependency; the old
  mavenLocal 2.14.2 custom build had a pre-release Registrar API whose
  lambdas broke on released Skript)
- Test scripts: shapes.sk (constructors, properties, constructor
  section), modifiers.sk (modifier/gradient/easing constructors, list
  ops, geometry modifier effect on points), customshader.sk (custom
  point modifier section, point exprs, parse-error cases)
- Fix SkriptParticleModule missing loadSelf (abstract in current API)
- Fix ExprEasing 'in[- ]out' pattern never matching 'in-out'/'in out'
- Register Shape -> RadialShape/LWHShape/CutoffShape/PolyShape
  converters so typed Shape expressions work with dimension properties

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant