Advertisement
Guest User

Untitled

a guest
Apr 10th, 2020
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. public boolean bossExist(String bossName, Location bossSpawnLocation, int scanRadius){
  2.         for(Entity entity: bossSpawnLocation.getNearbyEntities(scanRadius, scanRadius, scanRadius)){
  3.             return entity.getName().equals(bossName);
  4.         }
  5.         return false;
  6.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement