#(Dangles) Adjust the speed of an arrow when fired.
16 messages · Page 1 of 1 (latest)
(Dangles) Adjust the speed of an arrow when fired.
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
!e entity shoots bow
Entity
entity shoots bow <entity> shoots <item>
when an entity shoots something out of a bow.
when the entity that shot the bow is a player. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.
when the entity that shot the bow is an NPC.
<context.entity> returns the EntityTag that shot the bow.
<context.projectile> returns a EntityTag of the projectile.
<context.bow> returns the ItemTag of the bow used to shoot.
<context.force> returns the force of the shot.
<context.item> returns an ItemTag of the shot projectile, if any.
<context.hand> returns "HAND" or "OFF_HAND" for which hand the bow was in.
ListTag(EntityTag) to change the projectile(s) being shot. (Note that in certain cases, determining an arrow may not be valid).
"KEEP_ITEM" to keep the projectile item on shooting it.
True - this adds switches in:<area> + location_flagged:<flag name>.
True - this adds <context.cancelled> and determines cancelled + cancelled:false.
might have to just adjust the velocity of the arrow
I am little confused on the veolcity component. So <context.projectile.velocity> returns a location tag, but I am not sure where I would go from there
What does that tag return for you, and what effect are you trying to implement?
it returns a location tag, and its not consistent
I just want to speed up or slow down an item
can you paste the location?
'l@0.9144607982424957,2.062010384053771,2.0117437510194573,world3
It seems to be just the location. I'm not sure how I'd work with this to make it go faster lol
multiply the location and adjust it
adjust <arrow> velocity:<entity.velocity.mul[2]>