All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sucy.skill.hook.MythicMobsHook Maven / Gradle / Ivy

Go to download

A Minecraft Bukkit plugin aiming to provide an easy code API and skill editor for all server owners to create unique and fully custom classes and skills.

There is a newer version: 1.3.1-R1
Show newest version
package com.sucy.skill.hook;

import mc.promcteam.engine.NexEngine;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;

/**
 * ProSkillAPI © 2023
 * com.sucy.skill.hook.MythicMobsHook
 */
public class MythicMobsHook {

    public static void taunt(final LivingEntity target, final LivingEntity source, final double amount) {
        NexEngine.get().getMythicMobs().taunt(target, source, amount);
    }

    public static boolean isMonster(final LivingEntity target) {
        return NexEngine.get().getMythicMobs().isMythicMob(target);
    }

    public static String getMythicMobId(Entity entity) {
        return NexEngine.get().getMythicMobs().getMythicNameByEntity(entity);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy