Package dev.cammiescorner.velvet
Class Velvet
java.lang.Object
dev.cammiescorner.velvet.Velvet
- All Implemented Interfaces:
dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
public class Velvet
extends Object
implements dev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if OpenGL shaders are disabled in the current game instance.static net.minecraft.resources.ResourceLocationvoidonInitializeClient(dev.upcraft.sparkweave.api.platform.ModContainer mod)
-
Field Details
-
MOD_ID
- See Also:
-
LOGGER
public static final org.apache.logging.log4j.Logger LOGGER -
LOADER
-
-
Constructor Details
-
Velvet
public Velvet()
-
-
Method Details
-
onInitializeClient
public void onInitializeClient(dev.upcraft.sparkweave.api.platform.ModContainer mod) - Specified by:
onInitializeClientin interfacedev.upcraft.sparkweave.api.entrypoint.ClientEntryPoint
-
areShadersDisabled
@API(status=STABLE) public static boolean areShadersDisabled()Checks if OpenGL shaders are disabled in the current game instance. Currently, this only checks if the hardware supports them, however in the future it may check a client option as well. -
id
-