File Details
Thunderbolt_lib-1.0.3.jar
- R
- May 3, 2026
- 54.27 KB
- 6
- 1.21.1
- NeoForge
File Name
Thunderbolt_lib-1.0.3.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
Summary
Tracks the AE2-Lightning-Tech 1.0.3 upstream release. Purely additive, zero breaking changes. Starting from 1.0.2, AE2LT introduced its own first-party API (package
com.moakiee.ae2lt.api, namespace ae2lt). This release adds ID constants, codec helpers, and a native-API detection bridge while keeping the ae2lt_api namespace independent, enabling ID / serialization-level interoperability between this library and the AE2LT built-in API.Added
-
api/ids/AE2LTBlockEntityIds: FrozenResourceLocationconstants for 6 block entities, plus theLIGHTNING_GRID_MEMBERSlist (5 grid-connected machines) -
api/ids/AE2LTRecipeIds: FrozenResourceLocationconstants for 6 recipe types -
api/bridge/AE2LTNativeBridge:isNativeApiAvailable()/nativeNamespace()/libraryNamespace()/toNativeTierName(LightningEnergyTier) -
LightningEnergyTier.CODEC: MojangCodec<LightningEnergyTier> -
LightningEnergyTier.STREAM_CODEC:StreamCodec<RegistryFriendlyByteBuf, LightningEnergyTier>; byte-levelordinalinterop with AE2LT's built-inLightningTier.STREAM_CODEC -
LightningEnergyTier.fromOrdinal(int) -
LightningCollectedEvent.isNaturalWeather()+ 5-arg constructor (legacy 4-arg constructor retained)
Compatibility
All public signatures, serialization names, capability IDs, and recipe IDs from 1.0.2 remain intact.
Legacy addons upgrading to 1.0.3 only need to bump the dependency version coordinate; no source changes required.
The legacy 4-arg constructor of
Legacy addons upgrading to 1.0.3 only need to bump the dependency version coordinate; no source changes required.
The legacy 4-arg constructor of
LightningCollectedEvent is retained, defaulting naturalWeather to false.Namespace Separation
<header class="table-actions" data-v-e7c0e5f5="">
表格
</header>
| Library | AE2LT First-Party | |
|---|---|---|
| Java package | com.qianchang.ae2lt_api.api.* |
com.moakiee.ae2lt.api.* |
| Namespace | ae2lt_api |
ae2lt |
| Capability ID | ae2lt_api:lightning_energy |
ae2lt:lightning_energy |
The two APIs are intentionally kept separate; this library does not perform implicit bridging.
AE2LTNativeBridge is provided solely for presence detection.