CLASS net/minecraft/class_5913 net/minecraft/client/gl/GLImportProcessor COMMENT Handles the flattening of "moj_" import strings in the loaded GLSL shader file. COMMENT Instances of an import are replaced by the contents of the referenced file COMMENT prefixed by a comment describing the line position and original file location COMMENT of the import. FIELD field_29200 MOJ_IMPORT_PATTERN Ljava/util/regex/Pattern; FIELD field_29201 IMPORT_VERSION_PATTERN Ljava/util/regex/Pattern; METHOD method_34229 readSource (Ljava/lang/String;)Ljava/util/List; COMMENT Reads the source code supplied into a list of lines suitable for uploading to COMMENT the GL Shader cache. COMMENT COMMENT

Imports are processed as per the description of this class. ARG 1 source METHOD method_34230 readImport (Ljava/lang/String;I)Ljava/lang/String; ARG 1 line ARG 2 start METHOD method_34231 extractVersion (Ljava/lang/String;Lnet/minecraft/class_5913$class_5914;)Ljava/lang/String; COMMENT Converts a line known to contain an import into a fully-qualified COMMENT version of itself for insertion as a comment. ARG 1 line ARG 2 context METHOD method_34232 parseImports (Ljava/lang/String;Lnet/minecraft/class_5913$class_5914;Ljava/lang/String;)Ljava/util/List; ARG 1 source ARG 2 context ARG 3 path METHOD method_34233 loadImport (ZLjava/lang/String;)Ljava/lang/String; COMMENT Called to load an import reference's source code. ARG 1 inline ARG 2 name CLASS class_5914 Context COMMENT A context for the parser to keep track of its current line and caret position in the file. FIELD field_29202 column I FIELD field_29203 line I