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

Thunderbolt_lib 1.0.3 для Minecraft 1.21.1 (NeoForge)

Релиз4 мая 2026Minecraft 1.21.1NeoForge13 скачиваний на Modrinth
Это не последняя версия. Последняя для 1.21.1 · NeoForge — 1.0.11Открыть 1.0.11 →

Файлы · 1

Thunderbolt_lib-1.0.3.jarОсновной54,3 КБСкачать
Основной · 54,3 КБ
SHA-11cfbab2135c1291bd88db8300db137f9888b07a8SHA-5124de4fcbba4e2893fcab351975ea22c6aa623d8ca1073ad8dfed5142c95985678f9ea1543b5a74bff79fdc345fb6341a98288f942e3f0d48ee874ac48625b50fd
Скачать

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

Tracks AE2 Lightning Tech 1.0.3. Purely additive — every 1.0.2 API symbol and behavior is preserved, so existing plugins recompile unchanged.

Added

  • Frozen ID constants — com.qianchang.ae2lt_api.api.ids.AE2LTBlockEntityIds (six AE2LT block-entity IDs plus LIGHTNING_GRID_MEMBERS, the five grid-connected machines) and AE2LTRecipeIds (six recipe-type IDs). Plugins can now reference AE2LT registry IDs without compiling against AE2LT's main jar.
  • Native API detection bridge — com.qianchang.ae2lt_api.api.bridge.AE2LTNativeBridge probes at runtime whether AE2LT's own first-party API (com.moakiee.ae2lt.api, namespace ae2lt) is loaded. The two API surfaces stay namespace-distinct; this library does not perform implicit conversion between them.
  • LightningEnergyTier.CODEC (Mojang Codec) and LightningEnergyTier.STREAM_CODEC (vanilla StreamCodec<RegistryFriendlyByteBuf, _>) — wire-format-compatible with AE2LT's own LightningTier, so packet and NBT data round-trip cleanly between the two APIs.
  • LightningEnergyTier.fromOrdinal(int) — static ordinal decoder for packet round-trips.
  • LightningCollectedEvent.isNaturalWeather() plus a matching 5-argument constructor.

Changed

  • mod_version and AE2LTCapabilities.API_VERSION bumped to 1.0.3.
  • AE2LTLightningCollectorEventBridge now propagates the natural-weather flag through to LightningCollectedEvent.
  • AE2LTCapabilities Javadoc clarifies the deliberate namespace split between this library (ae2lt_api:lightning_energy) and AE2LT's own first-party capability (ae2lt:lightning_energy).

Compatibility

  • All 1.0.2 public signatures, serialization names, capability IDs, and recipe IDs are preserved.
  • LightningCollectedEvent's 4-argument constructor still works and defaults naturalWeather to false.
  • Migration: bump the dependency version coordinate — no source changes required.

Full diff: CHANGELOG.md

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