Class MobManager
java.lang.Object
studio.magemonkey.codex.mccore.util.MobManager
Contains tools for converting names of mobs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetDetailedName(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 Typestatic StringgetName(org.bukkit.entity.LivingEntity entity) Gets the simple name of a mob
-
Constructor Details
-
MobManager
public MobManager()
-
-
Method Details
-
getName
Gets the simple name of a mob- Parameters:
entity- entity to get the name of- Returns:
- basic name
-
getDetailedName
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
-