- check_circle Advancements
- check_circle Functions
- 3,018 views, 3 today
- 211 downloads, 0 today
137
This pack is an expanded version of Bertiecrafter's Magic PvP Framework for PMC's Magic Event. It was made mainly to incorporate new features while allowing original features intact. This means datapacks can use these features in their packs, and packs that weren't using this framework still work as they were originally intended to.
New spell features usable in your spells_register.mcfunction file:
Feature | Description | Example |
CustomModelData (NOW MERGED WITH BERTIECRAFTER's MAGIC PVP DATAPACK) | You can specify a CustomModelData tag per spell now, so that you can give each spell a unique texture using a Resourcepack. Default: 300000 | data modify storage bertiecrafter:mpp SpellsMeta[-1].CustomModelData set value 300001 |
Ray Type | "linear" (Default) Travels in a straight line over time. "projectile" Travels in a curve, affected by gravity. "hitscan" Instantly hits the location the user is pointing at, with no drop or traveling time. | data modify storage bertiecrafter:mpp SpellsMeta[-1].RayType set value "projectile" |
Ray Range | Allows you to specify the range of the projectile. Default: 160 | data modify storage bertiecrafter:mpp SpellsMeta[-1].RayRange set value 200 |
Projectile Gravity | ONLY WORKS WITH "projectile" SPELLS. "normal" (Default) Projectiles fall with normal gravity. "low" Projectiles fall slower. | data modify storage bertiecrafter:mpp SpellsMeta[-1].ProjectileGravity set value "low" |
Ray Piercing (Take a look at my Magicka Datapack to see how it works. The "Thunderclap" spell.) | ONLY WORKS WITH "hitscan" SPELLS. false (Default) Hitscan ray ends when it hits the first entity, misses, or hits a block. true Allows the hitscan ray to go through multiple entities and only ends when it hits a block or misses. | data modify storage bertiecrafter:mpp SpellsMeta[-1].RayPiercing set value true |
If you need better examples, please look at my Magicka datapack, which uses this framework.
DanMizu©
How To Install
1. Download the Datapack from this page by clicking the download button. Also download and install Bertiecrafter's Magic PvP Datapack, here.
2. Drop the Datapack .zip file in the "datapacks" folder in your world's folder. This can also be done while creating a world using the "Data Packs" button.
2. Drop the Datapack .zip file in the "datapacks" folder in your world's folder. This can also be done while creating a world using the "Data Packs" button.
3. Type "/reload" in your game to enable the pack!
Consider becoming a Patron, | supporting me via Ko-Fi, | and joining my Discord! |
DanMizu©
Credit | Bertiecrafter |
Compatibility | Minecraft 1.18 |
Tags |
1 Update Logs
v1.1 : by DanMizu 02/17/2022 7:17:00 amFeb 17th, 2022
I had the pleasure of working together with Bertiecrafter to combine some of the features of this pack into his original Magic PvP Pack. With this new version, CustomModelData was removed since it's now native to his pack. You can still use it the same way in your packs. The other features are still implemented by this pack.
In v1.1, this pack now also requires you to have the Magic PvP Datapack by Bertiecrafter to also be installed.
In v1.1, this pack now also requires you to have the Magic PvP Datapack by Bertiecrafter to also be installed.
tools/tracking
5478082
119
extended-magic-pvp-framework
Create an account or sign in to comment.
Adding a velocity metadata could be amazing !
An hit_detection_range for large beam spell.
Make 5 gravity parameters: ultrahigh, high, normal, low, ultralow.
Define an element for each spell to use it on defense efficiency.