Pretty much title. I was hoping to add these to my SMP, and their intended function should be pretty clear.
on rightclick holding a tipped arrow of poison:
player is sneaking
remove 1 tipped arrow of poison from the player
play sound "entity.arrow.shoot" with volume .5 at the player
make the player shoot a tipped arrow of poison at speed 2
After reloading this script, the game seems to only be confused over the portion of the effect that is intended to fire the arrow. It is not confused about the part that instructs it to remove the arrow from the player's inventory, nor does it look to be conflicted over the event.
on load:
register new shaped recipe for 8 tipped arrow of nausea using arrow, arrow, arrow, arrow, pufferfish, arrow, arrow, arrow, arrow
Loading a variation of this script (except with poison arrows instead of nausea) works perfectly well. I assume this version does not work because it involves an arrow that does not actually exist within the game. Would it be possible to make a custom crafting recipe for an arrow like this? Perhaps with a Skript addon? I'm relatively new at this, so any help would be much appreciated. Thanks
on rightclick holding a tipped arrow of poison:
player is sneaking
remove 1 tipped arrow of poison from the player
play sound "entity.arrow.shoot" with volume .5 at the player
make the player shoot a tipped arrow of poison at speed 2
After reloading this script, the game seems to only be confused over the portion of the effect that is intended to fire the arrow. It is not confused about the part that instructs it to remove the arrow from the player's inventory, nor does it look to be conflicted over the event.
on load:
register new shaped recipe for 8 tipped arrow of nausea using arrow, arrow, arrow, arrow, pufferfish, arrow, arrow, arrow, arrow
Loading a variation of this script (except with poison arrows instead of nausea) works perfectly well. I assume this version does not work because it involves an arrow that does not actually exist within the game. Would it be possible to make a custom crafting recipe for an arrow like this? Perhaps with a Skript addon? I'm relatively new at this, so any help would be much appreciated. Thanks