1718192021222324252627282930
* @param z * @return interfaceForGrid */ public static IGridInterface getGridInterface(World w, int x, int y, int z) { IGridTileEntity te = getGridEntity(w, x, y, z); if (te != null) { return te.getGrid(); } return null; }
7071727374757677787980818283
* @param z * @return isOnNetwork */ public static boolean isOnGrid(World w, int x, int y, int z) { IGridTileEntity te = getGridEntity(w, x, y, z); if (te != null) { return te.getGrid() != null; } return false; }