CobbleProfiler
CobbleProfiler is a Fabric mod that profiles the performance impact of cobblemon Pokemon entities on a Minecraft 1.21.1 server.
介绍
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)
常见问题
CobbleProfiler 支持哪些 Minecraft 版本?
CobbleProfiler 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
CobbleProfiler 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
MarcoErCarrozza 的其他作品
查看全部 →
Cobblemon:CRZMovesPokemon
This mod fixes and expands Pokemon movesets for Cobblemon 1.7 by sourcing accurate move data from Pokemon Central Wiki (the Italian Pokemon encyclopedia)
CobblemonOptimizer
CobbleOptimizer is a server-side Fabric mod that reduces lag caused by Cobblemon's Pokemon entities.
Cobbleboost
CobbleBoost is a client-side Fabric mod for Minecraft 1.21.1 that optimizes performance when playing with Cobblemon 1.7.
Cobblecasino
CobbleCasino is a feature-rich Minecraft Fabric mod for 1.21.1 that adds a fully functional casino experience to your Cobblemon server.
评论
登录后评论和评分