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

Class BiomeDictionary

+
+
+ +
+
    +
  • +
    +
    +
    public class BiomeDictionary
    +extends java.lang.Object
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        BiomeDictionary

        +
        public BiomeDictionary()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        registerBiomeType

        +
        public static boolean registerBiomeType(BiomeGenBase biome,
        +                        BiomeDictionary.Type... types)
        +
        Registers a biome with a specific biome type
        +
        Parameters:
        biome - the biome to be registered
        type - the type to register the biome as
        +
        Returns:
        returns true if the biome was registered successfully
        +
      • +
      + + + +
        +
      • +

        getBiomesForType

        +
        public static BiomeGenBase[] getBiomesForType(BiomeDictionary.Type type)
        +
        Returns a list of biomes registered with a specific type
        +
        Parameters:
        type - the Type to look for
        +
        Returns:
        a list of biomes of the specified type, null if there are none
        +
      • +
      + + + +
        +
      • +

        getTypesForBiome

        +
        public static BiomeDictionary.Type[] getTypesForBiome(BiomeGenBase biome)
        +
        Gets a list of Types that a specific biome is registered with
        +
        Parameters:
        biome - the biome to check
        +
        Returns:
        the list of types, null if there are none
        +
      • +
      + + + +
        +
      • +

        areBiomesEquivalent

        +
        public static boolean areBiomesEquivalent(BiomeGenBase biomeA,
        +                          BiomeGenBase biomeB)
        +
        Checks to see if two biomes are registered as having the same type
        +
        Parameters:
        biomeA -
        biomeB -
        +
        Returns:
        returns true if a common type is found, false otherwise
        +
      • +
      + + + +
        +
      • +

        isBiomeOfType

        +
        public static boolean isBiomeOfType(BiomeGenBase biome,
        +                    BiomeDictionary.Type type)
        +
        Checks to see if the given biome is registered as being a specific type
        +
        Parameters:
        biome - the biome to be considered
        type - the type to check for
        +
        Returns:
        returns true if the biome is registered as being of type type, false otherwise
        +
      • +
      + + + +
        +
      • +

        isBiomeRegistered

        +
        public static boolean isBiomeRegistered(BiomeGenBase biome)
        +
        Checks to see if the given biome has been registered as being of any type
        +
        Parameters:
        biome - the biome to consider
        +
        Returns:
        returns true if the biome has been registered, false otherwise
        +
      • +
      + + + +
        +
      • +

        isBiomeRegistered

        +
        public static boolean isBiomeRegistered(int biomeID)
        +
      • +
      + + + +
        +
      • +

        registerAllBiomes

        +
        public static void registerAllBiomes()
        +
      • +
      + + + +
        +
      • +

        registerAllBiomesAndGenerateEvents

        +
        public static void registerAllBiomesAndGenerateEvents()
        +
        Loops through the biome list and automatically adds tags to any biome that does not have any + This is called by Forge at postinit time. It will additionally dispatch any deferred decorator + creation events. + + DO NOT call this during world generation
        +
      • +
      + + + +
        +
      • +

        makeBestGuess

        +
        public static void makeBestGuess(BiomeGenBase biome)
        +
        Automatically looks for and registers a given biome with appropriate tags + This method is called automatically if a biome has not been registered with any tags, + And another method requests information about it
        +
        Parameters:
        biome - the biome to be considered
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3