# Changelog for Mob Dice Attributes 1.21.1
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
---
## [1.0.0] - 2026-04-23
### ⚙️ Changed
- **Platform port: Forge 1.20.1 → NeoForge 1.21.1**
- Build system migrated to `net.neoforged.moddev` (Gradle plugin)
- `@Mod` class now uses constructor injection of `IEventBus` and `ModContainer`
- `Mod.EventBusSubscriber` replaced with `@EventBusSubscriber(bus = Bus.GAME)`
- `ForgeConfigSpec` replaced with `ModConfigSpec` throughout
- `ResourceLocation.fromNamespaceAndPath()` API adopted
- Attributes API updated: `Attributes.X` returns `Holder<Attribute>`; `.value()` used to reach `RangedAttribute`
- GottschCore package updated: `mod.gottsch.forge.gottschcore.*` → `mod.gottsch.neo.gottschcore.*`
- GottschCore artifact updated: `gottschcore` → `gottschcore-neoforge`
- `neoforge.mods.toml` moved to `src/main/templates/META-INF/` with `generateModMetadata` task for property substitution
- Mod config registered directly via `modContainer.registerConfig()` — removed premature `ModConfigEvent` validation listener that caused "Cannot get config value before config is loaded" crash
- `isValidEntity()` simplified to `entity instanceof Monster` (Enemy interface removed in 1.21)
- Gradle wrapper pinned to 8.12.1 for compatibility with moddev 2.0.78
- All dependencies declared `side = "SERVER"` — mod is server-only and clients can connect without it installed
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }