Data on /give
This commit is contained in:
@@ -176,10 +176,13 @@ export interface CommandRegistry {
|
||||
boolean(): ArgumentType<boolean, CommandSource>;
|
||||
word(): ArgumentType<string, CommandSource>;
|
||||
greedy_string(): ArgumentType<string, CommandSource>;
|
||||
// a json value, the rest of the line like greedy_string
|
||||
json(): ArgumentType<unknown, CommandSource>;
|
||||
choice<T extends string>(options: readonly T[]): ArgumentType<T, CommandSource>;
|
||||
// an item or block id. without a namespace, whichever has that name
|
||||
// an item, block or fluid id. without a namespace, whichever has that name
|
||||
item(): ArgumentType<Id, CommandSource>;
|
||||
block(): ArgumentType<Id, CommandSource>;
|
||||
fluid(): ArgumentType<Id, CommandSource>;
|
||||
// an online player's name
|
||||
player(): ArgumentType<Player, CommandSource>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user