NilKit API 4.1.0 для Minecraft 26.1.2 (NilLoader)
Файлы · 6
Основной · 10,2 МБ
SHA-1
518d237bb9b4d363984f74443a4e30b33325790dSHA-5122491afefebee35b5fec1ea0023c14850f48dbd6e7b3be2022aba7a172fb8e2db514cdeee2ea73a3ca85aa021e6fc9cea7ad4ec74388b033e176c27018f65e026Дополнительный · 893 Б
SHA-1
856b66d4241ec32dcc692dc998262e103b139f60SHA-512d2f461ddb01b2379dd38b05a184822f5abfbd77c3fc1166bef98d91dfa89993d1e5df0f9a258321bd942389cc9d618dd964ae97bfd6c775ce9f4a39345741715Документация · 393 КБ
SHA-1
27e485dbc64e7a367546d95c31f8b9489f2cac0dSHA-5126c2d8f4deefe7b1e1eaae56c09be85773d6ac2193d28fb4a297371a0c39c0ff455de07c913b48abd76db44bd1e59d4ac51ba5b3baf80a574d3e2502214bb1d59Дополнительный · 20,2 КБ
SHA-1
05dacc04c7d9fad80393f686e134ad2c7b361501SHA-512ac586b2f00794975ba867948a9802f61afbfba2cd008130a266fbcf2a4f13c9e96fb38dc2b20eb5aa3b77b9d4cb46e26e8b4bb79a6173d7e97fae093b8b889c8Дополнительный · 893 Б
SHA-1
258de5b71649e7855fc1c262530952727774c941SHA-512cda65d5eabba75d67e32df296cf49754ab24a674ca19cb31e221ad0c058f3c7c309693add9b65542ac25fe8e66149db1205b2e661db8caaa5858abf34bf02ec6Что изменилось
[4.1.0] - 2026-08-06
Byte Buddy patching framework
- Expanded the Byte Buddy integration from a thin helper wrapper into a reusable patching framework designed for Mixin-style runtime transformations.
- Added
ByteBuddyPatchas a declarative patch definition API for targeting classes and applying multiple transformations without manually recreatingAgentBuilderor transformer boilerplate. - Added
ByteBuddyPatchRegistryfor managing multiple patches with deterministic ordering and configurable priorities. - Added JVM descriptor-based method matching for more reliable targeting across mapped, obfuscated, and legacy Minecraft environments.
- Added patch validation through
require(...), allowing transformations to fail immediately when an expected method or target is missing instead of silently continuing with an unapplied patch. - Added reusable Advice-based injection support for method entry, method exit, constructors, argument modification, return-value modification, and exception handling.
- Added support for replacing complete method implementations through direct Byte Buddy interception.
- Added low-level transformation access through
mutate(...), allowing patches to use raw Byte Buddy features such asMemberSubstitution, ASM visitors, field/method definitions, implemented interfaces, and custom builder mutations. - Kept the underlying Byte Buddy API exposed so advanced transformations are not restricted by the higher-level NilKit abstraction.
Runtime transformation
- Added a NilLoader transformation bridge so registered Byte Buddy patches can participate directly in NilLoader class transformation without requiring Byte Buddy self-attachment.
- Added optional
Instrumentation-based installation with retransformation support for environments where already-loaded classes must be patched. - Preserved explicit Byte Buddy Agent attachment behavior; NilKit still does not automatically invoke
ByteBuddyAgent.install()during SDK startup. - Added composition support so multiple independent patches can safely target the same class through a single transformation pipeline.
- Improved transformation diagnostics and failure behavior for incompatible targets, incorrect mappings, and changed method descriptors.
Documentation
- Added documentation and examples for using the Byte Buddy patch API as a Mixin-style transformation layer.
- Documented patch registration, priorities, required targets, Advice injection, full method interception, and advanced raw Byte Buddy mutations.
- Added examples showing integration through the NilLoader transformer bridge without requiring a Java agent.