Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean bossExist(String bossName, Location bossSpawnLocation, int scanRadius){
- for(Entity entity: bossSpawnLocation.getNearbyEntities(scanRadius, scanRadius, scanRadius)){
- return entity.getName().equals(bossName);
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement