added another example authored by Phillip's avatar Phillip
...@@ -49,6 +49,13 @@ Examples ...@@ -49,6 +49,13 @@ Examples
// do something with mob // do something with mob
} }
``` ```
```java
ActiveMob mythicMob = MythicBukkit.inst().getMobManager().getActiveMob(bukkitEntity.getUniqueId()).orElse(null);
if(mythicMob != null && mythicMob.getType().getInternalName().equals("SkeletalKnight")){
// do something with mob
}
```
The MythicMobs API contains numerous events and helper classes to help The MythicMobs API contains numerous events and helper classes to help
you utilize our mobs, items, and skill systems. you utilize our mobs, items, and skill systems.
... ...
......