Bellows

No-compromises drop-in optimizations for Minecraft Commands/Datapacks.

Редакция NLZONE · 3 мин чтения · 0 просмотров
Bellows
Скачать Bellows26.2 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

No-compromises drop-in optimizations for Minecraft Commands/Datapacks.

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 26.2 – 26.3
  • Скачиваний на Modrinth: 2 039

Подробно

Bellows (formally Radon) Bellows is a no-compromises drop-in Fabric mod designed to apply targeted optimizations for Minecraft commands-- especially in environments with many large datapacks. Do to the targeted nature of Bellow's optimizations, performance gains are somewhat variable. Most large datapacks see a 50-60% reduction in tick time using Bellows. Certain packs like Animated Java can see a 70-90% reduction in tick time.

The following optimizations are used: Limiting serialization of NBT data to the requested data instead of all the data, saving massive time on data get (etc.) operations. For example, if you do data get entity @s Health on a player, normally Minecraft would copy & send all of the player NBT data, including the +1000 long array of unlocked recipes. With Bellows, it will copy and send only Health and nothing more. Deserializing of NBT data is similarly limited to requested data only. This is twice as effective since reading NBT data requires first writing nbt data, which uses the above optimization. Entities are cached based on their type (supports type tags) and selector tags. When using @e, the search function will check the caches for valid types and selector tags, and will perform the @e search only on the smallest cache. That is, if you select @e[type=marker,tag=mytag] and there are 100 markers, 50 with mytag, then the @e will only search the 50 entities with mytag. Currently, this does not support type=! and tag=!. Note: As of 1.9.3, Minecraft limits @e searches to specific sub-chunks when using distance= and dx,dy,dz=. Bellows makes no attempt to optimize these searches, it only does global searches. Fix for MC-168596 "Chunks outside of render distance are not unloaded if 'execute if block' runs on it every tick." While this may not be noticeable in single player, on a server hundreds of chunks can be force-loaded in random players' bases due to custom blocks receiving tickly if block checks.

Special NBT cases: "Quick Data:" a type of optimization which pre-compiles an nbt modification and directly updates the entity, bypassing the normal NBT process (even with the other nbt optimization, this can save a lot of time). Currently only applies the transformations, but can be expanded to other data fields. The Transformation field on display entities always calculates the matrix form when built, even though the server never uses this form. Bellows disables this construction. "data" field on entities uses a standard deep copy instead of a Codec. Reduces time by ~50%.

Usage If you're setting up a server with a lot of data

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

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также