CommandAPI 12.1.0
An API for the command UI introduced in Minecraft 1.13
Loading...
Searching...
No Matches
dev.jorel.commandapi.arguments.ItemStackPredicateArgument Class Reference

An argument that represents a Predicate<ItemStack>. More...

Inheritance diagram for dev.jorel.commandapi.arguments.ItemStackPredicateArgument:

Public Member Functions

 ItemStackPredicateArgument (String nodeName)
 A ItemStack Predicate argument.
Class< Predicate > getPrimitiveType ()
CommandAPIArgumentType getArgumentType ()
Argument< T > instance ()
 Returns the instance of this class with the class Impl.

Detailed Description

An argument that represents a Predicate<ItemStack>.

Since
4.0

Constructor & Destructor Documentation

◆ ItemStackPredicateArgument()

dev.jorel.commandapi.arguments.ItemStackPredicateArgument.ItemStackPredicateArgument ( String nodeName)

A ItemStack Predicate argument.

Represents a predicate for itemstacks

Parameters
nodeNamethe name of the node for this argument

Member Function Documentation

◆ instance()

Argument< T > dev.jorel.commandapi.arguments.Argument< T >.instance ( )
inherited

Returns the instance of this class with the class Impl.

Used for chaining builder methods.