com.mineblown.challengescript.scripting.event
Class ScriptPlayerArrowHitBlockEvent

java.lang.Object
  extended by com.mineblown.challengescript.scripting.event.ScriptPlayerProjectileHitEvent
      extended by com.mineblown.challengescript.scripting.event.ScriptPlayerArrowHitBlockEvent

public class ScriptPlayerArrowHitBlockEvent
extends ScriptPlayerProjectileHitEvent


Constructor Summary
ScriptPlayerArrowHitBlockEvent(ScriptBlock block, ScriptArrow arrow, ScriptPlayer player)
           
 
Method Summary
 ScriptBlock getBlock()
          Gets the ScriptBlock that the arrow hit.
 
Methods inherited from class com.mineblown.challengescript.scripting.event.ScriptPlayerProjectileHitEvent
getEntity, getPlayer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptPlayerArrowHitBlockEvent

public ScriptPlayerArrowHitBlockEvent(ScriptBlock block,
                                      ScriptArrow arrow,
                                      ScriptPlayer player)
Method Detail

getBlock

public ScriptBlock getBlock()
Gets the ScriptBlock that the arrow hit.

Returns:
The block.