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 Details

    • SimplyNoShadingClientEntrypoint

      public SimplyNoShadingClientEntrypoint()
  • Method Details

    • onInitializeClient

      public void onInitializeClient()
      Specified by:
      onInitializeClient in interface net.fabricmc.api.ClientModInitializer
    • setupKeyMappings

      protected void setupKeyMappings(SimplyNoShading simplyNoShading)
      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

      protected void setupShutdownHook(Runnable shutdownAction)
      Registers a shutdown thread with the name 'Simply No Shading Shutdown Thread'
      Parameters:
      shutdownAction - the shutdown action to run