






- LETS GET MODDING !!!!!!!!!! (and learning cause you arent allowed to redistribute
modified versions of this pack jduqwoihfqo8yewh9 eeee)

Now that you have (hopefully!) read the license above, lets get started modding 
and understanding this pack to your liking! Obviously, modified versions of this
pack may NOT be redistributed to others, but many people (including myself, Splatus)
like to look at other packs code, and take a bit on inspiration to learn to code
themselves. This pack can be a great help to helping you make your own custom items
as well.

(Just please dont make a custom item and call it an addition to Spellbound Weapons,
just be original, its not really an addon since most packs are already compatible
with each other anyways. If you're confused about anything i just said, pls read 
the license)





============================================
--- PRE MODDING STUFF ---
============================================

First things first, if you wanna be taking a look at my code, you're gonna need
at least some basic understandings of minecraft commands. If you dont understand
commands, you'll have to learn a bit about those first

Next make sure you know how datapacks work. Mainly all the packs code is located
in data/1_splatus/functions/spellbound

PLEASE ALSO MAKE SURE YOU HAVE VISUAL STUDIO CODE AND DATAPACK HELPER PLUS !!!
you will make bad packs without this. believe. me. it makes everything. so much.
EASIER !!!!






============================================
--- MAIN FUNCTION FILES AND INFO ---
============================================



/data/1_splatus/functions/spellbound/tick

This is the main function file of the entiiiiire pack. Branching functions are run
once certain actions are passed, such as a player holding a fire staff. Once
a fire staff is detected, a bunch of function files are run




/data/1_splatus/functions/spellbound/hit

Detects when a player has hit an entity. If they are
holding the required weapon, a weapon action is
performed.





/data/1_splatus/functions/spellbound/main

Main functions that aren't in the tick file for organization purposes






/data/minecraft/loot_tables

All modified loot tables. They were changed to add the new weapons.





/data/1_splatus/functions/spellbound/cooldowns

Weapon cooldowns! Well, mainly resetting them when you remove them from your mainhand





/data/1_splatus/item_modifiers

Im not really sure how to explain these, they're gonna be used for a future settings
update maybe idk




All item function are in their corresponding folders

Most entities are tagged with the tag prefix "spellbound_" in their tags list
Same with scoreboards, most also have this prefix.

I've tried to help those who wanna learn from my code by using hashtags (#)

Do bear in mine some of this code is from 6 months ago. I hate some of it too
but its hard to clean up old code, as long as it doesn't run too laggy I'm ok
with bad code. DON'T MAKE MY MISTAKES THOUGH!!!! Your code should be organized,
concise, and pretty compat. Seperate your files into multiple function files,
don't run everything on the same tick or run everything on one file.









