NilKit API 2.0.0 для Minecraft 1.7.10 (NilLoader)
Это не последняя версия. Последняя для 1.7.10 · NilLoader — 4.1.0Открыть 4.1.0 →
Файлы · 1
Что изменилось
[2.0.0] - 2026-04-08
Added
Introduced KDL support as a first-class metadata layer in
2.0.0.- Prior to
2.0.0, mods relied on the loader's CSS metadata only (*.mod.css). 2.0.0adds SDK KDL metadata (*.sdkmod.kdl) and runtime bridge integration.
- Prior to
Introduced a general-purpose KDL toolkit for broad SDK usage (not metadata-only):
KdlParser,KdlWriterKdlDocument,KdlNode,KdlValue,KdlParseException- Can be used by any system/module that needs KDL parsing/serialization.
LoaderHelperconvenience APIs for easier multi-mod integration and diagnostics:isAllModsLoaded(String...)getFirstLoadedMod(String...)getEntrypoints(String)hasEntrypoint(String, String)getModsWithEntrypoint(String)hasMissingRequiredMods(String)getMissingRequiredModsForLoadedMods()getModsRequiring(String)
Forge/Fabric-like event architecture for easier mod development:
- Global SDK access point:
[SDK] - Event primitives:
Event,CancellableEvent,EventPriority,SubscribeEvent - Central
EventBuswith: - annotation listener registration (
@SubscribeEvent) - typed callback registration (
listenstyle) - cancellation-aware dispatch flow
- Lifecycle events:
PreEntrypointDispatchEvent(cancellable)PhaseEventPostEntrypointDispatchEvent- Entrypoint dispatcher now emits lifecycle events around phase execution.
ModBasenow includes convenience methods to register/post/listen events.
- Global SDK access point:
SDK KDL metadata schema expanded with richer mod info fields:
modurlsourceurllicensecredits(multi-value)
Changed
- Bumped SDK version to
2.0.0in build and metadata resources. MetadataBridgenow parses.sdkmod.kdlvia shared KDL parser (KdlParser) instead of manual string parsing for better compatibility.- KDL metadata merge now supports both section blocks (
mod {},entrypoints {}) and top-level fallback keys (name,description,authors,version, `entrypoints.`).
Fixed
- Removed inconsistent changelog carry-over for
1.0.4under2.0.0.
Notes
- New helper methods are Java 8 compatible and return immutable collections where applicable.
- Focus of this update is DX (developer experience): reduce repetitive loader metadata and dependency-check boilerplate in mods.
- Backward compatibility remains intact: CSS metadata stays primary, and KDL is additive for SDK-aware features.