Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 45.06 KB | None | 0 0
  1. package Gispell;
  2.  
  3.  
  4. import java.util.ArrayList;
  5. import java.util.HashMap;
  6. import java.util.Map;
  7.  
  8. import org.bukkit.Bukkit;
  9. import org.bukkit.Location;
  10. import org.bukkit.Material;
  11. import org.bukkit.Sound;
  12. import org.bukkit.World;
  13. import org.bukkit.craftbukkit.v1_13_R2.entity.CraftEntity;
  14. import org.bukkit.entity.EntityType;
  15. import org.bukkit.entity.Fireball;
  16. import org.bukkit.entity.Player;
  17. import org.bukkit.event.EventHandler;
  18. import org.bukkit.event.Listener;
  19. import org.bukkit.event.block.Action;
  20. import org.bukkit.event.entity.EntityDamageByEntityEvent;
  21. import org.bukkit.event.player.PlayerInteractEvent;
  22. import org.bukkit.inventory.ItemStack;
  23. import org.bukkit.plugin.Plugin;
  24. import org.bukkit.plugin.java.JavaPlugin;
  25. import org.bukkit.potion.PotionEffect;
  26. import org.bukkit.potion.PotionEffectType;
  27. import org.bukkit.scheduler.BukkitRunnable;
  28. import org.bukkit.scheduler.BukkitScheduler;
  29. import org.bukkit.scheduler.BukkitTask;
  30.  
  31. import net.minecraft.server.v1_13_R2.Entity;
  32. import net.minecraft.server.v1_13_R2.EntityFireball;
  33.  
  34. public class ClassGispellProperties implements Listener {
  35.    
  36.    
  37.     @EventHandler
  38.     public void RestrictPlaceOnFloor(PlayerInteractEvent event) {
  39.         Player player = event.getPlayer();
  40.         Action action = event.getAction();
  41.         ItemStack item = event.getItem();
  42.  
  43.  
  44.         if(item == null) return;
  45.        
  46.         if(item.getType() == Material.PLAYER_HEAD && item.hasItemMeta()
  47.                 && item.getItemMeta().hasDisplayName()
  48.                 && item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lBOULE DE FEU §8[§e§lUnique§8]")
  49.                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lBOULE DE FEU §8[§3§lRare§8]")
  50.                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lGEODE CRYSTALINE §8[§a§lEpique§8]")
  51.                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lGEODE CRYSTALINE §8[§5§lMythique§8]")
  52.                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lAURA DE GUERISON §8[§3§lRare§8]")
  53.                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lAURA DE GUERISON §8[§e§lUnique§8]")) {
  54.            
  55.             if(action == Action.LEFT_CLICK_BLOCK || action == Action.RIGHT_CLICK_BLOCK) {
  56.             event.setCancelled(true);
  57.         }
  58.  
  59.             }
  60.            
  61.                 }
  62.        
  63.    
  64.     //#==================================================================================================================================================================#
  65.     ////BOULE DE FEU                                                                                                                                                     #
  66.     //#==================================================================================================================================================================#
  67.        
  68.  
  69.         @EventHandler
  70.                 public void BouleDeFeu(PlayerInteractEvent event) {
  71.                     Player player = event.getPlayer();
  72.                     Action action = event.getAction();
  73.                     ItemStack item = event.getItem();
  74.            
  75.                         if(item == null) return;
  76.    
  77.                         if(item.getType() == Material.PLAYER_HEAD && item.hasItemMeta()
  78.                                 && item.getItemMeta().hasDisplayName()
  79.                                 && item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lBOULE DE FEU §8[§e§lUnique§8]")
  80.                                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lBOULE DE FEU §8[§3§lRare§8]")) {
  81.    
  82.                             if(action == Action.RIGHT_CLICK_AIR || action == Action.LEFT_CLICK_AIR || action == Action.RIGHT_CLICK_BLOCK || action == Action.LEFT_CLICK_BLOCK) {
  83.                                 event.setCancelled(true);
  84.                                 Fireball fireball = player.launchProjectile(Fireball.class);
  85.                                 fireball.setGlowing(true);
  86.                                 fireball.setVelocity(player.getEyeLocation().getDirection().multiply(2));
  87.        
  88.                
  89.                             }
  90.    
  91.                         }
  92.    
  93.         }
  94.         //#==================================================================================================================================================================#
  95.         ////BOULE DE FEU                                                                                                                                                     #
  96.         //#==================================================================================================================================================================#
  97.            
  98.      
  99.    
  100.    
  101.         //#==================================================================================================================================================================#
  102.         //AURA DE GUERISON                                                                                                                                                   #
  103.         //#==================================================================================================================================================================#
  104.            
  105.     @EventHandler
  106.     public void AuraDeGuerison(PlayerInteractEvent event) {
  107.         Player player = event.getPlayer();
  108.         Action action = event.getAction();
  109.         ItemStack item = event.getItem();
  110.         Location location = player.getLocation();
  111.                
  112.         if(item == null) return;
  113.        
  114.         if(item.getType() == Material.PLAYER_HEAD && item.hasItemMeta()
  115.                 && item.getItemMeta().hasDisplayName()
  116.                 && item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lAURA DE GUERISON §8[§3§lRare§8]")
  117.                 || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lAURA DE GUERISON §8[§e§lUnique§8]")) {
  118.        
  119.         if(action == Action.RIGHT_CLICK_AIR || action == Action.LEFT_CLICK_AIR || action == Action.RIGHT_CLICK_BLOCK || action == Action.LEFT_CLICK_BLOCK) {
  120.             event.setCancelled(true);
  121.             player.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 300, 1));
  122.             player.addPotionEffect(new PotionEffect(PotionEffectType.HEAL, 10, 1));
  123.             player.playSound(location, Sound.BLOCK_BEACON_POWER_SELECT, 200, 1);
  124.             ArrayList<Entity> playeraround = new ArrayList<>();
  125.                 for(org.bukkit.entity.Entity ent : player.getNearbyEntities(7, 3, 7)) {
  126.                 if(ent instanceof Player) {
  127.                 ((Player) ent).addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 300, 1));
  128.                 ((Player) ent).addPotionEffect(new PotionEffect(PotionEffectType.HEAL, 10, 1));
  129.                 ((Player) ent).playSound(location, Sound.BLOCK_BEACON_POWER_SELECT, 200, 1);
  130.                 }
  131.                 playeraround.add((Entity) ent);
  132.       }
  133.         }
  134.         }
  135.     }
  136.                    
  137.        
  138.        
  139.     //#==================================================================================================================================================================#
  140.     //AURA DE GUERISON                                                                                                                                                   #
  141.     //#==================================================================================================================================================================#
  142.            
  143.            
  144.         //#==================================================================================================================================================================#
  145.         //GEODE CRYSTALINE                                                                                                                                                   #
  146.         //#==================================================================================================================================================================#
  147.             public final Plugin plugin;
  148.            
  149.             public ClassGispellProperties(Plugin plugin) {
  150.                 this.plugin = plugin;
  151.             }
  152.        
  153.        
  154.             @EventHandler
  155.             public void GeodeCrystaline(PlayerInteractEvent event) {
  156.            
  157.                
  158.                 Player player = event.getPlayer();
  159.                 Action action = event.getAction();
  160.                 ItemStack item = event.getItem();
  161.                 Location location = player.getLocation();
  162.                        
  163.                 if(item == null) return;
  164.                
  165.                 if(item.getType() == Material.PLAYER_HEAD && item.hasItemMeta()
  166.                         && item.getItemMeta().hasDisplayName()
  167.                         && item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lGEODE CRYSTALINE §8[§a§lEpique§8]")
  168.                         || item.getItemMeta().getDisplayName().equalsIgnoreCase("§6§lGEODE CRYSTALINE §8[§5§lMythique§8]")) {
  169.                
  170.                 if(action == Action.RIGHT_CLICK_AIR || action == Action.LEFT_CLICK_AIR || action == Action.RIGHT_CLICK_BLOCK || action == Action.LEFT_CLICK_BLOCK) {
  171.                    
  172.                    
  173.                     event.setCancelled(true);
  174.                     player.playSound(location, Sound.ENTITY_ZOMBIE_VILLAGER_CURE, 300, 0);
  175.                     player.playSound(location, Sound.BLOCK_BEACON_AMBIENT, 300, 3);
  176.                     player.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 300, 1), true);
  177.                     World world = player.getWorld();
  178.                       double x1 = player.getLocation().getX();
  179.                       double y1 = player.getLocation().getY();
  180.                       double z1 = player.getLocation().getZ();
  181.                       if(world.getBlockAt(new Location(world, x1 + 2, y1, z1 + 2)).getType() == Material.AIR) {
  182.                           world.getBlockAt(new Location(world, x1 + 2, y1, z1 + 2)).setType(Material.GRANITE);
  183.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  184.                                     @Override
  185.                                     public void run() {
  186.                                         world.getBlockAt(new Location(world, x1 + 2, y1, z1 + 2)).setType(Material.AIR);
  187.                                     }
  188.                                      
  189.                                  }, 5 * 20);
  190.                          
  191.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).getType() == Material.AIR) {
  192.                           world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);
  193.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  194.                                     @Override
  195.                                     public void run() {
  196.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  197.                                     }
  198.                                      
  199.                                  }, 5 * 20);
  200.                          
  201.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1, z1)).getType() == Material.AIR) {    
  202.                           world.getBlockAt(new Location(world, x1 + 3, y1, z1)).setType(Material.GRANITE);
  203.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  204.                                     @Override
  205.                                     public void run() {
  206.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  207.                                     }
  208.                                      
  209.                                  }, 5 * 20);
  210.                          
  211.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1, z1 - 1)).getType() == Material.AIR) {    
  212.                           world.getBlockAt(new Location(world, x1 + 3, y1, z1 - 1)).setType(Material.GRANITE);
  213.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  214.                                     @Override
  215.                                     public void run() {
  216.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  217.                                     }
  218.                                      
  219.                                  }, 5 * 20);
  220.                          
  221.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1, z1 - 2)).getType() == Material.AIR) {
  222.                           world.getBlockAt(new Location(world, x1 + 2, y1, z1 - 2)).setType(Material.WHITE_STAINED_GLASS );
  223.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  224.                                     @Override
  225.                                     public void run() {
  226.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  227.                                     }
  228.                                      
  229.                                  }, 5 * 20);
  230.                          
  231.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1, z1 - 3)).getType() == Material.AIR) {
  232.                           world.getBlockAt(new Location(world, x1 + 1, y1, z1 - 3)).setType(Material.COARSE_DIRT);
  233.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  234.                                     @Override
  235.                                     public void run() {
  236.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  237.                                     }
  238.                                      
  239.                                  }, 5 * 20);
  240.                          
  241.                       }if(world.getBlockAt(new Location(world, x1, y1, z1 - 3)).getType() == Material.AIR) {
  242.                           world.getBlockAt(new Location(world, x1, y1, z1 - 3)).setType(Material.POLISHED_GRANITE);
  243.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  244.                                     @Override
  245.                                     public void run() {
  246.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  247.                                     }
  248.                                      
  249.                                  }, 5 * 20);
  250.                          
  251.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1, z1 - 3)).getType() == Material.AIR) {
  252.                           world.getBlockAt(new Location(world, x1 - 1, y1, z1 - 3)).setType(Material.GRANITE);
  253.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  254.                                     @Override
  255.                                     public void run() {
  256.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  257.                                     }
  258.                                      
  259.                                  }, 5 * 20);
  260.                          
  261.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1, z1 - 2)).getType() == Material.AIR) {
  262.                           world.getBlockAt(new Location(world, x1 - 2, y1, z1 - 2)).setType(Material.WHITE_STAINED_GLASS );
  263.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  264.                                     @Override
  265.                                     public void run() {
  266.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  267.                                     }
  268.                                      
  269.                                  }, 5 * 20);
  270.                          
  271.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1, z1 - 1)).getType() == Material.AIR) {
  272.                           world.getBlockAt(new Location(world, x1 - 3, y1, z1 - 1)).setType(Material.COARSE_DIRT);
  273.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  274.                                     @Override
  275.                                     public void run() {
  276.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  277.                                     }
  278.                                      
  279.                                  }, 5 * 20);
  280.                          
  281.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1, z1)).getType() == Material.AIR) {
  282.                           world.getBlockAt(new Location(world, x1 - 3, y1, z1)).setType(Material.GRANITE);
  283.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  284.                                     @Override
  285.                                     public void run() {
  286.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  287.                                     }
  288.                                      
  289.                                  }, 5 * 20);
  290.                          
  291.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1, z1 + 1)).getType() == Material.AIR) {
  292.                           world.getBlockAt(new Location(world, x1 - 3, y1, z1 + 1)).setType(Material.WHITE_STAINED_GLASS );
  293.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  294.                                     @Override
  295.                                     public void run() {
  296.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  297.                                     }
  298.                                      
  299.                                  }, 5 * 20);
  300.                          
  301.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1, z1 + 2)).getType() == Material.AIR) {
  302.                           world.getBlockAt(new Location(world, x1 - 2, y1, z1 + 2)).setType(Material.GRANITE);
  303.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  304.                                     @Override
  305.                                     public void run() {
  306.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  307.                                     }
  308.                                      
  309.                                  }, 5 * 20);
  310.                          
  311.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1, z1 + 3)).getType() == Material.AIR) {
  312.                           world.getBlockAt(new Location(world, x1 - 1, y1, z1 + 3)).setType(Material.COARSE_DIRT);
  313.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  314.                                     @Override
  315.                                     public void run() {
  316.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  317.                                     }
  318.                                      
  319.                                  }, 5 * 20);
  320.                          
  321.                       }if(world.getBlockAt(new Location(world, x1, y1, z1 + 3)).getType() == Material.AIR) {
  322.                           world.getBlockAt(new Location(world, x1, y1, z1 + 3)).setType(Material.GRANITE);
  323.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  324.                                     @Override
  325.                                     public void run() {
  326.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  327.                                     }
  328.                                      
  329.                                  }, 5 * 20);
  330.                          
  331.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1, z1 + 3)).getType() == Material.AIR) {
  332.                           world.getBlockAt(new Location(world, x1 + 1, y1, z1 + 3)).setType(Material.GRANITE);
  333.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  334.                                     @Override
  335.                                     public void run() {
  336.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  337.                                     }
  338.                                      
  339.                                  }, 5 * 20);
  340.                          
  341.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1, z1 - 3)).getType() == Material.AIR) {
  342.                           world.getBlockAt(new Location(world, x1 + 3, y1, z1 - 3)).setType(Material.WHITE_STAINED_GLASS );
  343.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  344.                                     @Override
  345.                                     public void run() {
  346.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  347.                                     }
  348.                                      
  349.                                  }, 5 * 20);
  350.                          
  351.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1, z1 - 3)).getType() == Material.AIR) {
  352.                           world.getBlockAt(new Location(world, x1 - 3, y1, z1 - 3)).setType(Material.WHITE_STAINED_GLASS );
  353.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  354.                                     @Override
  355.                                     public void run() {
  356.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  357.                                     }
  358.                                      
  359.                                  }, 5 * 20);
  360.                          
  361.                       }if(world.getBlockAt(new Location(world, x1 - 4, y1, z1)).getType() == Material.AIR) {
  362.                           world.getBlockAt(new Location(world, x1 - 4, y1, z1)).setType(Material.WHITE_STAINED_GLASS );
  363.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  364.                                     @Override
  365.                                     public void run() {
  366.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  367.                                     }
  368.                                      
  369.                                  }, 5 * 20);
  370.                          
  371.                           //
  372.                          
  373.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 1, z1 + 2)).getType() == Material.AIR) {
  374.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 1, z1 + 2)).setType(Material.POLISHED_GRANITE);
  375.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  376.                                     @Override
  377.                                     public void run() {
  378.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  379.                                     }
  380.                                      
  381.                                  }, 5 * 20);
  382.                          
  383.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1 + 1, z1 + 1)).getType() == Material.AIR) {
  384.                           world.getBlockAt(new Location(world, x1 + 3, y1 + 1, z1 + 1)).setType(Material.WHITE_STAINED_GLASS );
  385.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  386.                                     @Override
  387.                                     public void run() {
  388.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  389.                                     }
  390.                                      
  391.                                  }, 5 * 20);
  392.                          
  393.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1 + 1, z1)).getType() == Material.AIR) {
  394.                           world.getBlockAt(new Location(world, x1 + 3, y1 + 1, z1)).setType(Material.COARSE_DIRT);
  395.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  396.                                     @Override
  397.                                     public void run() {
  398.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  399.                                     }
  400.                                      
  401.                                  }, 5 * 20);
  402.                          
  403.                       }if(world.getBlockAt(new Location(world, x1 + 3, y1 + 1, z1 - 1)).getType() == Material.AIR) {
  404.                           world.getBlockAt(new Location(world, x1 + 3, y1 + 1, z1 - 1)).setType(Material.WHITE_STAINED_GLASS );
  405.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  406.                                     @Override
  407.                                     public void run() {
  408.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  409.                                     }
  410.                                      
  411.                                  }, 5 * 20);
  412.                          
  413.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 1, z1 - 2)).getType() == Material.AIR) {
  414.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 1, z1 - 2)).setType(Material.COARSE_DIRT);
  415.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  416.                                     @Override
  417.                                     public void run() {
  418.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  419.                                     }
  420.                                      
  421.                                  }, 5 * 20);
  422.                          
  423.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 1, z1 - 3)).getType() == Material.AIR) {
  424.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 1, z1 - 3)).setType(Material.COARSE_DIRT);
  425.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  426.                                     @Override
  427.                                     public void run() {
  428.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  429.                                     }
  430.                                      
  431.                                  }, 5 * 20);
  432.                          
  433.                       }if(world.getBlockAt(new Location(world, x1, y1 + 1, z1 - 3)).getType() == Material.AIR) {
  434.                           world.getBlockAt(new Location(world, x1, y1 + 1, z1 - 3)).setType(Material.GRANITE);
  435.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  436.                                     @Override
  437.                                     public void run() {
  438.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  439.                                     }
  440.                                      
  441.                                  }, 5 * 20);
  442.                          
  443.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 1, z1 - 3)).getType() == Material.AIR) {
  444.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 1, z1 - 3)).setType(Material.WHITE_STAINED_GLASS );
  445.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  446.                                     @Override
  447.                                     public void run() {
  448.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  449.                                     }
  450.                                      
  451.                                  }, 5 * 20);
  452.                          
  453.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1 + 1, z1 - 2)).getType() == Material.AIR) {
  454.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 1, z1 - 2)).setType(Material.COARSE_DIRT);
  455.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  456.                                     @Override
  457.                                     public void run() {
  458.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  459.                                     }
  460.                                      
  461.                                  }, 5 * 20);
  462.                          
  463.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1 + 1, z1 - 1)).getType() == Material.AIR) {
  464.                           world.getBlockAt(new Location(world, x1 - 3, y1 + 1, z1 - 1)).setType(Material.POLISHED_GRANITE);
  465.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  466.                                     @Override
  467.                                     public void run() {
  468.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  469.                                     }
  470.                                      
  471.                                  }, 5 * 20);
  472.                          
  473.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1 + 1, z1)).getType() == Material.AIR) {
  474.                           world.getBlockAt(new Location(world, x1 - 3, y1 + 1, z1)).setType(Material.GRANITE);
  475.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  476.                                     @Override
  477.                                     public void run() {
  478.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  479.                                     }
  480.                                      
  481.                                  }, 5 * 20);
  482.                          
  483.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1 + 1, z1 + 1)).getType() == Material.AIR) {
  484.                           world.getBlockAt(new Location(world, x1 - 3, y1 + 1, z1 + 1)).setType(Material.COARSE_DIRT);
  485.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  486.                                     @Override
  487.                                     public void run() {
  488.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  489.                                     }
  490.                                      
  491.                                  }, 5 * 20);
  492.                          
  493.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1 + 1, z1 + 2)).getType() == Material.AIR) {
  494.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 1, z1 + 2)).setType(Material.POLISHED_GRANITE);
  495.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  496.                                     @Override
  497.                                     public void run() {
  498.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  499.                                     }
  500.                                      
  501.                                  }, 5 * 20);
  502.                          
  503.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 1, z1 + 3)).getType() == Material.AIR) {
  504.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 1, z1 + 3)).setType(Material.GRANITE);
  505.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  506.                                     @Override
  507.                                     public void run() {
  508.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  509.                                     }
  510.                                      
  511.                                  }, 5 * 20);
  512.                          
  513.                       }if(world.getBlockAt(new Location(world, x1, y1 + 1, z1 + 3)).getType() == Material.AIR) {
  514.                           world.getBlockAt(new Location(world, x1, y1 + 1, z1 + 3)).setType(Material.POLISHED_GRANITE);
  515.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  516.                                     @Override
  517.                                     public void run() {
  518.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  519.                                     }
  520.                                      
  521.                                  }, 5 * 20);
  522.                          
  523.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 1, z1 + 3)).getType() == Material.AIR) {
  524.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 1, z1 + 3)).setType(Material.WHITE_STAINED_GLASS );
  525.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  526.                                     @Override
  527.                                     public void run() {
  528.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  529.                                     }
  530.                                      
  531.                                  }, 5 * 20);
  532.                          
  533.                           //
  534.                          
  535.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 2, z1 + 2)).getType() == Material.AIR) {
  536.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 2, z1 + 2)).setType(Material.WHITE_STAINED_GLASS );
  537.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  538.                                     @Override
  539.                                     public void run() {
  540.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  541.                                     }
  542.                                      
  543.                                  }, 5 * 20);
  544.                          
  545.                       }if(world.getBlockAt(new Location(world, x1, y1 + 2, z1 + 2)).getType() == Material.AIR) {
  546.                           world.getBlockAt(new Location(world, x1, y1 + 2, z1 + 2)).setType(Material.GRANITE);
  547.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  548.                                     @Override
  549.                                     public void run() {
  550.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  551.                                     }
  552.                                      
  553.                                  }, 5 * 20);
  554.                          
  555.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 2, z1 + 2)).getType() == Material.AIR) {
  556.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 2, z1 + 2)).setType(Material.POLISHED_GRANITE);
  557.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  558.                                     @Override
  559.                                     public void run() {
  560.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  561.                                     }
  562.                                      
  563.                                  }, 5 * 20);
  564.                          
  565.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1 + 1)).getType() == Material.AIR) {
  566.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1 + 1)).setType(Material.COARSE_DIRT);
  567.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  568.                                     @Override
  569.                                     public void run() {
  570.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  571.                                     }
  572.                                      
  573.                                  }, 5 * 20);
  574.                          
  575.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1)).getType() == Material.AIR) {
  576.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1)).setType(Material.POLISHED_GRANITE);
  577.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  578.                                     @Override
  579.                                     public void run() {
  580.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  581.                                     }
  582.                                      
  583.                                  }, 5 * 20);
  584.                          
  585.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1 - 1)).getType() == Material.AIR) {
  586.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1 - 1)).setType(Material.WHITE_STAINED_GLASS );
  587.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  588.                                     @Override
  589.                                     public void run() {
  590.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  591.                                     }
  592.                                      
  593.                                  }, 5 * 20);
  594.                          
  595.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 2, z1 - 2)).getType() == Material.AIR) {
  596.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 2, z1 - 2)).setType(Material.POLISHED_GRANITE);
  597.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  598.                                     @Override
  599.                                     public void run() {
  600.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  601.                                     }
  602.                                      
  603.                                  }, 5 * 20);
  604.                          
  605.                       }if(world.getBlockAt(new Location(world, x1, y1 + 2, z1 - 2)).getType() == Material.AIR) {
  606.                           world.getBlockAt(new Location(world, x1, y1 + 2, z1 - 2)).setType(Material.COARSE_DIRT);
  607.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  608.                                     @Override
  609.                                     public void run() {
  610.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  611.                                     }
  612.                                      
  613.                                  }, 5 * 20);
  614.                          
  615.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 2, z1 - 2)).getType() == Material.AIR) {
  616.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 2, z1 - 2)).setType(Material.POLISHED_GRANITE);
  617.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  618.                                     @Override
  619.                                     public void run() {
  620.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  621.                                     }
  622.                                      
  623.                                  }, 5 * 20);
  624.                          
  625.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1 - 1)).getType() == Material.AIR) {
  626.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1 - 1)).setType(Material.GRANITE);
  627.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  628.                                     @Override
  629.                                     public void run() {
  630.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  631.                                     }
  632.                                      
  633.                                  }, 5 * 20);
  634.                          
  635.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1)).getType() == Material.AIR) {
  636.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1)).setType(Material.POLISHED_GRANITE);
  637.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  638.                                     @Override
  639.                                     public void run() {
  640.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  641.                                     }
  642.                                      
  643.                                  }, 5 * 20);
  644.                          
  645.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1 + 1)).getType() == Material.AIR) {
  646.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1 + 1)).setType(Material.GRANITE);
  647.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  648.                                     @Override
  649.                                     public void run() {
  650.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  651.                                     }
  652.                                      
  653.                                  }, 5 * 20);
  654.                          
  655.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1 + 4)).getType() == Material.AIR) {
  656.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 2, z1 + 4)).setType(Material.WHITE_STAINED_GLASS );
  657.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  658.                                     @Override
  659.                                     public void run() {
  660.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  661.                                     }
  662.                                      
  663.                                  }, 5 * 20);
  664.                          
  665.                       }if(world.getBlockAt(new Location(world, x1 + 4, y1 + 2, z1 + 2)).getType() == Material.AIR) {
  666.                           world.getBlockAt(new Location(world, x1 + 4, y1 + 2, z1 + 2)).setType(Material.WHITE_STAINED_GLASS );
  667.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  668.                                     @Override
  669.                                     public void run() {
  670.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  671.                                     }
  672.                                      
  673.                                  }, 5 * 20);
  674.                          
  675.                       }if(world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1 - 4)).getType() == Material.AIR) {
  676.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 2, z1 - 4)).setType(Material.WHITE_STAINED_GLASS );
  677.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  678.                                     @Override
  679.                                     public void run() {
  680.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  681.                                     }
  682.                                      
  683.                                  }, 5 * 20);
  684.                          
  685.                           //
  686.                          
  687.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1 + 1)).getType() == Material.AIR) {
  688.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1 + 1)).setType(Material.COARSE_DIRT);
  689.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  690.                                     @Override
  691.                                     public void run() {
  692.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  693.                                     }
  694.                                      
  695.                                  }, 5 * 20);
  696.                          
  697.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 3, z1 + 1)).getType() == Material.AIR) {
  698.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 3, z1 + 1)).setType(Material.POLISHED_GRANITE);
  699.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  700.                                     @Override
  701.                                     public void run() {
  702.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  703.                                     }
  704.                                      
  705.                                  }, 5 * 20);
  706.                          
  707.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 3, z1 - 1)).getType() == Material.AIR) {
  708.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 3, z1 - 1)).setType(Material.POLISHED_GRANITE);
  709.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  710.                                     @Override
  711.                                     public void run() {
  712.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  713.                                     }
  714.                                      
  715.                                  }, 5 * 20);
  716.                          
  717.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1 - 1)).getType() == Material.AIR) {
  718.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1 - 1)).setType(Material.WHITE_STAINED_GLASS );
  719.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  720.                                     @Override
  721.                                     public void run() {
  722.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  723.                                     }
  724.                                      
  725.                                  }, 5 * 20);
  726.                          
  727.                       }if(world.getBlockAt(new Location(world, x1 - 3, y1 + 3, z1 - 2)).getType() == Material.AIR) {
  728.                           world.getBlockAt(new Location(world, x1 - 3, y1 + 3, z1 - 2)).setType(Material.WHITE_STAINED_GLASS );
  729.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  730.                                     @Override
  731.                                     public void run() {
  732.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  733.                                     }
  734.                                      
  735.                                  }, 5 * 20);
  736.                          
  737.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1 + 3)).getType() == Material.AIR) {
  738.                           world.getBlockAt(new Location(world, x1 - 2, y1 + 3, z1 + 3)).setType(Material.WHITE_STAINED_GLASS );
  739.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  740.                                     @Override
  741.                                     public void run() {
  742.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  743.                                     }
  744.                                      
  745.                                  }, 5 * 20);
  746.                          
  747.                       }if(world.getBlockAt(new Location(world, x1, y1 + 3, z1 - 1)).getType() == Material.AIR) {
  748.                           world.getBlockAt(new Location(world, x1, y1 + 3, z1 - 1)).setType(Material.GRANITE);
  749.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  750.                                     @Override
  751.                                     public void run() {
  752.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  753.                                     }
  754.                                      
  755.                                  }, 5 * 20);
  756.                          
  757.                       }if(world.getBlockAt(new Location(world, x1 - 1, y1 + 3, z1)).getType() == Material.AIR) {
  758.                           world.getBlockAt(new Location(world, x1 - 1, y1 + 3, z1)).setType(Material.COARSE_DIRT);
  759.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  760.                                     @Override
  761.                                     public void run() {
  762.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  763.                                     }
  764.                                      
  765.                                  }, 5 * 20);
  766.                          
  767.                       }if(world.getBlockAt(new Location(world, x1, y1 + 3, z1 + 1)).getType() == Material.AIR) {
  768.                           world.getBlockAt(new Location(world, x1, y1 + 3, z1 + 1)).setType(Material.WHITE_STAINED_GLASS );
  769.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  770.                                     @Override
  771.                                     public void run() {
  772.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  773.                                     }
  774.                                      
  775.                                  }, 5 * 20);
  776.                          
  777.                       }if(world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1)).getType() == Material.AIR) {
  778.                           world.getBlockAt(new Location(world, x1 + 1, y1 + 3, z1)).setType(Material.POLISHED_GRANITE);
  779.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  780.                                     @Override
  781.                                     public void run() {
  782.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  783.                                     }
  784.                                      
  785.                                  }, 5 * 20);
  786.                          
  787.                       }if(world.getBlockAt(new Location(world, x1, y1 + 3, z1)).getType() == Material.AIR) {
  788.                           world.getBlockAt(new Location(world, x1, y1 + 3, z1)).setType(Material.WHITE_STAINED_GLASS );
  789.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  790.                                     @Override
  791.                                     public void run() {
  792.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  793.                                     }
  794.                                      
  795.                                  }, 5 * 20);
  796.                          
  797.                           //
  798.                          
  799.                       }if(world.getBlockAt(new Location(world, x1, y1 + 4, z1)).getType() == Material.AIR) {
  800.                           world.getBlockAt(new Location(world, x1, y1 + 4, z1)).setType(Material.WHITE_STAINED_GLASS );
  801.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  802.                                     @Override
  803.                                     public void run() {
  804.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  805.                                     }
  806.                                      
  807.                                  }, 5 * 20);
  808.                          
  809.                       }if(world.getBlockAt(new Location(world, x1, y1 + 4, z1 + 2)).getType() == Material.AIR) {
  810.                           world.getBlockAt(new Location(world, x1, y1 + 4, z1 + 2)).setType(Material.WHITE_STAINED_GLASS );
  811.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  812.                                     @Override
  813.                                     public void run() {
  814.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  815.                                     }
  816.                                      
  817.                                  }, 5 * 20);
  818.                          
  819.                       }if(world.getBlockAt(new Location(world, x1 + 2, y1 + 4, z1 - 2)).getType() == Material.AIR) {
  820.                           world.getBlockAt(new Location(world, x1 + 2, y1 + 4, z1 - 2)).setType(Material.WHITE_STAINED_GLASS );
  821.                              Bukkit.getScheduler().runTaskLater(plugin, new Runnable() {
  822.                                     @Override
  823.                                     public void run() {
  824.                                         world.getBlockAt(new Location(world, x1 + 3, y1, z1 + 1)).setType(Material.POLISHED_GRANITE);  
  825.                                     }
  826.                                      
  827.                                  }, 5 * 20);
  828.                       }
  829.                          
  830.                      
  831.  
  832.  
  833.                      
  834.                                 }
  835.                         }
  836.                 }
  837.             //#==================================================================================================================================================================#
  838.             //GEODE CRYSTALINE                                                                                                                                                   #
  839.             //#==================================================================================================================================================================#
  840.            
  841.            
  842.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement