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
这个模组通过从宝可梦中心Wiki(意大利宝可梦百科)获取准确的招式数据,为Cobblemon 1.7修复并扩展了宝可梦的招式学习表。
CobblemonOptimizer
CobbleOptimizer 是一款服务端 Fabric 模组,可减少 Cobblemon 宝可梦实体造成的卡顿。
Cobbleboost
CobbleBoost is a client-side Fabric mod for Minecraft 1.21.1 that optimizes performance when playing with Cobblemon 1.7.
CobblemonOptimizer
CobbleOptimizer A server-side Fabric mod for Minecraft 1.21.1 that optimizes Cobblemon (the Pokemon mod) entity performance based on server load (TPS).
评论
登录后评论和评分