Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. for (Chunk chunk : w.getLoadedChunks()) {
  2.             for (BlockState e : chunk.getTileEntities()) {
  3.                 if (e instanceof Sign) {
  4.                     // .println(((Sign) e).getLine(0));
  5.                     if (((Sign) e).getLine(0).equalsIgnoreCase("BananaRegion")) {
  6.                         S.add((Sign) e);
  7.                     }
  8.                 }
  9.             }
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement