requireEntity

inline fun <T : Entity> requireEntity(): T