Plugin Help Throw stuff

Discussion in 'Plugin Help/Development/Requests' started by Randomguy, Aug 21, 2015.

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

    Randomguy

    Hi, I have a plugin, but I have a question. When a player right clicks, it is supposed to launch a ton of random stuff. In bukkit, how would you accomplish this? OnPlayerInteractEvent, check the event,
    Check if iteminhand = this... But how do I launch a random array of items? And then is it possible to set damage and knock back? Just to be clear, I mean launch blocks AND items. I don't mean the dropped item of a block, I mean like on Mineplex you can pickup blocks and throw them. I mean that type of throw. Thanks!! Please help
     
    Last edited: Aug 21, 2015
Thread Status:
Not open for further replies.

Share This Page