your current location:首页 > news>Fast Furnace for Fabric

Fast Furnace for Fabric

2024-12-15 02:50:16|Myriagame |source:minecraft skins

Overview

This module is transplanted to Fabric based on the FASTFURNACE module made by Shadows.

The module adjusts the original melting furnace, blast furnace and smoke furnace, so that they can run faster to improve the TPS when updating.

Similar to Fastworkbench, this module caches the final formula, and this formula is loaded before re -reading.

This phase is much faster for the original melting furnace to load all the melting furnace formulas.

At the same time, this may not have a lot of benefits for the original game, but the larger the game that has been modified or installed with a module, the faster the loading.

Technical information

The original melting furnace did a very stupid thing when querying the burning time of the fuel. It obtained the fuel burning time from a static function, and the function was re -created before returning.

This module caches the fuel into the mapping of the burning time so that it can be re -created only when the packet is loaded. This saves additional CPU time, especially when there are a lot of melting furnaces.

In addition, this module fixes the serialization bug of the furnace, which causes the burning time with a value of more than 32767 to be ignored when it is saved (because the combustion time is converted to a short variable, and even through int is written intoTo.

These changes are suitable for melting furnaces, blast furnaces and smoke furnaces.In order to ensure that there are fewer loops on the melting list, other modules should follow the same practice as this module.

Remark

This module requires Fabric Loader and Fabric API.

Tip: This module does not speed up the furnace's burning speed!

Minecraft images

Minecraft images

Minecraft images

In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.