Перейти к содержимому

NilKit API 2.0.0 для Minecraft 1.7.10 (NilLoader)

Релиз8 апреля 2026Minecraft 1.3.1–1.7.10NilLoader34 скачиваний на Modrinth
Это не последняя версия. Последняя для 1.7.10 · NilLoader — 4.1.0Открыть 4.1.0 →

Файлы · 1

NilLoaderSDK-2.0.0.jarОсновной267 КБСкачать
Основной · 267 КБ
SHA-185019b048a92b0156c6072d3510fd1c5870df979SHA-512907bf4e8d21f2e8df9e0eff94895129e813acf6f911206da4095eb6e0f38bcac838150b867f8b2b9687246fd68755e2fbc2906bc9d58dcdd7cac1a00d2a618c4
Скачать

Что изменилось

[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.0 adds SDK KDL metadata (*.sdkmod.kdl) and runtime bridge integration.
  • Introduced a general-purpose KDL toolkit for broad SDK usage (not metadata-only):

    • KdlParser, KdlWriter
    • KdlDocument, KdlNode, KdlValue, KdlParseException
    • Can be used by any system/module that needs KDL parsing/serialization.
  • LoaderHelper convenience 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 EventBus with:
    • annotation listener registration (@SubscribeEvent)
    • typed callback registration (listen style)
    • cancellation-aware dispatch flow
    • Lifecycle events:
    • PreEntrypointDispatchEvent (cancellable)
    • PhaseEvent
    • PostEntrypointDispatchEvent
    • Entrypoint dispatcher now emits lifecycle events around phase execution.
    • ModBase now includes convenience methods to register/post/listen events.
  • SDK KDL metadata schema expanded with richer mod info fields:

    • modurl
    • sourceurl
    • license
    • credits (multi-value)
Changed
  • Bumped SDK version to 2.0.0 in build and metadata resources.
  • MetadataBridge now parses .sdkmod.kdl via 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.4 under 2.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.

Сайт использует cookie: необходимые — для входа и темы, а также счётчики посещений Яндекс Метрика и LiveInternet — по ним мы видим, как пользуются сайтом. Рекламных cookie у нас нет. Подробнее