Spellweave

Write real Java spells on magic staffs: call down block meteors, automate your base, and debug your magic in-game.
Back to Files

spellweave-4.5.0.jar

File namespellweave-4.5.0.jar
Uploaded
Nov 17, 2026
Downloads
0
Size
1018.9 KB
Mod Loaders
Forge
File ID
9670619
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:spellweave-1792297:9670619")

Learn more about Curse Maven

What's new

Block constructor (Vibe-Magic)

75 blocks instead of 30, in nine categories instead of six. New category “Creatures”: “For each enemy”: goes through the enemies around a point, with a radius and a maximum count. “With one enemy”: picks the nearest, the weakest, the strongest, the one in the thick of a crowd, the one closest to your aim, or the one under the crosshair. It has an “else” slot for when there is no enemy. Actions on “it”: hurt, set on fire, freeze, stun, give an effect (slowness, weakness, glowing, levitation, blindness, darkness), throw away, pull to me, toss up, teleport, make glow, calm down, swap places. “Gather creatures to me”. New category “Events”: “After N seconds”: runs in the background. “When the enemy dies”: the blocks inside act where the enemy fell. New category “Counters”: variables A/B/C with set, change, “if counter ≥ / < / =”, “repeat counter times” and “show counter”. 13 new magic blocks: piercing beam, cone blast, magic strike, damage aura, shockwave, fire explosion, chain of explosions, black hole, orbiting blades, trap zone, toss everyone up, gather creatures, dismiss allies. 9 new world blocks: light up dark spots, set the ground on fire, break the block you look at; grow plants, breed animals, pick up items; particle shapes (ring, sphere, spiral); colored light beam and colored flash. Targets: every block with a target now also offers “it” and “weakest enemy”. “If” block: six new conditions: “at least N enemies near”, “day”, “on the ground”, “mana below N”, “its health below N”, “it is burning”. Spells saved with blocks in 4.4.0 open unchanged.

Tests

137 unit tests pass. They cover every block at every setting and 1500 random block trees. 55 game tests pass. In the world, 415 block programs each ran without an error.

This mod has no additional files