mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Auxiliary class for Direction, preparation for autodetection of the broken side of the block
This commit is contained in:
parent
fde50c1728
commit
91ef890bb6
4 changed files with 43 additions and 3 deletions
|
|
@ -22,6 +22,7 @@ namespace MinecraftClient.Commands
|
|||
);
|
||||
|
||||
dispatcher.Register(l => l.Literal(CmdName)
|
||||
// TODO Get blockFace direction from arguments
|
||||
.Executes(r => DigLookAt(r.Source))
|
||||
.Then(l => l.Argument("Duration", Arguments.Double())
|
||||
.Executes(r => DigLookAt(r.Source, Arguments.GetDouble(r, "Duration"))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue