getItemStackPredicate

fun CommandContext<CommandSourceStack>.getItemStackPredicate(name: String): ItemStackPredicate

Retrieves an ItemStackPredicate from the command context.