Class ItemStackPredicateArgument<C>

java.lang.Object
cloud.commandframework.arguments.CommandArgument<C,ItemStackPredicate>
cloud.commandframework.bukkit.parsers.ItemStackPredicateArgument<C>
Type Parameters:
C - Command sender type
All Implemented Interfaces:
cloud.commandframework.keys.CloudKeyHolder<ItemStackPredicate>, Comparable<cloud.commandframework.arguments.CommandArgument<?,?>>

public final class ItemStackPredicateArgument<C> extends cloud.commandframework.arguments.CommandArgument<C,ItemStackPredicate>
Argument type for parsing an ItemStackPredicate.

This argument type is only usable on Minecraft 1.13+, as it depends on Minecraft internals added in that version.

This argument type only provides basic suggestions by default. Enabling Brigadier compatibility through BukkitCommandManager.registerBrigadier() will allow client side validation and suggestions to be utilized.

Since:
1.5.0