Skip to content
These docs are a work in progress and may be incomplete or contain inaccuracies. (Or be for a newer unreleased version of the mod)

Matthiesen Core - Getting Started

Minecraft Version
1.21.1
Mod Loaders
External Links
Latest Release
Unknown Checking for updates...

Matthiesen Core is a library mod for NeoForge and Fabric that enables developers to create mods with a shared common codebase. It provides a set of core functionalities and utilities that can be used across multiple mods, allowing for easier development and maintenance. Instead of maintaining separate implementations for each platform, you can write your mod logic once in common code and let Matthiesen core handle the platform-specific details.

Matthiesen Core is the successor to Matthiesen Lib and Matthiesen Lib Api, which were two separate libraries that have now been combined into a single unified library mod, that provides a more streamlined and efficient experience for mod developers.

Matthiesen Core provides a unified API for:

  • Content Registration: Register blocks, items, entities, and other game content in a platform-agnostic way.
  • Event Handling: Listen to and handle game events across different platforms.
  • Networking: Send and receive network packets between the client and server.
  • Configuration Management: Manage mod configurations and settings in a consistent manner.
  • Utility Functions: Access a variety of utility functions for common tasks, such as logging, resource management, and more.
  • Client-Side Features: Includes client-specific features like HUD management, keybinding handling, and screen management.
  • Permission Management: Provides a permission system for managing access to certain features or commands.

Currently Matthiesen Core has a very simple configuration system that allows you to configure the mod’s behavior and settings. The configuration file is located at <game_directory>/config/matthiesen_core/config.json.

<game_directory>/config/matthiesen_core/config.json
{
"logging": {
"enableDebugLogging": false
}
}
  • logging: This section contains options related to logging behavior.
    • enableDebugLogging: A boolean value that determines whether debug logging is enabled. Set to true to enable debug logging, or false to disable it.

This mod uses FastStats to collect anonymous usage statistics. This helps the developer understand how this mod is being used and improve it over time. You can learn more about the data collected and how it is used by visiting FastStats: Information.

You can also view the data collected by this mod on the FastStats: Matthiesen Core page.

To opt out of this data collection, set the enabled property to false in the <game_directory>/config/matthiesen_core/metrics.properties file.