Package net.minecraft.network.play.server

Examples of net.minecraft.network.play.server.S12PacketEntityVelocity


    ep.worldObj.playSoundEffect(message.x, message.y, message.z, "mob.endermen.portal", 1.0F, 1.0F);
    ep.fallDistance = 0;

    if(message.conserveMotion) {
      Vector3d velocityVex = Util.getLookVecEio(ep);
      S12PacketEntityVelocity p = new S12PacketEntityVelocity(ep.getEntityId(), velocityVex.x, velocityVex.y, velocityVex.z);

      ctx.getServerHandler().sendPacket(p);
    }

    if(message.powerUse > 0 && ep.getCurrentEquippedItem() != null && ep.getCurrentEquippedItem().getItem() instanceof IItemOfTravel) {
View Full Code Here

TOP

Related Classes of net.minecraft.network.play.server.S12PacketEntityVelocity

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.