Главная › Моды › Оптимизация › Icterine

Icterine

Icterine

Advancements optimization (specifically, InventoryChangeTrigger)

Icterine — мод для Minecraft 1.18.2–1.20.4 из категории «Оптимизация» для загрузчиков Fabric, Forge, NeoForge, Quilt. Автор: Mephodio. В Lorix можно добавить мод в сборку — нужные зависимости подтянутся автоматически — и скачать её одним ZIP с папкой mods/ или запустить в Lorix Launcher одной кнопкой.

Категория
Оптимизация
Загрузчики
Fabric, Forge, NeoForge, Quilt
Версии Minecraft
1.20.4, 1.20.3, 1.20.2, 1.20.1, 1.20, 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19, 1.18.2
Скачиваний на Modrinth
4 164 967

Описание

Summary

Optimizes triggering advancements for obtaining items;

Might break parity with vanilla, but doesn't affect vanilla advancements and shouldn't affect the vast majority of mods/datapacks;

Even if it does affect something, advancement still should be obtainable by just dropping and picking up one of required items;

Currently, there are no known incompatibilities or issues;

Every injection into vanilla code can be disabled in config file.

All changes are server-side.

Results

Live test performed on dedicated server with 3 active players online, running custom Forge modpack with over 200 mods and BlazeandCave's Advancements Pack, which adds over 950 advancements. Stats collected using Spark for one hour.

With Icterine, InventoryChangeTrigger executes almost 2.5 times faster (as of version 1.1.0), spending about 7.5% of the tick time instead of 20%.

Stats comparison for Icterine 1.0.0 (2 times faster):

How vanilla InventoryChangeTrigger works

When the game detects that stack in player inventory has changed, it calls InventoryChangeTrigger for it. This includes picking up items, dropping items, dropping whole stacks, moving items in your inventory.

Also, when you open a container (chest, furnace, etc.), game thinks that all the slots in your inventory changed, and calls trigger for all of them, including empty slots.

InventoryChangeTrigger counts empty, non-empty and completely filled slots in your inventory. This information could be used in advancement triggers, but is not used in vanilla.

Как установить Icterine

  1. Скачайте Lorix Launcher и создайте сборку с нужной версией и загрузчиком.
  2. Найдите Icterine в окне модов — зависимости добавятся сами.
  3. Нажмите «Играть».

Или соберите модпак в конструкторе и скачайте ZIP: папку mods/ из архива положите в .minecraft.