@EventHandler public void onPlace(BlockPlaceEvent e) { if (e.getBlock().getType() == Material.STONE) { // what to do if the block is Stone }else{ // if not }