Getting Started
What is Matthiesen Lib API?
Section titled “What is Matthiesen Lib API?”Matthiesen Lib API is the server-side API for Matthiesen Lib, a lightweight Architectury-style library that enables mod developers to write shared code that works seamlessly across both Fabric and NeoForge mod loaders for Minecraft 1.21.1. Instead of maintaining separate implementations for each platform, you can write your mod logic once in common code and let Matthiesen Lib handle the platform-specific details.
Key Features
Section titled “Key Features”Matthiesen Lib API provides a unified API for:
- Content Registration - Register blocks, items, block entities, sounds, creative tabs, and more from common code
- Command System - Create cross-platform commands with a simple abstraction layer
- Permission System - Unified permission validation across both platforms
- Utility Classes - ItemBuilder, and other helpful utilities
Simplified Multi-Loader Development
Section titled “Simplified Multi-Loader Development”- Automatic Namespace Prefixing - The RegistryBuilder automatically adds your mod ID to all registered content
- Platform Abstraction - Access platform-specific features through a common API
- Unified Initialization - One initialization flow that works on both loaders