Iskandert's Library

A library of functions used primarily by Iskandert's Team mods
Back to Files

iska_lib-1.14.0.0.0-neoforge-26.1.2.jar

File nameiska_lib-1.14.0.0.0-neoforge-26.1.2.jar
Uploader
UnfamilyUnfamily
Uploaded
Nov 7, 2026
Downloads
27.5K
Size
520.3 KB
Mod Loaders
NeoForge
File ID
9496102
Type
R
Release
Supported game versions
  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:iskanderts-library-1516512:9496102"

Learn more about Curse Maven

What's new

Iskandert's Library 1.14.0.0.0

Dependencies:

  • Requires: NeoForge matching the jar (26.1.2 or 1.21.1)
  • Requires: Another Config Manager 1.0.0.0.0+ (unchanged)

Ships for NeoForge 26.1.2 and NeoForge 1.21.1 (same feature set).

Features:

Recipe stage / pack gate bridge

  • Added RecipeBlockBridge: machines call isRecipeBlocked(recipeId, ownerUuid, level); other mods register Providers when stage gating is available.
  • No providers → never blocked (safe without stage mods).
  • Providers present + missing owner → blocked (fail-closed; no errors).
  • Owner UUID present (online or offline) → providers decide; offline owners are supported via stage lookup below.
  • Child recipe ids after bundle split (namespace:path_N) are the public contract for this bridge.

Offline player / team stage queries

  • StageRegistry.hasPlayerStage(UUID, stage) — reads online player data, or playerdata/<uuid>.dat when offline.
  • StageRegistry.hasPlayerTeamStage(UUID, stage) — team membership via ShopTeamManager, then team stages (works offline).

Sticky / crude fluids (Library-owned)

  • Config sticky_fluids / crude_oils (fluid ids or #tags; defaults #c:oil / #c:crude_oil).
  • Sticky: movement slowdown while standing in listed fluids.
  • Crude: fires StickyFluidEvents.InCrudeOil for integrations (e.g. advancements in consumer mods).
  • Migrated out of Utils into Library so both lines share one implementation.

Unknown Flux (internal long energy)

  • New IUnknownFluxStorage / UnknownFluxStorage.
  • Not Forge Energy / FE — isolated long pool for specific mechanics; no FE conversion API.

Bootstrap datapack registry

  • BootstrapDatapackLoads: shared register/flush for startup filesystem/datapack loaders used by Library and dependent mods (paths still from bootstrap.datapack_paths).

NBT UUID helpers

  • NbtUuid.read accepts string UUID or IntArray binary form without mutating/migrating stored tags.

Tweaks:

  • Recipe bundle splitter: if a bundle produces no valid children, the parent JSON is left in place (with Kube match-field injection) instead of deleting it; warn in log. Same for heating-coil splits. Existing valid path_N bundles unchanged (retrocompatible).
  • Mod description updated to mention sticky/crude fluids and Unknown Flux.

Bug Fixes:

  • Bundle / heating-coil split no longer drops a parent recipe file when splitting yields zero children (edge-case empty/invalid arrays).

Notes for packdevs / dependents:

  • Machines that process recipes should pass a stored owner UUID into RecipeBlockBridge when stage mods are installed; without an owner the bridge fail-closes once a provider is registered.
  • Prefer definitive RecipeManager ids (path_N) after Library split — do not gate on the pre-split parent id.
  • Stage mods register as bridge providers when released; Library does not embed stage-item/recipe gating UI. No stage mod is included in this emergency release.