of

@NotNull
open fun of(@NotNull entity: @NotNull Entity): @NotNull FabricLocation

Creates a FabricLocation from an entity's position.

Return

the location

Since

2.0.0

Parameters

entity

the entity