Package org.bukkit.entity

Examples of org.bukkit.entity.Wolf.playEffect()


    public void playHeartEffect() {
        Location location = npc.getBukkitEntity().getLocation();
        Wolf tempWolf = world.spawn(location, Wolf.class);
        ((CraftWolf) tempWolf).getHandle().setInvisible(true);
        tempWolf.playEffect(EntityEffect.WOLF_HEARTS);
        if (dense) tempWolf.playEffect(EntityEffect.WOLF_HEARTS);
        tempWolf.remove();
    }

    public void playSmokeEffect() {
View Full Code Here


    public void playHeartEffect() {
        Location location = npc.getBukkitEntity().getLocation();
        Wolf tempWolf = world.spawn(location, Wolf.class);
        ((CraftWolf) tempWolf).getHandle().setInvisible(true);
        tempWolf.playEffect(EntityEffect.WOLF_HEARTS);
        if (dense) tempWolf.playEffect(EntityEffect.WOLF_HEARTS);
        tempWolf.remove();
    }

    public void playSmokeEffect() {
        Location location = npc.getBukkitEntity().getLocation();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.