mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Upgrade GetLookingBlock
This commit is contained in:
parent
ba6a954f45
commit
4aa6c1c99f
11 changed files with 213 additions and 74 deletions
|
|
@ -11,6 +11,8 @@ namespace MinecraftClient.Mapping
|
|||
/// </summary>
|
||||
public struct Location
|
||||
{
|
||||
public static readonly Location Zero = new(0, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// The X Coordinate
|
||||
/// </summary>
|
||||
|
|
@ -26,17 +28,6 @@ namespace MinecraftClient.Mapping
|
|||
/// </summary>
|
||||
public double Z;
|
||||
|
||||
/// <summary>
|
||||
/// Get location with zeroed coordinates
|
||||
/// </summary>
|
||||
public static Location Zero
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Location(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create a new location
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue