Ray: {
    cursorBlockLocation: minecraftserver.Vector3;
    direction: minecraftserver.Vector3;
    location: minecraftserver.Vector3;
    rayHit: boolean;
}

Ray representing a direction from a set location. This location typically corresponds to the location of a mouse click performed on the client.

Type declaration

  • cursorBlockLocation: minecraftserver.Vector3
  • direction: minecraftserver.Vector3
  • location: minecraftserver.Vector3
  • rayHit: boolean