
149
1
Список изменений
LiveProfiler
Real-time in-game performance profiler for tracking how long a process takes to complete.
!image
Download as mod (1.21.5)
Releases page
Use as dependency (mod developers)
1. Use jitpack to add to dependancies:
Repositories block:
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
Dependencies block:
dependencies {
implementation 'com.github.mesren2:LiveProfiler:1.0'
}
2. Create a feature
Make a feature class with a register() func:
public static void register() {
LiveProfiler.begin("MyFeature");
// feature process goes here
LiveProfiler.end("MyFeature");
}
In your ClientModInitializer() function, add:
// Replace with (all if more than one) your features
TestFeatures.register();
Building yourself
Download the source code and open it in IntelliJ Idea
Go to gradle sidebar > tasks > build > build
The output file will be in build > libs.
Файлы
liveprofiler-1.0.0.jar(16.45 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.0
Загрузчики
Fabric
Версии игры
1.21.5
Загрузок
127
Дата публикации
21.05.2025
