addRetexturableScreen
public abstract void addRetexturableScreen(@NotNull() @NotNull() Class<? extends Screen> screenClass)(source)
Marks the given class and all of its subclasses as retexturable. That is, OptiGUI is allowed to replace its texture. Only add screens your mod created, and avoid adding Screen for performance reasons.
Parameters
screenClass
The screen class to mark as retexturable