Package net.minecraftforge.event.entity.living

Examples of net.minecraftforge.event.entity.living.EnderTeleportEvent


    world.addWeatherEffect(bolt);
  }

  public static boolean teleportEntityTo(EntityLivingBase entity, double x, double y, double z) {

    EnderTeleportEvent event = new EnderTeleportEvent(entity, x, y, z, 0);
    if (MinecraftForge.EVENT_BUS.post(event)) {
      return false;
    }
    double x2 = entity.posX;
    double y2 = entity.posY;
View Full Code Here

TOP

Related Classes of net.minecraftforge.event.entity.living.EnderTeleportEvent

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.