interactWithEntity

fun interactWithEntity(entityId: Int)

Interacts with the entity with the given id by sending the interaction package.


fun interactWithEntity(entity: Entity)

Interacts with the given entity by sending the interaction package.