From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../net/minecraftforge/common/DungeonHooks.html | 323 +++++++++++++++++++++ 1 file changed, 323 insertions(+) create mode 100644 javadoc/net/minecraftforge/common/DungeonHooks.html (limited to 'javadoc/net/minecraftforge/common/DungeonHooks.html') diff --git a/javadoc/net/minecraftforge/common/DungeonHooks.html b/javadoc/net/minecraftforge/common/DungeonHooks.html new file mode 100644 index 0000000..7786fe8 --- /dev/null +++ b/javadoc/net/minecraftforge/common/DungeonHooks.html @@ -0,0 +1,323 @@ + + + + + +DungeonHooks (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraftforge.common
+

Class DungeonHooks

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

      Nested Class Summary

      + + + + + + + + + + +
      Nested Classes 
      Modifier and TypeClass and Description
      static class DungeonHooks.DungeonMob 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      DungeonHooks() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static floataddDungeonMob(java.lang.String name, + int rarity) +
      Adds a mob to the possible list of creatures the spawner will create.
      +
      static java.lang.StringgetRandomDungeonMob(java.util.Random rand) +
      Gets a random mob name from the list.
      +
      static intremoveDungeonMob(java.lang.String name) +
      Will completely remove a Mob from the dungeon spawn list.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

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

      Constructor Detail

      + + + +
        +
      • +

        DungeonHooks

        +
        public DungeonHooks()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addDungeonMob

        +
        public static float addDungeonMob(java.lang.String name,
        +                  int rarity)
        +
        Adds a mob to the possible list of creatures the spawner will create. + If the mob is already in the spawn list, the rarity will be added to the existing one, + causing the mob to be more common.
        +
        Parameters:
        name - The name of the monster, use the same name used when registering the entity.
        rarity - The rarity of selecting this mob over others. Must be greater then 0. + Vanilla Minecraft has the following mobs: + Spider 100 + Skeleton 100 + Zombie 200 + Meaning, Zombies are twice as common as spiders or skeletons.
        +
        Returns:
        The new rarity of the monster,
        +
      • +
      + + + +
        +
      • +

        removeDungeonMob

        +
        public static int removeDungeonMob(java.lang.String name)
        +
        Will completely remove a Mob from the dungeon spawn list.
        +
        Parameters:
        name - The name of the mob to remove
        +
        Returns:
        The rarity of the removed mob, prior to being removed.
        +
      • +
      + + + +
        +
      • +

        getRandomDungeonMob

        +
        public static java.lang.String getRandomDungeonMob(java.util.Random rand)
        +
        Gets a random mob name from the list.
        +
        Parameters:
        rand - World generation random number generator
        +
        Returns:
        The mob name
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3