From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../ConfigChangedEvent.OnConfigChangedEvent.html | 297 ++++++++++++++++ .../ConfigChangedEvent.PostConfigChangedEvent.html | 292 ++++++++++++++++ .../mods/fml/client/event/ConfigChangedEvent.html | 376 +++++++++++++++++++++ .../cpw/mods/fml/client/event/package-frame.html | 21 ++ .../cpw/mods/fml/client/event/package-summary.html | 145 ++++++++ .../cpw/mods/fml/client/event/package-tree.html | 135 ++++++++ 6 files changed, 1266 insertions(+) create mode 100644 javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.OnConfigChangedEvent.html create mode 100644 javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.PostConfigChangedEvent.html create mode 100644 javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.html create mode 100644 javadoc/cpw/mods/fml/client/event/package-frame.html create mode 100644 javadoc/cpw/mods/fml/client/event/package-summary.html create mode 100644 javadoc/cpw/mods/fml/client/event/package-tree.html (limited to 'javadoc/cpw/mods/fml/client/event') diff --git a/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.OnConfigChangedEvent.html b/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.OnConfigChangedEvent.html new file mode 100644 index 0000000..41ad96e --- /dev/null +++ b/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.OnConfigChangedEvent.html @@ -0,0 +1,297 @@ + + + + + +ConfigChangedEvent.OnConfigChangedEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.event
+

Class ConfigChangedEvent.OnConfigChangedEvent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    ConfigChangedEvent
    +
    +
    +
    +
    public static class ConfigChangedEvent.OnConfigChangedEvent
    +extends ConfigChangedEvent
    +
    This event is intended to be consumed by the mod whose config has been changed. It fires when the Done button + has been clicked on a GuiConfig screen and the following conditions are met:
    + - at least one config element has been changed
    + - one of these 2 conditions are met:
    + 1) the parent screen is null or is not an instance of GuiConfig
    + 2) the configID field has been set to a non-null value for the GuiConfig screen

    + Modders should check the modID field of the event to ensure they are only acting on their own config screen's event!
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConfigChangedEvent.OnConfigChangedEvent

        +
        public ConfigChangedEvent.OnConfigChangedEvent(java.lang.String modID,
        +                                       java.lang.String configID,
        +                                       boolean isWorldRunning,
        +                                       boolean requiresMcRestart)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.PostConfigChangedEvent.html b/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.PostConfigChangedEvent.html new file mode 100644 index 0000000..6e3f024 --- /dev/null +++ b/javadoc/cpw/mods/fml/client/event/ConfigChangedEvent.PostConfigChangedEvent.html @@ -0,0 +1,292 @@ + + + + + +ConfigChangedEvent.PostConfigChangedEvent (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.event
+

Class ConfigChangedEvent.PostConfigChangedEvent

+
+
+ +
+
    +
  • +
    +
    Enclosing class:
    +
    ConfigChangedEvent
    +
    +
    +
    +
    public static class ConfigChangedEvent.PostConfigChangedEvent
    +extends ConfigChangedEvent
    +
    This event is provided for mods to consume if they want to be able to check if other mods' configs have been changed. + This event only fires if the OnConfigChangedEvent result is not DENY.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        ConfigChangedEvent.PostConfigChangedEvent

        +
        public ConfigChangedEvent.PostConfigChangedEvent(java.lang.String modID,
        +                                         java.lang.String configID,
        +                                         boolean isWorldRunning,
        +                                         boolean requiresMcRestart)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + 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)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/client/event/package-frame.html b/javadoc/cpw/mods/fml/client/event/package-frame.html new file mode 100644 index 0000000..f1e9f8b --- /dev/null +++ b/javadoc/cpw/mods/fml/client/event/package-frame.html @@ -0,0 +1,21 @@ + + + + + +cpw.mods.fml.client.event (Forge API) + + + + +

cpw.mods.fml.client.event

+
+

Classes

+ +
+ + diff --git a/javadoc/cpw/mods/fml/client/event/package-summary.html b/javadoc/cpw/mods/fml/client/event/package-summary.html new file mode 100644 index 0000000..1ecd2d2 --- /dev/null +++ b/javadoc/cpw/mods/fml/client/event/package-summary.html @@ -0,0 +1,145 @@ + + + + + +cpw.mods.fml.client.event (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Package cpw.mods.fml.client.event

+
+
+ +
+ +
+ + + + + +
+ + + + diff --git a/javadoc/cpw/mods/fml/client/event/package-tree.html b/javadoc/cpw/mods/fml/client/event/package-tree.html new file mode 100644 index 0000000..252f7d8 --- /dev/null +++ b/javadoc/cpw/mods/fml/client/event/package-tree.html @@ -0,0 +1,135 @@ + + + + + +cpw.mods.fml.client.event Class Hierarchy (Forge API) + + + + + + + +
+ + + + + +
+ + +
+

Hierarchy For Package cpw.mods.fml.client.event

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + + + + +
+ + + + -- cgit v1.2.3