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

CobbleProfiler

CobbleProfiler is a Fabric mod that profiles the performance impact of cobblemon Pokemon entities on a Minecraft 1.21.1 server.

98
1

CobbleProfiler 1.0.1

release8 марта 2026 г.

CobbleProfiler v1.0.1 — Bugfix Update

  • Fixed a crash that could happen when a Pokemon entity was removed from the world while the profiler was collecting metrics (NullPointerException in RAM estimation)
  • Fixed a security issue in the web panel where Pokemon with special characters in their names (e.g. nicknames with quotes) could break the dashboard or cause display errors
  • Fixed a potential crash when reading a Pokemon's custom name during tick profiling
  • Improved spawn calc metric accuracy — the "Spawn Calc" label now more accurately reflects what's being measured (overall player tick overhead, which includes spawn calculations)
  • Minor client fix — the "time since last update" indicator no longer shows incorrect values before the first data sync from the server

CobbleProfiler 1.0.0

release25 февраля 2026 г.

CobbleProfiler

CobbleProfiler is a Fabric mod that profiles the performance impact of https://cobblemon.com Pokemon entities on a Minecraft 1.21.1 server. It has zero
compile-time dependency on Cobblemon — it uses a Mixin on LivingEntity.tick() with a runtime class name check and reflection to extract species data.

What it tracks

  • Entity tick time — Measures how long each Pokemon entity takes to tick (in ms), with per-entity breakdown, averages, and max values
  • Spawn calculations — Profiles the overhead of Cobblemon's spawn system by timing ServerPlayerEntity.tick() (where Cobblemon injects its PlayerSpawner logic)
  • Network packets — Counts S2C packets (position, velocity, animation, attributes, tracker updates) per Pokemon entity per second
  • RAM usage — Heuristic-based memory estimation per entity (~7KB base + adjustments for custom names, passengers, moves)

How you interact with it

  • F7 — Toggles a HUD overlay in the top-right corner with real-time metrics and a tick time sparkline graph
  • F8 — Opens a full-screen GUI with 4 tabs: Overview (summary cards + graph), Entities (top 20 sorted by tick time), Spawning (spawn calc history), Network (packets/sec breakdown + bandwidth estimate)
  • /cobbleprofiler — Chat commands: status, report (with OK/WARNING/NOTICE verdict), web on|off, reset
  • Web panel (port 8095) — HTTP server with a dashboard and JSON API at /api/metrics and /api/history, using the JDK built-in HttpServer (no external dependencies)

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

Minecraft: Java Edition

1.21.x

Платформы

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

Сервер

Детали

Лицензия:MIT
Опубликован:3 недели назад
Обновлён:2 недели назад
Главная