manage_terrain
Edit Roblox terrain: fill shapes, clear regions, replace materials, read/write voxels, generate procedural fBm terrain (mountains, hills, plains, dunes, islands, canyon), and smooth areas.
Instructions
Edit Terrain. Actions: fill_block, fill_ball, fill_cylinder, fill_wedge, clear, clear_region (center+size or region {min,max}), clear_bounds (min+max), replace_material (fromMaterial→material), colors_get / colors_set (per-material terrain colors), read_voxel (position), read_voxels / write_voxels (bulk region voxels), generate (procedural fBm terrain with presets mountains/hills/plains/dunes/islands/canyon), smooth (blur occupancy in a region), get_info. Regions: {min:[x,y,z], max:[x,y,z]}. Materials: Grass, Sand, Rock, Water, Snow, Mud, Asphalt, Basalt, Brick, Cobblestone, Concrete, CrackedLava, Glacier, Ground, Ice, LeafyGrass, Limestone, Pavement, Salt, Sandstone, Slate, WoodPlanks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Max corner for clear_bounds | |
| min | No | Min corner for clear_bounds | |
| seed | No | ||
| size | No | ||
| color | No | Color for colors_set: [r,g,b] 0-255 or '#hex' | |
| action | Yes | ||
| center | No | ||
| height | No | ||
| preset | No | ||
| radius | No | ||
| region | No | World AABB for clear_region/replace_material/read_voxels/write_voxels/generate/smooth | |
| octaves | No | generate: fBm octaves 1-8 (default 4) | |
| material | No | ||
| position | No | [x,y,z] for read_voxel | |
| amplitude | No | generate: height variation in studs | |
| frequency | No | generate: noise frequency (default 0.01) | |
| intensity | No | smooth: 0-1 blend strength (default 0.5) | |
| materials | No | write_voxels: 3D array of material names [x][y][z] | |
| occupancy | No | write_voxels: 3D array of occupancy 0-1 [x][y][z] | |
| baseHeight | No | generate: base terrain height in studs (default 32) | |
| resolution | No | Voxel resolution in studs (always 4 in Roblox; other values are rejected) | |
| waterLevel | No | generate: absolute water surface height | |
| persistence | No | generate: amplitude decay per octave (default 0.5) | |
| fromMaterial | No | Source material for replace_material. Alias: sourceMaterial | |
| sourceMaterial | No | Alias for fromMaterial | |
| targetMaterial | No | Alias for material (replace_material) | |
| materialPalette | No |