From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../mods/fml/client/event/ConfigChangedEvent.html | 376 +++++++++++++++++++++ 1 file changed, 376 insertions(+) create mode 100644 javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.html (limited to 'javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.html') diff --git a/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.html b/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.html new file mode 100644 index 0000000..9935f52 --- /dev/null +++ b/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.html @@ -0,0 +1,376 @@ + + + + + +ConfigChangedEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.event
+

Class ConfigChangedEvent

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    ConfigChangedEvent.OnConfigChangedEvent, ConfigChangedEvent.PostConfigChangedEvent
    +
    +
    +
    +
    public class ConfigChangedEvent
    +extends Event
    +
    These events are posted from the GuiConfig screen when the done button is pressed. The events are only posted + if the parent screen is not an instance of GuiConfig or if the configID field has been set for + the GuiConfig screen. + + Listeners for this event should use OnConfigChanged or PostConfigChanged and check for a specific mod ID. + For best results the listener should refresh any objects/fields that are set based on the mod's config + and should serialize the modified config.
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      java.lang.StringconfigID +
      A String identifier for this ConfigChangedEvent.
      +
      booleanisWorldRunning +
      Whether or not a world is currently running.
      +
      java.lang.StringmodID +
      The Mod ID of the mod whose configuration just changed.
      +
      booleanrequiresMcRestart +
      Will be set to true if any elements were changed that require a restart of Minecraft.
      +
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      ConfigChangedEvent(java.lang.String modID, + java.lang.String configID, + boolean isWorldRunning, + boolean requiresMcRestart) 
      +
    • +
    + + +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        modID

        +
        public final java.lang.String modID
        +
        The Mod ID of the mod whose configuration just changed.
        +
      • +
      + + + +
        +
      • +

        isWorldRunning

        +
        public final boolean isWorldRunning
        +
        Whether or not a world is currently running.
        +
      • +
      + + + +
        +
      • +

        requiresMcRestart

        +
        public final boolean requiresMcRestart
        +
        Will be set to true if any elements were changed that require a restart of Minecraft.
        +
      • +
      + + + +
        +
      • +

        configID

        +
        public final java.lang.String configID
        +
        A String identifier for this ConfigChangedEvent.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConfigChangedEvent

        +
        public ConfigChangedEvent(java.lang.String modID,
        +                  java.lang.String configID,
        +                  boolean isWorldRunning,
        +                  boolean requiresMcRestart)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3