Class MobManager

java.lang.Object
studio.magemonkey.codex.mccore.util.MobManager

public class MobManager extends Object
Contains tools for converting names of mobs
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getDetailedName(org.bukkit.entity.LivingEntity entity)
    Gets the vanilla entity name along with various attributes such as: Baby Sheep Color Villager Profession Slime Size Wolf/Ocelot tamed status Zombie Type
    static String
    getName(org.bukkit.entity.LivingEntity entity)
    Gets the simple name of a mob

    Methods inherited from class java.lang.Object

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

    • MobManager

      public MobManager()
  • Method Details

    • getName

      public static String getName(org.bukkit.entity.LivingEntity entity)
      Gets the simple name of a mob
      Parameters:
      entity - entity to get the name of
      Returns:
      basic name
    • getDetailedName

      public static String getDetailedName(org.bukkit.entity.LivingEntity entity)
      Gets the vanilla entity name along with various attributes such as:
      • Baby
      • Sheep Color
      • Villager Profession
      • Slime Size
      • Wolf/Ocelot tamed status
      • Zombie Type
      Parameters:
      entity - entity to get the name of
      Returns:
      detailed name