# Figura Render Bridge
*(formerly Figura Curios Bridge)*
Figura avatars can reshape the player completely, but some mods draw their items on their own, at vanilla positions.
On a custom avatar those items float, clip through the model, or ignore its proportions.
Figura Render Bridge adds Lua APIs so an avatar can fit these items to its own model.
## Features
### `curios` — Curios items
Hide, move, rotate or scale Curios items, and make them follow a body part (head, body, arms, legs).
Target an item by ID, a whole slot, a single slot index, or everything.
`curios:getItems()` lists what is equipped, including each item's data (`stack:getTag()`).
```lua
curios:setPart("create:goggles", "head")
curios:setPos("create:goggles", vec(0, 1, 0))
curios:setVisible("*", false)
```
### `pocketHat` — Create: Pocket Sized hat builds
Pocket draws hat builds on the vanilla head. If your avatar's neck is at a different height, the build drifts when you nod.
Move the build's rotation point to your neck, and move, scale or hide the build.
```lua
pocketHat:setNeck(vec(0, 1, 0))
pocketHat:setScale(vec(1.1, 1.1, 1.1))
```
### `geoArmor` — GeckoLib armor
GeckoLib armor is drawn at the vanilla body positions, not at Figura's armor pivots.
Hide a whole piece, or hide, move, rotate or scale its individual bones.
`geoArmor:getBones(slot)` lists the bone names of the armor you are wearing.
```lua
geoArmor:setBonePos("*", "armorHead", vec(0, 1, 0))
geoArmor:setVisible("irons_spellbooks:wizard_helmet", false)
```
### `heldMap` — maps held in third person
Draws held filled maps as real maps at Figura's item pivots, instead of a flat item icon.
Uses Not Enough Animations' map look when it is installed. Position and rotation can be adjusted
(written for the right hand, mirrored for the left).
```lua
heldMap:setEnabled(true)
heldMap:setRot(vec(5, -20, -5))
```
The full API reference is in `LUA_API.md` in the source.
## Fair to everyone
- **Opt-in per avatar.** Nothing changes unless the avatar's script uses these APIs.
- **Respects Figura permissions.** Changes only apply when the viewer allows that avatar "Vanilla Model Edit".
- **Client-side only.** No server install needed. Players without this mod simply see the normal rendering.
- **Fails safely.** If a supported mod updates and the hook no longer fits, that feature turns off and a chat warning appears. The game keeps running.
## Requirements
- Minecraft 1.21.1, NeoForge
- Figura 0.1.6 or later, below 0.2 (required)
- Optional (each feature only activates when its mod is installed):
- Curios
- Create: Pocket Sized
- GeckoLib 4.9+
- Not Enough Animations
Tested with Figura 0.1.6, Curios 9.5.1–9.5.11, Create: Pocket Sized 0.32.0, GeckoLib 4.9.5 and Not Enough Animations 1.12.7.
## Updating from Figura Curios Bridge
The mod ID changed from `figura_curios_bridge` to `figura_render_bridge`. Remove the old jar when you update.
Avatar scripts don't need any changes: the `curios` API is the same.
---
This mod was developed with help from Claude, an AI made by Anthropic, and tested in-game by a human.

