EvolvingGears-Forge-1.21.1-1.0.5-.jar
Curse Maven Snippet
What's new
Project Infrastructure
- Java SDK Update: Environment migrated from Java 17 to Java 21 to meet Minecraft 1.21.1 requirements.
- Gradle Build System: Wrapper updated to version 8.7 to support updated forgeflower and toolchains.
Core Data Architecture
- Data Component Integration: Deprecated NBT-based storage in favor of the new Data Components system.
- Custom Registries: Implemented
DeferredRegister<DataComponentType<?>>to handle persistent integer components for XP and Level. - Item Persistence: Refactored
ItemStackinteractions fromgetOrCreateTag()togetOrDefault()andset()for thread-safe data handling.
Tool Mechanics
- Registry Access: Modified enchantment application to utilize
RegistryAccesslookups, as enchantments are now data-driven in 1.21.1. - Interface Updates: Adjusted
ItemTooltipEventto display localized component data on item hover.
Configuration
- Safety Validation: Updated
Configclass to useResourceLocation.tryParse()to prevent runtime exceptions during resource location parsing. - Lifecycle Management: Standardized
FMLJavaModLoadingContextcalls to ensure proper registration of mod event bus listeners.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

