Class OptionsRegistry

java.lang.Object
journeymap.api.v2.client.option.OptionsRegistry

@Deprecated(forRemoval=true) public class OptionsRegistry extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Use OptionsRegistry instead. Scheduled for removal in JourneyMap for Minecraft 26.2.
This class is not intended for use by modders, Options register themselves.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<String,Map<String,Option<?>>>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    register(String modId, Option<?> option)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Modders do not use this, options register themselves.

    Methods inherited from class java.lang.Object

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

    • OPTION_REGISTRY

      public static final Map<String,Map<String,Option<?>>> OPTION_REGISTRY
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • OptionsRegistry

      public OptionsRegistry()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • register

      @Internal public static void register(String modId, Option<?> option)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Modders do not use this, options register themselves.
      Parameters:
      modId - - the modid
      option - - the option.