Spellbind

Spellbind

Bind spells to items you are using.

by
203 Downloads
forgemagic
Rent Server with this Mod

About this Mod

✨ Spellbind

Bind spells to items you are using.


What Spellbind does

Spellbind is a Minecraft tweak util mod.

It allows you to make custom "spells" by following the steps below:

1️⃣ Make a datapack that contains a spellbind_spells folder in it. All spells will be written in JSON format and be put here.

2️⃣ Specify an item ID. This item should be "usable": You are able to hold your right mouse button to use it. Foods or Bows for example.

Here we will use minecraft:apple.

3️⃣ Specify your spell's attacking distance: how far (in blocks) can your spell reach.

It can be a float number, 10.0 for example.

4️⃣ Specify a mob entity ID, minecraft:pig for example, or use #i_dont_care# to let your spell to be effective to all types of mobs.

5️⃣ Specify some other criteria. Now Spellbind provides NBT criterion, let your spell only to be effective to those mobs which has the specific NBT tag.

If you do not need this, put #i_dont_care# here.

6️⃣ Set a series of actions. Presently 4 types of actions are available:

a. applying potion effects,

b. executing commands,

c. modifying attributes,

d. manipulating NBT data.

7️⃣ Execute vanilla /reload command.

After that, when you finish eating an apple, if you are looking at a mob, and it is within the range of a spell at the moment,

and it meets other criteria - now they are entity ID and NBT tag, then you will see those actions specified in Step 4 applied to that mob.

Spellbind wiki is under building!

With Spellbind, everything can be turned into a magic spell.

Use your imagination to create every kinds of magic prop you have dreamed about!


Spellbind mod has its example datapack in it. It contains two spells and is enabled by default.

They are:

  1. Consume an apple, if you are looking at a pig at the moment, and it's no more than 10 blocks away from you, with "NoAI" NBT tag,

you will give it Speed II potion effect for 100 seconds, send a title to all online players, give it a saddle, set it's max health to 200, and teleport it to x=~0, y=~8, z=~0 (Relative coordinates).

  1. Consume a sweet berry, if you are looking at a mob or player, and it's no more than 3 blocks away from you, regardless of what kind of mob it is and what NBT tag it has,

you will give it addtional 200 points of max health, then set its health to 100 point, and finally teleport it to x=~0, y=~20, z=~0 (Relative coordinates).

If you do not need them, simply disable Spellbind's datapack.


What can Spellbind do now

🎉 Criteria system

🎉 Action type 1: Applying potion effects

🎉 Action type 2: Executing commands

🎉 Action type 3: Modifying attributes

🎉 Action type 4: Manipulating NBT data.

Future Plans

More action types

More complex criteria

ZenScript or KubeJS support


This project is an open-source project under the MIT License.

Available Versions

spellbind-1.0.0-alphaalpha
MC 1.16.5forge
March 6, 2022

How to Install Spellbind on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.16.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Spellbind". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.16.5

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Spellbind server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.16.5). You can switch loaders with one click in the panel.

Is Spellbind compatible with forge?

Spellbind officially supports forge for Minecraft 1.16.5. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Spellbind – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Spellbind consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Spellbind with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.16.5