Skript
Skript copied to clipboard
Add entity shoot bow event
Description
Adds all the details from https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityShootBowEvent.html
Allows for nice setting of the projectile which is not possible to do in on shoot
on a player shooting a bow:
set the shot projectile to a primed tnt
message "%shot projectile%"
Properly applied entities so that message
will not trigger multiple command sender issue while still providing all the event entities.
Target Minecraft Versions: any Requirements: Paper 1.13+ or Spigot 1.19+ Related Issues: https://github.com/SkriptLang/Skript/issues/6403
This should not be using the last spawned entity expression. That expression is clearly for things created through Skript, not for things that normally happen in the world.
Agree, that could cause unepexcted results if that event is triggered and a shoot effect was used
This should not be using the last spawned entity expression. That expression is clearly for things created through Skript, not for things that normally happen in the world.
You would have conflicting syntaxes. last shot already exists before this pull request.
This should not be using the last spawned entity expression. That expression is clearly for things created through Skript, not for things that normally happen in the world.
You would have conflicting syntaxes. last shot already exists before this pull request.
The solution is not to change how the last spawned expression works. You'll have to come up with a syntax that doesn't conflict and doesn't drastically change the meaning of the last spawned expression.
The solution is not to change how the last spawned expression works. You'll have to come up with a syntax that doesn't conflict and doesn't drastically change the meaning of the last spawned expression.
No. I still disagree when the other spawned entity types are caused from Skript related effects. Fireworks, lighting and dropped item. It's like saying apples can't fall from trees when oranges can.