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

Class EntityRegistry

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

      Method Detail

      + + + + + + + +
        +
      • +

        registerModEntity

        +
        public static void registerModEntity(java.lang.Class<? extends Entity> entityClass,
        +                     java.lang.String entityName,
        +                     int id,
        +                     java.lang.Object mod,
        +                     int trackingRange,
        +                     int updateFrequency,
        +                     boolean sendsVelocityUpdates)
        +
        Register the mod entity type with FML
        +
        Parameters:
        entityClass - The entity class
        entityName - A unique name for the entity
        id - A mod specific ID for the entity
        mod - The mod
        trackingRange - The range at which MC will send tracking updates
        updateFrequency - The frequency of tracking updates
        sendsVelocityUpdates - Whether to send velocity information packets as well
        +
      • +
      + + + +
        +
      • +

        registerGlobalEntityID

        +
        public static void registerGlobalEntityID(java.lang.Class<? extends Entity> entityClass,
        +                          java.lang.String entityName,
        +                          int id)
        +
      • +
      + + + +
        +
      • +

        registerGlobalEntityID

        +
        public static void registerGlobalEntityID(java.lang.Class<? extends Entity> entityClass,
        +                          java.lang.String entityName,
        +                          int id,
        +                          int backgroundEggColour,
        +                          int foregroundEggColour)
        +
      • +
      + + + +
        +
      • +

        addSpawn

        +
        public static void addSpawn(java.lang.Class<? extends EntityLiving> entityClass,
        +            int weightedProb,
        +            int min,
        +            int max,
        +            EnumCreatureType typeOfCreature,
        +            BiomeGenBase... biomes)
        +
      • +
      + + + +
        +
      • +

        addSpawn

        +
        public static void addSpawn(java.lang.String entityName,
        +            int weightedProb,
        +            int min,
        +            int max,
        +            EnumCreatureType spawnList,
        +            BiomeGenBase... biomes)
        +
      • +
      + + + + + + + +
        +
      • +

        removeSpawn

        +
        public static void removeSpawn(java.lang.String entityName,
        +               EnumCreatureType spawnList,
        +               BiomeGenBase... biomes)
        +
      • +
      + + + +
        +
      • +

        findGlobalUniqueEntityId

        +
        public static int findGlobalUniqueEntityId()
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        tryTrackingEntity

        +
        public boolean tryTrackingEntity(EntityTracker entityTracker,
        +                        Entity entity)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3