mergefeel-0.0.2-beta.jar
Curse Maven Snippet
What's new
Mod: Change Log
Features & Improvements
-
Breeding & Unstacking System:
-
Implemented a new system to correctly handle breeding for stacked mobs. Right-clicking a mob in a stack with its food will now unstack one mob, allowing it to enter the "in love" state.
-
Prevented mobs that are in the "in love" state or on a breeding cooldown from merging back into a stack. This ensures the breeding process can complete without interruption.
-
-
Code Refactoring:
-
Consolidated duplicated mob cloning logic into a new helper method (
createClonedMob). This improves code maintainability and readability. -
Addressed compiler warnings related to redundant casting and duplicated code fragments for cleaner and more robust code.
-
Bug Fixes
-
Fixed a critical bug where mobs would fail to unstack after being fed. This was caused by the cloned mob having a duplicate UUID, which prevented it from being added to the world. The cloning process now correctly removes the UUID, forcing the game to generate a new one for the unstacked mob.
-
Resolved a bug where mobs would not unstack for breeding, but the stack count would decrease. The fix ensures that a new, single mob is properly spawned.
This mod has no additional files

