Class ShaderModPlugin

java.lang.Object
com.fs.starfarer.api.BaseModPlugin
org.dark.shaders.ShaderModPlugin
All Implemented Interfaces:
com.fs.starfarer.api.ModPlugin

public final class ShaderModPlugin extends com.fs.starfarer.api.BaseModPlugin
This is the base mod plugin for ShaderLib, which initializes its shaders.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<Integer,String>
     
    static boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onGameLoad(boolean newGame)
     
    static void
     

    Methods inherited from class com.fs.starfarer.api.BaseModPlugin

    afterGameSave, beforeGameSave, configureXStream, onAboutToLinkCodexEntries, onAboutToStartGeneratingCodex, onCodexDataGenerated, onDevModeF8Reload, onEnabled, onGameSaveFailed, onNewGame, onNewGameAfterEconomyLoad, onNewGameAfterProcGen, onNewGameAfterTimePass, pickDroneAI, pickMissileAI, pickShipAI, pickWeaponAutofireAI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ASTEROID_MAP

      public static final Map<Integer,String> ASTEROID_MAP
    • templarsExists

      public static boolean templarsExists
  • Constructor Details

    • ShaderModPlugin

      public ShaderModPlugin()
  • Method Details

    • refresh

      public static void refresh()
    • onGameLoad

      public void onGameLoad(boolean newGame)
      Specified by:
      onGameLoad in interface com.fs.starfarer.api.ModPlugin
      Overrides:
      onGameLoad in class com.fs.starfarer.api.BaseModPlugin
    • onApplicationLoad

      public void onApplicationLoad() throws IOException, org.json.JSONException
      Specified by:
      onApplicationLoad in interface com.fs.starfarer.api.ModPlugin
      Overrides:
      onApplicationLoad in class com.fs.starfarer.api.BaseModPlugin
      Throws:
      IOException
      org.json.JSONException