← Back to Gallery

Loading 3D viewer…

_diag masks red vs blue 2

by Jorge Barbero

Dimensions
24×24×24
Blocks
380
Compute Time
0.8s
Generation Time
3.2s
Model
claude-opus-5
Created
September 7, 2026
Prompt

User Prompt

diagnostic: onlyMaterial mask behaviour with two placeholder materials

CraftScript Source
fill(2, 2, 2, 6, 6, 6, "blue_wool");
fill(10, 2, 2, 14, 6, 6, "red_wool");
fill(18, 2, 2, 22, 6, 6, "red_wool");
// A: clear one red cube via mask
clearMasked(17, 0, 0, 23, 23, 23, onlyMaterial("red_wool"));
// B: blue -> stone
replaceMasked(0, 0, 0, 23, 23, 23, "stone", onlyMaterial("blue_wool"));
// C: red -> gold
replaceMasked(0, 0, 0, 23, 23, 23, "gold_block", onlyMaterial("red_wool"));
// D: marker column height 5 if any gold survived logic
fill(2, 10, 20, 2, 14, 20, "glowstone");

Static Renders

_diag masks red vs blue 2 isometric viewisometric
_diag masks red vs blue 2 front viewfront
_diag masks red vs blue 2 side viewside
_diag masks red vs blue 2 back viewback
_diag masks red vs blue 2 top viewtop