CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
An argument that represents many entities. More...
Public Member Functions | |
ManyEntities (String nodeName) | |
An argument that represents many entities. More... | |
ManyEntities (String nodeName, boolean allowEmpty) | |
An argument that represents many entities. More... | |
Class< Collection > | getPrimitiveType () |
CommandAPIArgumentType | getArgumentType () |
List< String > | getEntityNames (Object argument) |
Argument< T > | instance () |
Returns the instance of this class with the class Impl. More... | |
An argument that represents many entities.
@apiNote Returns a Collection
<
Entity
>
object
dev.jorel.commandapi.arguments.EntitySelectorArgument.ManyEntities.ManyEntities | ( | String | nodeName | ) |
An argument that represents many entities.
nodeName | the name of the node for this argument |
dev.jorel.commandapi.arguments.EntitySelectorArgument.ManyEntities.ManyEntities | ( | String | nodeName, |
boolean | allowEmpty | ||
) |
An argument that represents many entities.
nodeName | the name of the node for this argument |
allowEmpty | whether this entity selector should allow no entities found, or should throw an error instead |
|
inherited |
Returns the instance of this class with the class Impl.
Used for chaining builder methods.