BlockforgePlayer
A component script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2BlockforgePlayer.component — the first-person creative controller. Lives on the camera entity. Owns: input polling, mouse-look, walk/fly movement with voxel collision, center-crosshair raycast break/place, multiplayer pose + edit replication, and the remote-avatar renderer. Reads/writes shared state through the blockforge module singleton, and executes UI-issued commands via `BF.state.pending`.
worldHandle( ) → void
solidAt(w: ?, wx: ?, wy: ?, wz: ?) → void
| arg | type | description |
|---|---|---|
| w | ? | |
| wx | ? | |
| wy | ? | |
| wz | ? |
collides(w: ?, ex: ?, ey: ?, ez: ?) → void
| arg | type | description |
|---|---|---|
| w | ? | |
| ex | ? | |
| ey | ? | |
| ez | ? |
facingFromYaw(y: ?) → void
| arg | type | description |
|---|---|---|
| y | ? |
applyCamera( ) → void
localApplyEdit(x: ?, y: ?, z: ?, name: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? | |
| z | ? | |
| name | ? |
doEdit(x: ?, y: ?, z: ?, name: ?, broadcast: ?) → void
| arg | type | description |
|---|---|---|
| x | ? | |
| y | ? | |
| z | ? | |
| name | ? | |
| broadcast | ? |
eyeForward( ) → void
breakBlock( ) → void
placeBlock( ) → void
bindMultiplayer( ) → void
ensureAvatarMats( ) → void
ensureAvatar(peerId: ?, p: ?) → void
| arg | type | description |
|---|---|---|
| peerId | ? | |
| p | ? |
despawnAvatar(peerId: ?) → void
| arg | type | description |
|---|---|---|
| peerId | ? |
updateAvatars( ) → void
teleportToSpawn( ) → void
processPending( ) → void
ensureAmbient( ) → void
awake( ) → void
keyEdge(snap: ?, code: ?) → void
| arg | type | description |
|---|---|---|
| snap | ? | |
| code | ? |
update(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
editorUpdate(dt: ?) → void
| arg | type | description |
|---|---|---|
| dt | ? |
onDestroy( ) → void
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.