Examples of PlayerBlockPlacementMessage


Examples of org.spout.vanilla.protocol.msg.player.PlayerBlockPlacementMessage

    float dx = ((float) (buffer.readByte() & 0xFF)) / 16.0F;
    float dy = ((float) (buffer.readByte() & 0xFF)) / 16.0F;
    float dz = ((float) (buffer.readByte() & 0xFF)) / 16.0F;

    return new PlayerBlockPlacementMessage(x, y, z, direction, new Vector3f(dx, dy, dz), heldItem, NullRepositionManager.getInstance());
  }
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.