u/Kittehland

My fireball projectile shoots in polar opposite direction

here is the function i have activated by this in a tick.mcfunction:

execute as @'e[type=minecraft:snowball,tag=!spawned] at @'e run function namespace:fireball

then activates fireball.mcfunction:

execute positioned 0.0 0 0.0 run summon marker ^ ^ ^1 {Tags:["direction"]}

summon fireball ~ ~ ~ {Tags:["projectile"]}

data modify entity @'n[type=fireball,tag=projectile] Motion set from entity @'e[type=marker,tag=direction,limit=1] Pos

tag @'e[tag=projectile] remove projectile

kill @'e[tag=direction]

kill

why does it shoot in polar opposite direction?
(changing the marker to be at ^ ^ ^-1 makes it invert only one axis.)

reddit.com
u/Kittehland — 15 hours ago

How do i make blocks like deepslate only breakable for players with a certain tag?

I mean kind of like how on hypixel it gives you mining fatigue when breaking a block you shouldn't be breaking or any other way (if even possible)

reddit.com
u/Kittehland — 2 days ago

How do i give a recipe to ONLY a player with a tag?

How do i give a recipe to ONLY a player with a tag and if possible how would i remove said recipe once tag is removed?

reddit.com
u/Kittehland — 2 days ago