func (t *transform) Position() mgl64.Vec3 {
	t.mu.Lock()
	defer t.mu.Unlock()
	return t.pos
}
Position returns the current position of the entity.
package entity
import (
	"github.com/df-mc/dragonfly/server/world"
	"github.com/go-gl/mathgl/mgl64"
	"sync"
)
type transform struct {
	e        world.Entity
	mu       sync.Mutex
	vel, pos mgl64.Vec3
}
func newTransform(e world.Entity, pos mgl64.Vec3) transform {
	return transform{e: e, pos: pos}
}