SHARE
TWEET

Untitled

a guest Jun 15th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @EventHandler
  2.     public void onPlace(BlockPlaceEvent event) throws InterruptedException {
  3.         ItemStack a;
  4.         if (event.getBlock().getType() == Material.WOOL) {
  5.             int i = 0;
  6.             for (i = 0; i < 15; i++) {
  7.                 a = new ItemStack(Material.WOOL, 1, (byte) i);
  8.                 event.getBlockPlaced().setType(a.getType(), true);
  9.                 a = null;
  10.                 wait(2000);
  11.             }
  12.             i = 0;
  13.         }
  14.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top