Community Event Participant!
This Data Pack is in the Minecraft Magic Event which is now Complete!
See the All Entries!

Minecraft Data Packs / Magic

Flashbulb's Spell Pack

  • check_circle Functions
  • 1,630 views, 6 today
  • 80 downloads, 0 today
  • 15
  • 7
  • 16
Flashbulb avatar Flashbulb
Level 21 : Expert Fish
58
This is part of the PMC Magic Event, and requires the Magic PVP Framework to work.

This spell pack adds four spells, Basic Spell, Healer, Puffer Poison and Webber.

Basic Spell
- Deals damage to entities
- Has a two second cooldown

Healer
- Heals targets for five seconds and heals the target for four seconds.
- Has a four second cooldown

Puffer Poison
- Summons a pufferfish when aimed at the ground, good for splash damage.
- Poisons an entity for twenty seconds when it is a direct hit.
- Has a two second cooldown.

Webber  
- Places a cobweb when aimed at the ground, good for escaping and obstacles.
- Places a cobweb near an entity when aimed with a direct hit.
- Has a three second cooldown.

How to get the spells
Install this datapack and then follow the tutorial in the description of the required Magic PvP Framework by Bertiecrafter.
CompatibilityMinecraft 1.18
Tags

3 Update Logs

Update 3 : by Flashbulb 02/26/2022 9:04:05 amFeb 26th

- Spells are now compatible with custom model data. Yay!
-All spells cooldowns are now changed and are now longer to be more balanced.
LOAD MORE LOGS

Create an account or sign in to comment.

4
02/04/2022 5:05 pm
Level 16 : Journeyman Explorer
Skwerps
Skwerps avatar
can you try to make this craftable?
2
02/04/2022 5:06 pm
Level 21 : Expert Fish
Flashbulb
Flashbulb avatar
No, I cannot make it craftable, you need to use the framwork then spawn in the chest with the spells.
3
02/03/2022 10:51 am
Level 26 : Expert Engineer
GrimWitherYT
GrimWitherYT avatar
Did you use ray casting for this, if so how did you create cool downs?
3
02/03/2022 12:10 pm
Level 66 : High Grandmaster Stack
Bertiecrafter
Bertiecrafter avatar
I'm glad you asked :P

Nerdy explanation
Yes, ray casting is used for the spells. The cooldowns are created by a large amount of functions (one for each slot) that copy the timeout value from the item to scoreboard, subtract 1, move back to data storage and use an item modifier to copy the data storage value into the item again. When the timer hits zero, a temporary item frame is spawned which is used to modify some properties (since we can't modify the player directly) before using /item to replace the item in the inventory.
3
02/03/2022 9:11 pm
Level 26 : Expert Engineer
GrimWitherYT
GrimWitherYT avatar
I will definitely look into your framework pack though I might learn some things
3
02/03/2022 9:11 pm
Level 26 : Expert Engineer
GrimWitherYT
GrimWitherYT avatar
Right now im using raycasts for guns just so i can learn the basics of them then ill porbably add them to my mmorpg datpack for magic, spells, sword projectiles, and other stuff when i learn more advanced stuff
3
02/03/2022 9:07 pm
Level 26 : Expert Engineer
GrimWitherYT
GrimWitherYT avatar
ok never mind definitely not going to bother doing that, seems to complicated and i hate using entities for stuff like this. any way i watch like a thousand video tutorials in order to learn the basics of ray casting, finally found one thats easy and makes sense as well as working.
4
02/04/2022 1:44 am
Level 66 : High Grandmaster Stack
Bertiecrafter
Bertiecrafter avatar
Yeah, this version is overly complicated because I need to use entities and scoreboards to move the rays every tick, but also multiple times a tick.. Normally you would recursively use 'execute positioned ^ ^ ^0.1' or whatever to move the 'current position' of the function, until you find something.
2
02/03/2022 11:44 am
Level 21 : Expert Fish
Flashbulb
Flashbulb avatar
You would have to ask Bertiecrafter for that, I just used the framework, Bertiecrafter did the ray casting and cool downs.
3
02/02/2022 2:52 pm
Level 66 : High Grandmaster Stack
Bertiecrafter
Bertiecrafter avatar
Wow, this is an amazing data pack! For this being your first functional data pack, creating 4 spells with particles and sound that are interesting as well is quite impressive. Spell phrases are mostly originals too.

Thank you for the great submission and don't be afraid to extend this one or create another submission =)

And who knows, maybe this the start of your functional data pack adventures.
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome