-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Arno Dölinger edited this page Jun 30, 2026
·
6 revisions
Welcome to the Platform Weaver wiki.
Platform Weaver is a compiler plugin for cross-platform Minecraft code: annotate by platform, get a clean JAR per target. Declarations that don't belong to the platform you're building are stripped before bytecode is written, so a single source set produces one lean JAR per platform — with zero runtime overhead.
- §1. Getting started — install via JitPack, set the target platform, write your first annotated code
- §2. Annotations — the built-in platform annotations and how to define your own
- §3. Chameleon — collapse platform-divergent code into a single shared declaration
- §4. Same-name declarations — the one rule to know, and the interface pattern around it
- §5. Platform Weaver vs Architectury — how the two approaches compare