required

@JvmName(name = "requiredEntityArg")
fun ArgumentReader<ServerCommandSource, ListEntityArgumentDescriptor>.required(): Collection<Entity>

Reads the collection of entities from the argument in the receiver ArgumentReader.

Throws an exception if no entities are matched.

Author

Cypher121

See also


@JvmName(name = "requiredPlayerArg")
fun ArgumentReader<ServerCommandSource, ListPlayerArgumentDescriptor>.required(): Collection<ServerPlayerEntity>

Reads the collection of players from the argument in the receiver ArgumentReader.

Throws an exception if no entities are matched.

Author

Cypher121

See also