- check_circle Functions
- check_circle Predicates
Published Jan 26th, 2022, 1/26/22 4:52 pm
- 2,470 views, 1 today
- 65 downloads, 0 today
115
What does this datapack do?
This datapack gives snowballs a new "ability". When a snowball passes a certain block, it can get different effects. These are also true for balls thrown by snowmen, so now unlucky ones can get some love.
Different effects
-Powdersnow: slow down the enemy
-Fire: set the enemy on fire.
-lava: explodes on impact
-Soul Fire: area damage
-Fire: set the enemy on fire.
-lava: explodes on impact
-Soul Fire: area damage
a snowball can get more than one effect if it passes through several buff-giving blocks
!If you found any bugs, please write a comment, so i can fix them!
If you use my pack in a video or in a stream, please give me credit! If you upload it somewhere, mention me and give a link to this website! Thank you!
(and Sorry for my bad English.. :3)
Compatibility | Minecraft 1.17 |
to | Minecraft 1.18 |
Tags |
tools/tracking
5461108
119
icy-destruction
Create an account or sign in to comment.
"execute as @e[type=minecraft:marker,predicate=!adds:marker] at @s run function smc:effect"
you are targeting all marker, except the ones that are on an entity tagged with "effected".
This is a big issue since in "smc:effect" you are killing the marker.
This result in all markers being killed, even markers used in other datapacks that might need to like... not die.
so i suggest you add a tag to your markers so that the check is made on your markers only.
something like:
"execute as @e[type=minecraft:marker,tag=yourTag,predicate=!adds:marker] at @s run function smc:effect"
(and when you summon your marker you add yourTag to them)