getAllEntitiesOfType

fun getAllEntitiesOfType(clazz: Class<*>): List<Entity>

Gets every entity loaded in the world of a certain class

Return

the entity list

Parameters

clazz

the class to filter for (Use Java.type().class to get this)

Sources

Link copied to clipboard