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

An argument that represents the Bukkit BlockState object. More...

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

Public Member Functions

 BlockStateArgument (String nodeName)
 Constructs a BlockStateArgument with a given node name.
Class< BlockState > getPrimitiveType ()
CommandAPIArgumentType getArgumentType ()
Argument< T > instance ()
 Returns the instance of this class with the class Impl.

Detailed Description

An argument that represents the Bukkit BlockState object.

Since
3.1

@apiNote Returns a org.bukkit.block.BlockState object

Constructor & Destructor Documentation

◆ BlockStateArgument()

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

Constructs a BlockStateArgument with a given node name.

Parameters
nodeNamethe name of the node for 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.