Class ExpandMobCategory

java.lang.Object
com.blamejared.crafttweaker.natives.entity.ExpandMobCategory

@ZenRegister public class ExpandMobCategory extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    getDespawnDistance(net.minecraft.world.entity.MobCategory internal)
    Gets the despawn distance of the mob category.
    static int
    getMaxInstancesPerChunk(net.minecraft.world.entity.MobCategory internal)
    Gets the maximum number of instances per chunk.
    static String
    getName(net.minecraft.world.entity.MobCategory internal)
    Gets the name of the mob category.
    static int
    getNoDespawnDistance(net.minecraft.world.entity.MobCategory internal)
    Gets the no despawn distance of the mob category.
    static boolean
    isFriendly(net.minecraft.world.entity.MobCategory internal)
    Checks if the mob category is friendly.
    static boolean
    isPersistent(net.minecraft.world.entity.MobCategory internal)
    Checks if the mob category is persistent.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandMobCategory

      public ExpandMobCategory()
  • Method Details

    • getName

      public static String getName(net.minecraft.world.entity.MobCategory internal)
      Gets the name of the mob category.
      Returns:
      The name of the mob category.
    • getMaxInstancesPerChunk

      public static int getMaxInstancesPerChunk(net.minecraft.world.entity.MobCategory internal)
      Gets the maximum number of instances per chunk.
      Returns:
      The maximum number of instances per chunk.
    • isFriendly

      public static boolean isFriendly(net.minecraft.world.entity.MobCategory internal)
      Checks if the mob category is friendly.
      Returns:
      True if the mob category is friendly.
    • isPersistent

      public static boolean isPersistent(net.minecraft.world.entity.MobCategory internal)
      Checks if the mob category is persistent.
      Returns:
      True if the mob category is persistent.
    • getDespawnDistance

      public static int getDespawnDistance(net.minecraft.world.entity.MobCategory internal)
      Gets the despawn distance of the mob category.
      Returns:
      The despawn distance of the mob category.
    • getNoDespawnDistance

      public static int getNoDespawnDistance(net.minecraft.world.entity.MobCategory internal)
      Gets the no despawn distance of the mob category.
      Returns:
      The no despawn distance of the mob category.