type

fun type(entityType: EntityType<*>, inverse: Boolean = false): EntitySelectorBuilder

Sets the entity type to filter by. If inverse is true, selects entities that are NOT of the specified type.


fun type(type: Identifier, inverse: Boolean): EntitySelectorBuilder
fun type(typeTag: TagKey<EntityType<*>>, inverse: Boolean): EntitySelectorBuilder

Filter target selection based on entity type. If inverse is true, selects entities that are NOT of the specified type.