Package net.minecraftforge.event.entity.living.LivingSpawnEvent

Examples of net.minecraftforge.event.entity.living.LivingSpawnEvent.AllowDespawn


        return MinecraftForge.EVENT_BUS.post(new LivingSpawnEvent.SpecialSpawn(entity, world, x, y, z));
    }

    public static Result canEntityDespawn(EntityLiving entity)
    {
        AllowDespawn event = new AllowDespawn(entity);
        MinecraftForge.EVENT_BUS.post(event);
        return event.getResult();
    }
View Full Code Here

TOP

Related Classes of net.minecraftforge.event.entity.living.LivingSpawnEvent.AllowDespawn

Copyright © 2018 www.massapicom. 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.