promotional bannermobile promotional banner

GTBC's SpellLib/API

A library mod and common code storage for all of my mods containing helpful tools to make everyone's life easier with ISS add-on making!

File Details

spell_lib-1.2.0-1.21.1

  • R
  • Sep 3, 2025
  • 99.26 KB
  • 3.3K
  • 1.21.1
  • NeoForge

File Name

gtbcs_spell_lib-1.2.0-1.21.1.jar

Supported Versions

  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:gtbcs-spelllib-1194714:6958382"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

GTBC's SpellLib/API - Update v1.2.0-1.21.1:

:scroll: Changes include...

New Core Features:

  • AdvancedEchoCurio
    • Works similarly to Echos in T.O Magic 'n Extras
    • On right-click, adds a random spell with random quality from a specified list
  • RendererNull
    • Placeholder renderer for entities that don’t require visuals
  • Screenshake System
    • GSLScreenShakeEntity.createScreenShake → Standard custom screenshake with very high customizability (e.g., magnitude, fade in/out, distance fall off)
    • GSLFollowingScreenShakeEntity.createFollowingScreenShake → Advanced screenshake that follows a specified entity (ideal for mobs causing ground tremors when walking)
  • Screen Flash System
    • GSLScreenFlashEntity.createScreenFlash → Customizable screen flash (color support, e.g., flashbang effects)
    • GSLPowerInversionEntity.createPowerInversion → Experimental inverted-color flash (very high intensity)

Data Managers:

These managers allow attaching NBT/component-based states to ItemStack:

  • GSLCooldownManager → Single cooldown system
  • GSLCooldownsManager → Multiple cooldowns supported
  • GSLSwingCounterManager → Track swing counts (e.g., weapons with charge-up attacks)
  • GSLSwitchManager → Switch toggles (e.g., item abilities ON/OFF)
  • GSLWeaponFormManager → Track weapon forms (e.g., alternate modes for items)

Others:

  • CurioUtilsGSLCurioUtils
  • AdvancedTrades → moved from entity dir → utils dir
  • Updated for Iron’s Spellbooks latest version
  • Now native to the official Curios API