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/common/registry/RegistryDelegate.html | 271 +++++++++++++++++++++ 1 file changed, 271 insertions(+) create mode 100644 javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html (limited to 'javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html') diff --git a/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html b/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html new file mode 100644 index 0000000..0ca12ec --- /dev/null +++ b/javadoc/cpw/mods/fml/common/registry/RegistryDelegate.html @@ -0,0 +1,271 @@ + + + + + +RegistryDelegate (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.common.registry
+

Interface RegistryDelegate<T>

+
+
+
+
    +
  • +
    Type Parameters:
    T - the type of thing we're holding onto
    +
    +
    All Known Implementing Classes:
    +
    RegistryDelegate.Delegate
    +
    +
    +
    +
    public interface RegistryDelegate<T>
    +
    A registry delegate for holding references to items or blocks + These should be safe to use in things like lists though aliased items and blocks will not + have object identity with respect to their delegate.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeInterface and Description
      static class RegistryDelegate.Delegate<T> 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      Tget() +
      Get the referent pointed at by this delegate.
      +
      java.lang.Stringname() +
      Get the name of this delegate.
      +
      java.lang.Class<T>type() +
      Get the delegate type.
      +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        get

        +
        T get()
        +
        Get the referent pointed at by this delegate. This will be the currently active item or block, and will change + as world saves come and go. Note that item.delegate.get() may NOT be the same object as item, due to item and + block substitution.
        +
        Returns:
        The referred object
        +
      • +
      + + + +
        +
      • +

        name

        +
        java.lang.String name()
        +
        Get the name of this delegate. This is completely static after registration has completed and will never change.
        +
        Returns:
        The name
        +
      • +
      + + + +
        +
      • +

        type

        +
        java.lang.Class<T> type()
        +
        Get the delegate type. It will be Item or Block.
        +
        Returns:
        The type of delegate
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3