optional
fun ArgumentReader<ServerCommandSource, ListEntityArgumentDescriptor>.optional(): Collection<Entity>
Content copied to clipboard
Reads the collection of entities from the argument in the receiver ArgumentReader.
Returns an empty collection if no entities are matched.
Author
Cypher121
See also
fun ArgumentReader<ServerCommandSource, ListPlayerArgumentDescriptor>.optional(): Collection<ServerPlayerEntity>
Content copied to clipboard
Reads the collection of players from the argument in the receiver ArgumentReader.
Returns an empty collection if no entities are matched.
Author
Cypher121