Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Angais/Fable5-mc
/ functions
Functions
242 in github.com/Angais/Fable5-mc
⨍
Functions
242
◇
Types & classes
26
↓ 110 callers
Method
set
(x, y, rgb, a = 255)
src/textures.js:24
↓ 54 callers
Function
mul
(c, f)
src/textures.js:35
↓ 39 callers
Function
lum
(rng, amt)
src/textures.js:36
↓ 36 callers
Function
def
* def fields: * name display name * tex per-face tile names ({all} | {top,bottom,side} | per-face) * shape 'cube' | '
src/blocks.js:78
↓ 22 callers
Method
get
(x, y)
src/textures.js:29
↓ 21 callers
Method
setBlock
* Set a block. Records the edit (for persistence), maintains the * skylight heightmap + torch lists, marks affected chunks dirty and * queues gr
src/world.js:105
↓ 20 callers
Function
ckey
(cx, cz)
src/world.js:13
↓ 18 callers
Method
getBlock
(x, y, z)
src/world.js:61
↓ 14 callers
Function
ok
(name, fn)
test/smoke.mjs:20
↓ 13 callers
Function
noiseFill
Fill the whole tile with a base color whose luminance jitters per pixel.
src/textures.js:39
↓ 12 callers
Method
update
(dt, camPos)
src/sky.js:109
↓ 10 callers
Method
_noise
({ type = 'lowpass', freq = 600, q = 0.8, dur = 0.15, gain = 0.5, rate = 1 })
src/audio.js:72
↓ 10 callers
Method
show
(name)
src/ui.js:63
↓ 9 callers
Function
idx
(x, y, z)
src/worldgen.js:24
↓ 9 callers
Function
speckle
Sprinkle n single pixels of a color.
src/textures.js:46
↓ 8 callers
Method
hide
(name)
src/ui.js:64
↓ 8 callers
Method
noise2
2D simplex noise in [-1, 1]
src/noise.js:88
↓ 7 callers
Function
hashString
(str)
src/noise.js:19
↓ 7 callers
Function
mulberry32
(seed)
src/noise.js:7
↓ 7 callers
Method
surfaceHeight
Highest skylight-blocking block of the column (0 if none).
src/world.js:74
↓ 6 callers
Method
_tone
({ freq = 440, dur = 0.2, gain = 0.2, type = 'sine', attack = 0.005, dest = null })
src/audio.js:91
↓ 6 callers
Function
blob
Small irregular blob around a center.
src/textures.js:52
↓ 6 callers
Function
hash2
(x, z, seed)
src/noise.js:29
↓ 6 callers
Function
makeFace
(normal, t1, t2, key)
src/mesher.js:32
↓ 6 callers
Method
quad
verts: 4 x {x,y,z,u,v,r,g}; flip: alternate quad diagonal
src/mesher.js:117
↓ 6 callers
Function
skyLightAt
(s, lx, y, lz, id)
src/mesher.js:146
↓ 6 callers
Method
teleport
(x, y, z)
src/player.js:58
↓ 5 callers
Method
clear
()
src/entities.js:165
↓ 5 callers
Method
columnInfo
(x, z)
src/worldgen.js:43
↓ 5 callers
Function
paintOre
(oreColor, hiColor, clusters = 5)
src/textures.js:380
↓ 5 callers
Function
transparentFill
(px)
src/textures.js:402
↓ 5 callers
Method
updateHotbar
(hotbar, selected)
src/ui.js:158
↓ 5 callers
Function
uvRect
(name)
src/mesher.js:62
↓ 4 callers
Function
cross
(props)
src/blocks.js:101
↓ 4 callers
Method
currentTarget
()
src/main.js:557
↓ 4 callers
Method
fbm2
Fractal Brownian motion over noise2. Result roughly in [-1, 1].
src/noise.js:185
↓ 4 callers
Method
hideAllMenus
()
src/ui.js:65
↓ 4 callers
Function
latAt
(x, y)
src/textures.js:666
↓ 4 callers
Method
lockPointer
()
src/main.js:387
↓ 4 callers
Function
mapU
(t)
src/mesher.js:344
↓ 4 callers
Function
mapV
(t)
src/mesher.js:345
↓ 4 callers
Method
noise3
3D simplex noise in [-1, 1]
src/noise.js:128
↓ 4 callers
Method
showToast
(text)
src/ui.js:174
↓ 4 callers
Function
sideQuad
(p0, p1)
src/mesher.js:349
↓ 3 callers
Method
_materialOf
(id)
src/audio.js:106
↓ 3 callers
Function
bidx
(lx, y, lz)
src/world.js:14
↓ 3 callers
Method
blockBreak
(id)
src/audio.js:114
↓ 3 callers
Method
build
()
src/mesher.js:127
↓ 3 callers
Function
buildBlockGeometry
(id)
src/mesher.js:377
↓ 3 callers
Method
despawn
(i)
src/entities.js:159
↓ 3 callers
Method
dispose
()
src/world.js:372
↓ 3 callers
Method
ensure
Must be called from a user gesture. Safe to call repeatedly.
src/audio.js:35
↓ 3 callers
Method
findSpawn
Spiral out from origin to find a dry spawn column.
src/worldgen.js:96
↓ 3 callers
Method
getTorchesNear
(cx, cz)
src/world.js:86
↓ 3 callers
Function
hash3
(x, y, z, seed)
src/noise.js:40
↓ 3 callers
Function
hf
(h)
src/noise.js:52
↓ 3 callers
Method
lerp
(a, b, t)
src/worldgen.js:213
↓ 3 callers
Method
moveAxis
(axis, amount)
src/player.js:217
↓ 3 callers
Function
raycastVoxel
(world, origin, dir, maxDist)
src/player.js:290
↓ 3 callers
Method
saveWorld
()
src/main.js:348
↓ 3 callers
Method
selectSlot
(i)
src/main.js:521
↓ 3 callers
Method
spawnBlockBreak
(x, y, z, id)
src/particles.js:73
↓ 3 callers
Method
swing
()
src/main.js:563
↓ 3 callers
Method
toggle
(id, key, label)
src/ui.js:96
↓ 2 callers
Method
assignBlock
(id)
src/main.js:530
↓ 2 callers
Function
atlasUV
(name)
src/textures.js:522
↓ 2 callers
Method
blockBelow
()
src/player.js:191
↓ 2 callers
Method
click
(id, fn)
src/ui.js:70
↓ 2 callers
Method
closePicker
(relock)
src/main.js:547
↓ 2 callers
Method
computeHeights
(chunk)
src/worldgen.js:348
↓ 2 callers
Method
createWorld
(seed, edits, savedPlayer)
src/main.js:244
↓ 2 callers
Method
disposeChunk
(c)
src/world.js:337
↓ 2 callers
Method
eyePosition
(out = new THREE.Vector3())
src/player.js:63
↓ 2 callers
Method
flashDamage
()
src/ui.js:233
↓ 2 callers
Method
frame
(t)
src/main.js:805
↓ 2 callers
Method
geometryFor
(id)
src/entities.js:33
↓ 2 callers
Method
getChunk
(cx, cz)
src/world.js:59
↓ 2 callers
Method
hasSupportBelow
()
src/player.js:260
↓ 2 callers
Function
hashStringToInt
(s)
src/textures.js:205
↓ 2 callers
Method
heldGeometry
(id)
src/main.js:711
↓ 2 callers
Method
igniteTNT
(x, y, z, fuse = 1.5)
src/entities.js:61
↓ 2 callers
Function
isSolidId
(id)
src/player.js:33
↓ 2 callers
Method
loadEdits
(list)
src/world.js:179
↓ 2 callers
Function
loadJSON
(k)
src/main.js:34
↓ 2 callers
Method
makeMesh
(id)
src/entities.js:39
↓ 2 callers
Method
makeWorldMaterial
(params)
src/main.js:216
↓ 2 callers
Method
meshChunk
(c)
src/world.js:303
↓ 2 callers
Method
moveAxisGuarded
(axis, amount, guard)
src/player.js:203
↓ 2 callers
Method
neighborsGenerated
(c)
src/world.js:282
↓ 2 callers
Function
paintFlower
(headColor, headDark)
src/textures.js:407
↓ 2 callers
Function
paintGrassSide
(snowy)
src/textures.js:95
↓ 2 callers
Function
paintGrassTop
(base)
src/textures.js:81
↓ 2 callers
Function
paintLeaves
(base)
src/textures.js:207
↓ 2 callers
Function
paintLogSide
(bark, dark)
src/textures.js:167
↓ 2 callers
Function
paintLogTop
(bark)
src/textures.js:178
↓ 2 callers
Function
paintPumpkinSide
(face)
src/textures.js:331
↓ 2 callers
Function
paintTile
(name)
src/textures.js:541
↓ 2 callers
Method
placeBlock
()
src/main.js:633
↓ 2 callers
Method
placeMesh
(c, mesh)
src/world.js:319
↓ 2 callers
Method
play
()
src/main.js:285
next →
1–100 of 242, ranked by callers