Closed lingyunmo closed 7 months ago
The changes reflect a shift in the mod's focus from a "thirst" mechanic to a "metal resistance" mechanic. This includes updates to HUD overlays, key bindings, event handling, networking, and data management to support the new feature. The mod version has been bumped, and various classes have been renamed and repurposed to align with the metal resistance theme.
File Path | Change Summary |
---|---|
gradle.properties |
Updated mod_version from 0.0.18 to 0.0.20. |
.../lanthanum/LanthanumClient.java |
Changed import and registration from ThirstHudOverlay to MetalResistanceHudOverlay . |
.../client/MetalResistanceHudOverlay.java |
Added new class for metal resistance HUD rendering. |
.../event/KeyInputHandler.java |
Renamed key binding and variable from "drink_water" to "restore_metal_resistance". |
.../event/PlayerTickHandler.java |
Added methods for metal presence and resistance handling; added initialized variable. |
.../item/ModOrePlacedFeatures.java |
Removed unused import for ModOreConfiguredFeatures . |
.../mixin/ModEntityDataSaverMixin.java |
Improved code formatting with consistent use of braces and spaces. |
.../networking/ModMessage.java |
Renamed packet classes and identifiers to support metal resistance functionality. |
.../networking/packet/MetalResistanceC2SPacket.java |
Introduced new packet class for metal resistance client-server communication. |
.../networking/packet/MetalResistanceSyncDataS2CPacket.java |
Renamed and updated packet class for syncing metal resistance data to the client. |
.../registry/ModPortal.java |
Cosmetic code formatting changes in portalBuilder method. |
.../utils/MetalResistanceData.java |
New class with methods for managing and syncing metal resistance data. |
As autumn leaves do twirl and dance, 🍂
Our mod takes on a new stance.
From thirst to metal, we resist,
With code and features, we persist. 🐇✨
Summary by CodeRabbit
New Features
Enhancements
Bug Fixes
Refactor
Removals
Documentation