Class TCDCommons

java.lang.Object
com.thecsdev.commonmc.TCDCommons
Direct Known Subclasses:
TCDCommonsClient, TCDCommonsServer

public class TCDCommons extends Object
The main Class representing this mod. This is the main "common" entry-point executed by all sides (client/server) and all loaders (fabric/neoforge).
  • Field Details

    • MOD_ID

      public static final String MOD_ID
      The value of this variable MUST accurately reflect the same value as 'mod.id' from 'gradle.properties'.
      See Also:
    • LOGGER

      public static final org.slf4j.Logger LOGGER
      The primary Logger instance used by this mod. Intended for this mod's internal/personal use only.
  • Constructor Details

    • TCDCommons

      protected TCDCommons()
  • Method Details

    • getInstance

      public static final TCDCommons getInstance()
      Returns the instance of this TCDCommons.
    • getConfig

      public static final TCDCommonsConfig getConfig()
      Returns the primary TCDCommonsConfig instance used by this mod.
    • getModName

      public final String getModName()
      Returns the name of this mod.
    • getModVersion

      public final String getModVersion()
      Returns the version of this mod, in String form.