2.2.2-1.20.1
Compatibility
Changes
- Improved default NPC poses: idle/sitting/sleeping/sneaking/swimming.
- README: documented
is_movingand added a demo example forset_pose. - Dedicated server crash on
RuntimeDistCleanerwhen opening a dialogue: client-only code (instanceof/newof client classes) moved out of network packet classes intoClientPacketHandler, invoked viaDistExecutor.unsafeRunWhenOn(Dist.CLIENT, ...). if_varcondition: a non-existent variable compared to a number ineq/neqis now treated as0, matching the existing behavior ofgt/lt/gte/lte.
-
Добавлены и улучшены дефолтные позы NPC: idle/sitting/sleeping/sneaking/swimming
-
README: добавлено пояснение
is_movingи демо-пример дляset_pose. -
Краш на dedicated-сервере (
RuntimeDistCleaner) при открытии диалога: клиентский код (instanceof/newклиентских классов) вынесен из классов сетевых пакетов вClientPacketHandler, вызывается черезDistExecutor.unsafeRunWhenOn(Dist.CLIENT, ...). -
Условие
if_var: несуществующая переменная при сравнении с числом вeq/neqтеперь считается0, как уже было реализовано дляgt/lt/gte/lte.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:5L1an2DE:KZ7P94NO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:5L1an2DE:KZ7P94NO"
}

