SHARE
TWEET

Untitled

a guest Mar 12th, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void startSpawningBronze() {
  2.         if(!isSpawningb) {
  3.         isSpawningb = true;
  4.             sched3 = Bukkit.getScheduler().scheduleSyncRepeatingTask(Main.getPlugin(Main.class), new Runnable() {
  5.            
  6.  
  7.                
  8.             @Override
  9.             public void run() {
  10.                
  11.                 Location gold1 = new Location(Bukkit.getWorld("world"), 563.5, 100, -652.5);
  12.                 Location gold2 = new Location(Bukkit.getWorld("world"), 564.5, 100, -651.5);
  13.                 Location gold3 = new Location(Bukkit.getWorld("world"), 562.5, 100, -650.5);
  14.                 Location gold4 = new Location(Bukkit.getWorld("world"), 561.5, 100, -652.5);
  15.                 Location bronze1 = new Location(Bukkit.getWorld("world"), 564.5, 99, -760.5);
  16.                 Location bronze2 = new Location(Bukkit.getWorld("world"), 562.5, 99, -766.5);
  17.                 Location bronze3 = new Location(Bukkit.getWorld("world"), 560.5, 99, -536.5);
  18.                 Location bronze4 = new Location(Bukkit.getWorld("world"), 558.5, 99, -541.5);
  19.                 Location iron1 = new Location(Bukkit.getWorld("world"), 591.5, 99, -543.5);
  20.                 Location iron2 = new Location(Bukkit.getWorld("world"), 531.5, 99, -757.5);
  21.                
  22.                 Entity entity7 = Bukkit.getWorld("world").dropItemNaturally(bronze1, new ItemBuilder(Material.CLAY_BRICK).name("§cBronze").build());
  23.                 Entity entity8 = Bukkit.getWorld("world").dropItemNaturally(bronze2, new ItemBuilder(Material.CLAY_BRICK).name("§cBronze").build());
  24.                 Entity entity9 = Bukkit.getWorld("world").dropItemNaturally(bronze3, new ItemBuilder(Material.CLAY_BRICK).name("§cBronze").build());
  25.                 Entity entity10 = Bukkit.getWorld("world").dropItemNaturally(bronze4, new ItemBuilder(Material.CLAY_BRICK).name("§cBronze").build());
  26.                 entities.add(entity7);
  27.                 entities.add(entity8);
  28.                 entities.add(entity9);
  29.                 entities.add(entity10);
  30.             }
  31.         }, 20, 20);
  32.         }
  33.     }
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