Package com.simibubi.create.compat.pojav
Class PojavChecker
java.lang.Object
com.simibubi.create.compat.pojav.PojavChecker
Mobile devices have low quality graphics drivers that cause visual issues.
This class checks if Pojav is present and shows a warning screen if so.
Based on Sodium's impl here.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidinit()static voidonScreenInit(net.neoforged.neoforge.client.event.ScreenEvent.Init.Post event)
-
Field Details
-
IS_PRESENT
public static final boolean IS_PRESENT
-
-
Constructor Details
-
PojavChecker
public PojavChecker()
-
-
Method Details
-
init
public static void init() -
onScreenInit
public static void onScreenInit(net.neoforged.neoforge.client.event.ScreenEvent.Init.Post event)
-