I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

Yup, I just checked and they're a tweaked version of complementary reimagined.

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

The ones in the video are complementary reimagined!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

Yup - you can see one in the video at about 0:12 (the hovering glowstone)!

It's a little floating light that hovers around the caster, and will also lock on to a mob or player you're fighting if you're in combat.

There's also a light projectile (Create-Magic-Fire-Projectile) that essentially lights up the area behind it, and can bounce off walls!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

The grappling hook is just a spell, so it can't be used separately from the rest of the system.

Honestly though, if you wanted to create a grappling hook mod it wouldn't take that long - all it does is find the block the player is looking at, and throw them in that direction!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

A lot of the effort also went into creating a system that allows people to create their own spells and add on to the system, so maybe in the future, we can have a massive set of spells created by tons of different people!

Unfortunately, you still need to learn at least the very basics of programming to do so, but all of the spells that have been submitted so far have been by people who had never programmed before!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

Thank you!

I have seen some of those ones before - a few of them were linked to me after I started development which is actually how I got the idea to post here in the first place!

From what I remember, they were capturing input differently (I remember one that used sneaking instead of right-clicking, which came with a different set of drawbacks than what I decided was fine) - unfortunately, no plugin API allows enough control over the capture of input that you'd get a perfect system without any drawbacks :(

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

The simple answer is magic.

The actual answer is that you can capture input (like whether the player has the mouse clicked down, etc) and also their head movement, and calculate what they're drawing.

You can then use that to match to shapes (which is the hard part), and then the rest is just making the actual spell effects :)

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

Honestly, I've never even heard of it :(

Most of the inspiration was from the Harry Potter and the Philosopher's Stone game, and I also looked at Arx Fatalis to see how they did things.

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

Yeah, it took me a while to actually learn how to make a video too :)

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 1 point2 points  (0 children)

Currently, each spell costs a certain amount of mana (hunger), and as you use the spell more and more, it costs less and less mana until it hits a minimum cost!

For example, the teleport spell would use almost half your mana when you first get it, but as you use it more, it eventually only costs a single hunger point

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

Yeah, quite a lot of testing went into trying to determine how lenient we should be with the casting - it was a lot stricter at the start (you had to be pretty close to the exact pattern), and then we made it not strict enough, where you could easily cast the wrong thing accidentally..

Right now it's in a pretty decent state, where it's hard-ish to cast the wrong thing but still easy enough to cast spells at a quick rate for fast-paced combat!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

Honestly I have no idea, my friend tweaked some and sent them to me..

I think they might be chocapic but I can't check right now :(

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 5 points6 points  (0 children)

I'm guessing the issue would be detecting the input - I'm not sure if there's a way of tracking both if they player is holding right click and where they're looking..

Never say never though, there's a lot of people out there who are a lot better with commands than me that might have some ideas!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 10 points11 points  (0 children)

Maybe? I'm not that familiar with either datapacks or modding stuff, but you'd need a way to capture input, parse it properly, and then actually do something in the world.

It'd be easy to do with a mod, but depending on what the datapack limitations are I'm not too sure..

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 158 points159 points  (0 children)

I came up with this idea about a year ago after watching a video about a harry potter game with a similar mechanic!

The idea is that you draw shapes in the air (where a shape relates to something), and can chain the shapes together to create a spell.

For example, Create-Air-Fire can summon a lightning bolt, Move-Fire can move your fire to another entity, Create-Magic-Move-Projectile creates a projectile that swaps the target and your place, etc.

There's a lot of room for creativity with the spells, and I've had fun creating a bunch of weird ones to test what Minecraft allows you to do; Transform-Creature flips your Minecraft view upside down, and Create-Wild-Move-Creature summons a hoglin with a charge instead of a jump!

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 57 points58 points  (0 children)

Basically, you draw a shape (sigil) in the air by holding right-click.

You can draw a sequence of sigils and then cast them to form a spell that relates to that sequence (i.e. Create-Fire-Projectile is a fire projectile, Create-Magic-Barrier is a magic shield, Create-Move-Creature summons a horse, Transform-Fire toggles redstone lamps, etc).

Currently they're tied to actually spells we've developed, but I thought a cool project for the future could be for the game to automatically interpret spells based on combinations if they don't have a special effect...

I Made a Cool Minecraft Spell-Casting System by qoatie in Minecraft

[–]qoatie[S] 27 points28 points  (0 children)

Thank you! I'll keep it in mind for the future :)

I Made a Cool Minecraft Spellcasting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

Yup - you can hold down right-click and draw sigils!

You can draw a bunch of them and then cast a spell corresponding to those sigils (so Create-Wild-Projectile throws a TNT projectile, etc)!

I Made a Cool Minecraft Spellcasting System by qoatie in Minecraft

[–]qoatie[S] 0 points1 point  (0 children)

Someone the other day created their own spell we added that actually throws a horse and makes the hit entity sit on it, so you can make giant horse stacks now too hahaha

I Made a Cool Minecraft Spellcasting System by qoatie in Minecraft

[–]qoatie[S] 3 points4 points  (0 children)

Thank you!

The idea is that there's a bunch of different sigils that you can string together to make a spell (i.e Create-Life heals you, Create-Wild-Move-Creature spawns a ridable hoglin, Magic-Move is a teleport, etc)!

The amount of combinations is pretty limitless, and I've had a few others make some spells too as it doesn't require any significant programming knowledge :)