Commands can be parsed, in a very limited way.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package net.minecraft.commands.tree;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import net.minecraft.commands.exceptions.IllegalCommandArgumentException;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -14,4 +15,6 @@ public abstract class CommandNode {
|
||||
public void addChild(CommandNode node) {
|
||||
children.add(node);
|
||||
}
|
||||
|
||||
public abstract void parse(String command) throws IllegalCommandArgumentException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user