Class Constants

java.lang.Object
net.darkhax.pricklemc.common.impl.Constants

public class Constants extends Object
Constant variables used throughout the mod.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The default indent for JSON writers when writing JSON data.
    static final org.slf4j.Logger
    A logger instance that should only be used by the mod.
    static final String
    The ID of the mod.
    static final String
    The display name of the mod.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.resources.ResourceLocation
    id(String path)
    Creates a new resource location using the project namespace.

    Methods inherited from class java.lang.Object

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

    • MOD_ID

      public static final String MOD_ID
      The ID of the mod.
      See Also:
    • MOD_NAME

      public static final String MOD_NAME
      The display name of the mod.
      See Also:
    • LOG

      public static final org.slf4j.Logger LOG
      A logger instance that should only be used by the mod.
    • DEFAULT_INDENT

      public static final String DEFAULT_INDENT
      The default indent for JSON writers when writing JSON data. This is used to set and restore the indent value for config files.
      See Also:
  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • id

      public static net.minecraft.resources.ResourceLocation id(String path)
      Creates a new resource location using the project namespace.
      Parameters:
      path - The path of the resource location.
      Returns:
      A new resource location for the given path.