Class SimplyNoShadingClientEntrypoint
java.lang.Object
com.github.startsmercury.simply.no.shading.entrypoint.SimplyNoShadingClientEntrypoint
- All Implemented Interfaces:
net.fabricmc.api.ClientModInitializer
public class SimplyNoShadingClientEntrypoint
extends Object
implements net.fabricmc.api.ClientModInitializer
The
SimplyNoShadingClientEntrypoint class is an implementation of
ClientModInitializer and is an entrypoint defined with the
client key in the fabric.mod.json. This allows Simply No
Shading to be initialized and configured for the minecraft client.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidsetupKeyMappings(SimplyNoShading simplyNoShading) Registers key mappings and key event listeners.protected voidRegisters resources such as built-in resource packs.protected voidsetupShutdownHook(Runnable shutdownAction) Registers a shutdown thread with the name 'Simply No Shading Shutdown Thread'
-
Constructor Details
-
SimplyNoShadingClientEntrypoint
public SimplyNoShadingClientEntrypoint()
-
-
Method Details
-
onInitializeClient
public void onInitializeClient()- Specified by:
onInitializeClientin interfacenet.fabricmc.api.ClientModInitializer
-
setupKeyMappings
Registers key mappings and key event listeners.- Parameters:
simplyNoShading- the simply no shading instance
-
setupResources
protected void setupResources()Registers resources such as built-in resource packs. -
setupShutdownHook
Registers a shutdown thread with the name 'Simply No Shading Shutdown Thread'- Parameters:
shutdownAction- the shutdown action to run
-