# `Cauldron3D.Formats.Entities`
[🔗](https://github.com/jaman/cauldron/blob/v0.3.3/cauldron_3d_formats/lib/cauldron_3d/formats/entities.ex#L1)

A map's entity text read into a list of string maps, one per `{ … }` block, in order.

    Cauldron3D.Formats.Entities.parse(~s|{ "classname" "worldspawn" }|)
    #=> [%{"classname" => "worldspawn"}]

# `blocks`

```elixir
@spec blocks(String.t()) :: [{String.t(), %{required(String.t()) =&gt; String.t()}}]
```

The entities of `text` with the text of each block, braces included: `[{block, keys}]`.

# `number`

```elixir
@spec number(String.t() | nil) :: float() | nil
```

A number value as a float, or `nil`.

# `parse`

```elixir
@spec parse(String.t()) :: [%{required(String.t()) =&gt; String.t()}]
```

The entities of `text`.

# `vector`

```elixir
@spec vector(String.t() | nil) :: {float(), float(), float()} | nil
```

A vector value such as `"64 -32 24"` as `{x, y, z}` floats, or `nil`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
