Class Resolver
java.lang.Object
com.jozufozu.flywheel.core.source.Resolver
Manages deferred file resolution.
Interns all file names in shader sources and program specs, deduplicating the final lookups and allowing for more dev-friendly error reporting.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(net.minecraft.resources.ResourceLocation file) voidInvalidates all FileResolutions.voidrun(SourceFinder sources) Try and resolve all referenced source files, printing errors if any aren't found.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Resolver
public Resolver()
-
-
Method Details
-
get
-
run
Try and resolve all referenced source files, printing errors if any aren't found. -
invalidate
public void invalidate()Invalidates all FileResolutions.Called on resource reload.
-