mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add simple movements with /move command
- Determine if we can move to the specified direction - Add moving ability to the specified direction - Add /move command for triggering moves - Add move decomp. into steps (more natural) - Add pathfinding routines (still WIP) - SO YES YOU CAN NOW WALK USING MCC!!!
This commit is contained in:
parent
00131de08b
commit
b0c8f82697
9 changed files with 475 additions and 17 deletions
21
MinecraftClient/Mapping/Direction.cs
Normal file
21
MinecraftClient/Mapping/Direction.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace MinecraftClient.Mapping
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a unit movement in the world
|
||||
/// </summary>
|
||||
/// <see href="http://minecraft.gamepedia.com/Coordinates"/>
|
||||
public enum Direction
|
||||
{
|
||||
South = 0,
|
||||
West = 1,
|
||||
North = 2,
|
||||
East = 3,
|
||||
Up = 4,
|
||||
Down = 5
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue