Answers for "bukkit block place event"

1

bukkit block place event

@EventHandler
  public void onPlace(BlockPlaceEvent e)
  {
    if (e.getBlock().getType() == Material.STONE) {
      // what to do if the block is Stone
    }else{
   // if not
}
Posted by: Guest on May-12-2021

Browse Popular Code Answers by Language