Como disseram, usa um loop:
@EventHandler
public void onBlock(BlockPlaceEvent e) {
Player p = e.getPlayer();
int x = e.getBlock().getLocation().getBlockX();
int y = e.getBlock().getLocation().getBlockY();
int z = e.getBlock().getLocation().getBlockZ();
for(int i = 0; i < 9; i++) {
x++;
new Location(p.getWorld(), x, y, z).getBlock().setType(Material.BEDROCK);
}
}
Edit:
Ja responderam, fiquei um tempao com a pagina aberta e n dei reload e n vi, '-'