snackbag / TT20

TT20 helps reduce lag by optimizing how ticks work when the server's TPS is low.
GNU Affero General Public License v3.0
35 stars 2 forks source link

Furnace Cook Times #21

Open fibberclip opened 1 month ago

fibberclip commented 1 month ago

After a fair bit of more playtime i've realized that furnace cook times should also be adjusted bc they're also way too slow sometimes

JXSnack commented 1 month ago

You can already enable this feature using the default disabled block-entity-acceleration config option.

  1. Navigate to the config folder, then open the tt20 directory. You should find two files: config.json and block_entity_mask.json.
  2. In config.json, set block-entity-acceleration to true. Example: "block-entity-acceleration": true, don’t forget the comma at the end!
  3. This change will apply acceleration to all block entities on your server, which isn't ideal. Applying it this way may do more harm than good, as it gives extra ticks to block entities that haven't executed yet. If your lag is entirely caused by entities, this might help, but it’s unlikely to be optimal. That's why you can change the mask of what should be accelerated and what shouldn't.
  4. Open block_entity_mask.json, and you should see:
    {
     "type": "whitelist",
     "blocks": [
       "*:*"
     ]
    }

    The type can either be blacklist or whitelist. A blacklist will exclude only the blocks in the mask, while a whitelist allows only the blocks listed. The blocks key holds a list of values, and you can add as many as you need, ensuring commas after each value except the last. In your case, replace *:* with minecraft:furnace to accelerate only furnaces.

  5. Save the file.
  6. In-game, run /tt20 reload to apply the changes.
fibberclip commented 1 month ago

OOOHH i wasn't entirely sure of what that was for, i didn't quite understand when i first read the mod description, tysm!!! i'll give this a shot 🙏🙏