▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Sable: Optimized Entities
Sable: Optimized Entities

Sable: Optimized Entities

A small optimization patch mod for Sable, for faster entity tracking in Sublevels.

Оцените первым
88
1

Sable: Optimized Entities

A small optimization patch mod for Sable, for faster entity tracking in Sublevels. It can be installed in the server, meaning no requirement for players to update their modpacks and add the same mod as well.

NOTE: This mod does not guarantee full stability, even though it is mostly free of bugs in my testing.

How does it work?

Sable had this code, that let players see entities within a Sublevel properly by tracking entities and sending Sable's converted entity positions inside of specific Sublevels to the players.

But something is wrong, their code still does useless calculation/checking for ALL loaded entities that aren't inside of any sublevel.

For example in a big Minecraft server, there are 20 players and 1000 entities loaded where all of them are near to each other and not inside of the sublevel. If we do the math where 20 Players x 1000 entities, Sable's checking code runs around 20,000 TIMES per tick. Which it scales really high as more players and entities are active and worsening the performance.

So I've made this ultra-specific and simple mod that replaces Sable's tracking code with an more optimized one. (literally just a simple short circuit guard clause to make it faster lol)

Use this mod if you have:

  • Tons of active entities that aren't inside of any sublevel (such as mobs and items)
  • Many (such as 20 or more) active players.
  • A lot of chunks (around 5000) are loaded
  • ChunkMap.move() or sable$trackSubLevelEntities() specifically eating your TPS according to Spark profiles.
  • A low-end server

If none of these are applicable, then this mod will not be effective for you.

Benchmark

Tested from an Aeronautics server (STARSOUL) with ~25 real players, ~5100 chunks, and ~3500 active entities with an AMD EPYC 4564P CPU and 12GB allocated.

Without Mod

!Without Mod Image

With Mod

!With Mod Image

Meaning this mod can do ~3.7x faster entity tracking than Sable does. Ain't that neat?

Партнёрский материал

Как поиграть с друзьями с модом Sable: Optimized Entities?

Мод Sable: Optimized Entities куда интереснее в компании: поднимите сервер Майнкрафт с уже установленным модом, позовите друзей и играйте по своим правилам. Хостинг Майнкрафт для мода Sable: Optimized Entities будет готов за пару минут - BungeeHost сделает всё за вас.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Зависимости

Ссылки

Создатели

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:22 часов назад
Главная