PARTICIPANT IN A UNRANKED JAM
This Data Pack is an entry in the completed Minecraft Magic Event.

Minecraft Data Packs / Magic

Flashbulb's Spell Pack

  • check_circle Functions
  • 2,498 views, 4 today
  • 101 downloads, 0 today
  • 16
  • 7
  • 16
Flashbulb's Avatar Flashbulb
Level 47 : Master Fish
85
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, 2022

- 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 25 : Expert Theorist
Skwerps
Skwerps's Avatar
can you try to make this craftable?
2
02/04/2022 5:06 pm
Level 47 : Master Fish
Flashbulb
Flashbulb's 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 37 : Artisan Engineer
GrimWitherYT
GrimWitherYT's Avatar
Did you use ray casting for this, if so how did you create cool downs?
3
02/03/2022 12:10 pm
Level 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's 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 37 : Artisan Engineer
GrimWitherYT
GrimWitherYT's Avatar
I will definitely look into your framework pack though I might learn some things
3
02/03/2022 9:11 pm
Level 37 : Artisan Engineer
GrimWitherYT
GrimWitherYT's 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 37 : Artisan Engineer
GrimWitherYT
GrimWitherYT's 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 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's 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 47 : Master Fish
Flashbulb
Flashbulb's 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 70 : Legendary Engineer
Bertiecrafter
Bertiecrafter's 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 - 2024
www.planetminecraft.com

Welcome