Solved Getting which arrow is being shot

Discussion in 'Plugin Development' started by Mr. Sandwich, Jul 22, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Mr. Sandwich

    Hey so like you know in 1.9 a bunch of new arrows were added, is there a way to get which arrow a player is shooting(before the player shoots it so when they still charge the bow)

    thanks in advance
     
  2. Offline

    Zombie_Striker

    @Mr. Sandwich
    The way a bow gets which arrow to shoot is it loops through the inventory, starting from slots 0 and ending at slot 36. You can do the same thing to find which arrows would be shot.
     
  3. Offline

    Mr. Sandwich

    Thanks, solved.
     
Thread Status:
Not open for further replies.

Share This Page