Package net.minecraft.command.argument
Interface ItemPredicateArgumentType.ItemPredicateArgument
- Enclosing class:
- ItemPredicateArgumentType
public static interface ItemPredicateArgumentType.ItemPredicateArgument
- Mappings:
Namespace Name official fj$b
intermediary net/minecraft/class_2293$class_2295
named net/minecraft/command/argument/ItemPredicateArgumentType$ItemPredicateArgument
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext)
-
Method Details
-
create
Predicate<ItemStack> create(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-