Welcome to Aether Datafixers! This section will help you get up and running quickly.
Before you begin, ensure you have:
- Java 17 or later installed
- A build tool: Maven or Gradle
- Basic understanding of Java and data serialization concepts
First, add Aether Datafixers to your project:
Learn how to:
- Add dependencies with Maven or Gradle
- Use the Bill of Materials (BOM) for version management
- Choose which modules you need
Get a working example in 5 minutes:
Learn how to:
- Create a simple data fix
- Apply a migration to JSON data
- See the transformation in action
Build a full migration system step by step:
Learn how to:
- Define
TypeReferenceconstants - Create
Schemaclasses for different versions - Implement
DataFixmigrations - Wire everything together with a
DataFixerBootstrap - Test your migrations
By the end of this getting started guide, you'll have:
- A working data fixer that can migrate data between versions
- Understanding of the core concepts
- A foundation for building more complex migrations
Before diving in, here's a quick overview of what you'll encounter:
| Concept | Purpose |
|---|---|
DataVersion |
Integer identifying a schema version (e.g., 100 = v1.0.0) |
TypeReference |
String identifier for a data type (e.g., "player") |
Schema |
Defines what types exist at a particular version |
DataFix |
A single migration from one version to another |
DataFixer |
Orchestrates applying multiple fixes |
Dynamic |
Format-agnostic data wrapper |
Ready to begin? Start with the Installation Guide.
- Concepts Overview - Deep dive into framework concepts
- Tutorials - Step-by-step guides for common tasks
- Examples - Complete working examples
- API Reference - Full API documentation