Nebula

Nebula

Mod

Nebula is a Library for Spells and Mana. The Library is flexible and can be used for a lot of stuff.

Client or server Game MechanicsLibraryMagicManagementUtility

2,901 downloads
12 followers
Createda year ago
Updated2 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Changelog

What's Changed

How did we end up here?

  • Api is now in the api package. :tada: (I know very rare)
  • Remove TickingSpell in favor of adding ticking to Spell allowing for a cleaner implementation.
  • Added SpellEntity
  • Spells are now constructed without a caster.
  • Improve network usage by NebulaSpellManager and NebulaManaManager.
  • Added isEmpty check to Spell- and ManaManagers to easily check if a Manager has been created.
  • Added SpellType.Builder#parallelCast to let spells easily control if they can be cast in parallel.
  • Added SpellType.Builder#castability so that a spellType being able to be cast can be checked without creating a Spell. (This should done instead of overriding Spell#isCastable)
  • SpellManager#isCastable should NO LONGER check for the Manager. The Managers are independent of each other now! Use SpellType#isCastable or Spell#isCastable!

Power to the Spell

  • Spell#onEnd() is called when the spell ends.
  • Spell#stop() stops the spell.
  • Spell#interrupt() interrupts the spell, indicates that the spell didn't choose to stop, but is forced by death e.g.
  • Spell#getDuration() returns the amount of ticks a spell can survive before being stopped.
  • Spell#tick() is a tick method, do I need to explain what this is for?

Now Git

Full Changelog: https://github.com/Dev0Louis/Nebula/compare/4.0.3...5.0.0

Dependencies

Files

Nebula-5.0.0+1.20.4.jar(90.53 KiB) Primary Download
Nebula-5.0.0+1.20.4-sources.jar(66.41 KiB) Download

Project members

Dev0Louis

Owner


Technical information

License
Client side
optional
Server side
optional
Project ID