Returns the closest entity to this entity
If `type` is an entity id, (e.g. `minecraft:bee`), only entities of that type will be considered
Radius defaults to 20, and controls the size of the area for checking entities as a box expanding in every direction from the player 
overload 1:
ViewerAPI.getNearestEntity(type: String, radius: Number): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| type accepts | typings.-1808118735||
| radius accepts | typings.-1950496919||
| Return Value | typings.1263373079
overload 2:
ViewerAPI.getNearestEntity(type: String): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| type accepts | typings.-1808118735||
| Return Value | typings.1263373079
overload 3:
ViewerAPI.getNearestEntity(): EntityAPI | Method Property | Fluent Description | Representation |
|---|---|---|
| Return Value | typings.1263373079
listFiles
action_wheel
Action
BlockRaycastTypes