26.1.2-neoforge-1.0.0.jar
Curse Maven Snippet
What's new
# Changelog — Enhanced Anvil
All notable changes to this project will be documented in this file.
## [1.0.0] — 2026-11-06 — NeoForge 26.1.2 Port
### Added
- Ported Enhanced Anvil to **NeoForge 26.1.2** (`net.neoforged:neoforge:26.1.2.126`).
- Built and packaged the release artifact as **`26.1.2-neoforge-1.0.0.jar`**.
- Integrated modern registry system using NeoForge `DeferredRegister` and Minecraft `Identifier` keys for `EnhancedAnvilBlock`, `EnhancedAnvilBlockEntity`, and `EnhancedAnvilItem`.
- Implemented configuration management with NeoForge `ModConfigSpec` (`forgeenhancedanvil-common.toml`):
- `enable_unlimited_enchantments`: Toggle restriction bypass.
- `max_enchantments`: Customize maximum enchantments per item (-1 for unlimited).
- `allow_mending_infinity`: Allow Mending and Infinity concurrently on bows.
- `allow_multiple_protections`: Allow stacking multiple protection types on armor.
- Registered game event hooks on `NeoForge.EVENT_BUS`:
- `AnvilUpdateEvent`: Custom enchantment merging and cost computation via `setXpCost`.
- `LevelTickEvent.Pre`: Falling anvil landing detection on obsidian/crying obsidian for disenchanting.
- Implemented client-side GUI enhancements:
- Intercepted anvil screen opening using `ScreenEvent.Opening` to display exact experience costs via `EnhancedAnvilScreen`.
- Configured Gradle build system using `net.neoforged.moddev:2.0.148` targeting Java 25.
- Added client stability optimizations:
- Disabled FML early window control (`earlyWindowControl = false`) to eliminate OpenGL/Vulkan context handover issues on legacy GPU drivers.
- Added default window dimensions (`1024x768`) to the client launch arguments.
---
## [26.2-1.0.0] — 2026-11-06 — NeoForge 26.2 Initial Port
### Added
- Ported the codebase to NeoForge 26.2 (`26.2.0.93`) and packaged as `neoforge-26.2.1.0.0.jar`.
- Set up initial ModDevGradle build scripts, `neoforge.mods.toml` manifest, blockstates, textures, and localization models.
This mod has no additional files

