Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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
}
 
PREVIOUS NEXT
Tagged: #bukkit #block #place #event
ADD COMMENT
Topic
Name
8+2 =