return rval;
}
@Override
public void onInteractBy(Entity entity, Block block, Action type, BlockFace clickedFace) {
EntityInteractBlockEvent event;
if (entity instanceof Player) {
event = new PlayerInteractBlockEvent((Player) entity, block, block.getPosition(), clickedFace, type);
} else {
event = new EntityInteractBlockEvent(entity, block, block.getPosition(), clickedFace);
}
if (Spout.getEventManager().callEvent(event).isCancelled()) {
return;
}
super.onInteract(entity, block, type, clickedFace);