Added commandbuilder.then() and argumentbuilder
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package net.minecraft.commands.builder;
|
||||
|
||||
import net.minecraft.commands.arguments.CommandArgumentType;
|
||||
|
||||
public class RequiredArgumentBuilder extends ArgumentBuilder {
|
||||
private final String name;
|
||||
private final CommandArgumentType type;
|
||||
|
||||
protected RequiredArgumentBuilder(String name, CommandArgumentType type) {
|
||||
this.name = name;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public static RequiredArgumentBuilder argument(String name, CommandArgumentType type) {
|
||||
return new RequiredArgumentBuilder(name, type);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user