From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../client/model/AdvancedModelLoader.html | 297 +++++++++++++++++++++ 1 file changed, 297 insertions(+) create mode 100644 javadoc/net/minecraftforge/client/model/AdvancedModelLoader.html (limited to 'javadoc/net/minecraftforge/client/model/AdvancedModelLoader.html') diff --git a/javadoc/net/minecraftforge/client/model/AdvancedModelLoader.html b/javadoc/net/minecraftforge/client/model/AdvancedModelLoader.html new file mode 100644 index 0000000..f971c6c --- /dev/null +++ b/javadoc/net/minecraftforge/client/model/AdvancedModelLoader.html @@ -0,0 +1,297 @@ + + + + + +AdvancedModelLoader (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.client.model
+

Class AdvancedModelLoader

+
+
+ +
+
    +
  • +
    +
    +
    public class AdvancedModelLoader
    +extends java.lang.Object
    +
    Common interface for advanced model loading from files, based on file suffix + Model support can be queried through the getSupportedSuffixes() method. + Instances can be created by calling #loadModel(String) with a class-loadable-path
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static java.util.Collection<java.lang.String>getSupportedSuffixes() 
      static IModelCustomloadModel(ResourceLocation resource) +
      Load the model from the supplied classpath resolvable resource name
      +
      static voidregisterModelHandler(IModelCustomLoader modelHandler) +
      Register a new model handler
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        AdvancedModelLoader

        +
        public AdvancedModelLoader()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        registerModelHandler

        +
        public static void registerModelHandler(IModelCustomLoader modelHandler)
        +
        Register a new model handler
        +
        Parameters:
        modelHandler - The model handler to register
        +
      • +
      + + + +
        +
      • +

        loadModel

        +
        public static IModelCustom loadModel(ResourceLocation resource)
        +                              throws java.lang.IllegalArgumentException,
        +                                     ModelFormatException
        +
        Load the model from the supplied classpath resolvable resource name
        +
        Parameters:
        resource - The resource name
        +
        Returns:
        A model
        +
        Throws:
        +
        java.lang.IllegalArgumentException - if the resource name cannot be understood
        +
        ModelFormatException - if the underlying model handler cannot parse the model format
        +
      • +
      + + + +
        +
      • +

        getSupportedSuffixes

        +
        public static java.util.Collection<java.lang.String> getSupportedSuffixes()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3