This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

I've discontinued development of this plugin due to the collapse of Bukkit and Mojang's handling of the whole situation. The source code is available and it's a fairly simple plugin. Feel free to do with it what you wish.

The Problem

Say you want to see what block an arrow hit. Sounds simple? Turns out it isn't. Finding what block the arrow hit is pretty much impossible using the BukkitAPI.

The Solution

This plugin fires an event when an arrow hits a block. It provides the arrow, and the block it hit. It's really simple to use. Just put the jar in your build path, and you'll have access to the following event

private void onArrowHitBlock(ArrowHitBlockEvent event) {
  Arrow arrow = event.getArrow();
  Block block = event.getBlock(); // the block that was hit

Other Things To Note

As this plugin uses reflection to access hidden methods within CraftBukkit, it will break on significant updates. Make sure to use a version that matches the version of CraftBukkit your server runs on.

Source Code


Posts Quoted:
Clear All Quotes

About This Project

  • Project ID
  • Created
    Nov 24, 2013
  • Last Released File
    Apr 15, 2014
  • Total Downloads
  • License



Recent Files