Class LodestoneConfig

java.lang.Object
team.lodestar.lodestone.systems.config.LodestoneConfig
Direct Known Subclasses:
ClientConfig

public class LodestoneConfig extends Object
A config system allowing for static initialization of config values. Value holders are stored in a hashmap, with the key being a pair represented by a configType String and the path of the value
  • Field Details

  • Constructor Details

    • LodestoneConfig

      public LodestoneConfig(String modId, String configType, net.neoforged.neoforge.common.ModConfigSpec.Builder builder)
      Parameters:
      modId - - Your mod id.
      configType - - a unique identifier for your config to be used as key to your config values. For example: "common/trinkets/".
      builder - - a forge config builder instance.