Fast Furnace minus Replacement
Mod Overview
This mod offers an alternative approach to optimizing furnace performance in Minecraft, utilizing Mixin technology instead of traditional registry replacement. This provides a more compatible and less invasive method of performance improvement that can operate exclusively on the server side.
Technical Advantages
A logical question arises: why is this modification needed if Forge already has a similar solution? The answer lies in the fundamental difference in implementation approaches.
The standard registry replacement method allows developers to substitute any blocks, items, or fluids in the game with their own subclasses. However, this approach has significant limitations:
- Only one modification replacing a specific block can work in a modpack - when multiple mods attempt to modify the same object, only the latest changes will be applied
- All references to the original object become invalid, which can disrupt the operation of other mods and even the base game
- Mixins and core mods won't work if the subclass overrides methods without calling the parent implementation
Key Advantages of the Mixin Version
- Full compatibility with other modifications that alter furnaces
- Ability to operate only on the server side, as processing occurs on the logical server (the mod also functions in singleplayer)
- No method overriding ensures proper operation with other mods injecting into the same methods
Important note: the mod requires mixinbootstrap but can be run exclusively on the server side if needed.