[{"data":1,"prerenderedAt":384},["ShallowReactive",2],{"navigation_docs":3,"-how-to-install":148,"-how-to-install-surround":379},[4,21,62,108],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":20},"Tutorials","i-lucide-graduation-cap","\u002Ftutorials","1.tutorials",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Your first texture","\u002Ftutorials\u002Ffirst-texture","1.tutorials\u002F1.first-texture","i-lucide-sprout",{"title":16,"path":17,"stem":18,"icon":19},"Grow a crop through its stages","\u002Ftutorials\u002Fgrowth-stages","1.tutorials\u002F2.growth-stages","i-lucide-wheat",false,{"title":22,"icon":23,"path":24,"stem":25,"children":26,"page":20},"How-to guides","i-lucide-wrench","\u002Fhow-to","2.how-to",[27,32,37,42,47,52,57],{"title":28,"path":29,"stem":30,"icon":31},"Install TextureScript","\u002Fhow-to\u002Finstall","2.how-to\u002F1.install","i-lucide-download",{"title":33,"path":34,"stem":35,"icon":36},"Compare a crop with vanilla","\u002Fhow-to\u002Fcompare-with-vanilla","2.how-to\u002F2.compare-with-vanilla","i-lucide-columns-2",{"title":38,"path":39,"stem":40,"icon":41},"Connect an agent","\u002Fhow-to\u002Fconnect-an-agent","2.how-to\u002F3.connect-an-agent","i-lucide-bot",{"title":43,"path":44,"stem":45,"icon":46},"Hand-edit a growth stage","\u002Fhow-to\u002Fhand-edit-a-stage","2.how-to\u002F4.hand-edit-a-stage","i-lucide-pencil",{"title":48,"path":49,"stem":50,"icon":51},"Turn a PNG into a grid","\u002Fhow-to\u002Fimport-a-png","2.how-to\u002F5.import-a-png","i-lucide-file-image",{"title":53,"path":54,"stem":55,"icon":56},"Prove a fix stayed in its region","\u002Fhow-to\u002Fprove-a-fix","2.how-to\u002F6.prove-a-fix","i-lucide-diff",{"title":58,"path":59,"stem":60,"icon":61},"Keep game assets out of git","\u002Fhow-to\u002Fkeep-game-assets-out","2.how-to\u002F7.keep-game-assets-out","i-lucide-shield-check",{"title":63,"icon":64,"path":65,"stem":66,"children":67,"page":20},"Reference","i-lucide-book-open","\u002Freference","3.reference",[68,73,78,83,88,93,98,103],{"title":69,"path":70,"stem":71,"icon":72},"Commands","\u002Freference\u002Fcommands","3.reference\u002F1.commands","i-lucide-terminal",{"title":74,"path":75,"stem":76,"icon":77},"Palette files","\u002Freference\u002Fpalette-files","3.reference\u002F2.palette-files","i-lucide-palette",{"title":79,"path":80,"stem":81,"icon":82},"Grid files","\u002Freference\u002Fgrid-files","3.reference\u002F3.grid-files","i-lucide-grid-3x3",{"title":84,"path":85,"stem":86,"icon":87},"Stages files","\u002Freference\u002Fstages-files","3.reference\u002F4.stages-files","i-lucide-layers",{"title":89,"path":90,"stem":91,"icon":92},"Scene files","\u002Freference\u002Fscene-files","3.reference\u002F5.scene-files","i-lucide-box",{"title":94,"path":95,"stem":96,"icon":97},"Lint rules","\u002Freference\u002Flint-rules","3.reference\u002F6.lint-rules","i-lucide-list-checks",{"title":99,"path":100,"stem":101,"icon":102},"MCP server","\u002Freference\u002Fmcp-server","3.reference\u002F7.mcp-server","i-lucide-plug",{"title":104,"path":105,"stem":106,"icon":107},"Environment","\u002Freference\u002Fenvironment","3.reference\u002F8.environment","i-lucide-settings",{"title":109,"icon":110,"path":111,"stem":112,"children":113,"page":20},"Explanation","i-lucide-lightbulb","\u002Fexplanation","4.explanation",[114,119,123,128,133,138,143],{"title":115,"path":116,"stem":117,"icon":118},"Textures as text","\u002Fexplanation\u002Ftextures-as-text","4.explanation\u002F1.textures-as-text","i-lucide-type",{"title":120,"path":121,"stem":122,"icon":77},"Colour from two anchors","\u002Fexplanation\u002Fcolour","4.explanation\u002F2.colour",{"title":124,"path":125,"stem":126,"icon":127},"Measured conventions","\u002Fexplanation\u002Fmeasured-conventions","4.explanation\u002F3.measured-conventions","i-lucide-ruler",{"title":129,"path":130,"stem":131,"icon":132},"Growth stages as maps","\u002Fexplanation\u002Fgrowth-stages","4.explanation\u002F4.growth-stages","i-lucide-chart-no-axes-column-increasing",{"title":134,"path":135,"stem":136,"icon":137},"The 3D view","\u002Fexplanation\u002Fthe-3d-view","4.explanation\u002F5.the-3d-view","i-lucide-rotate-3d",{"title":139,"path":140,"stem":141,"icon":142},"No game assets","\u002Fexplanation\u002Fno-game-assets","4.explanation\u002F6.no-game-assets","i-lucide-shield",{"title":144,"path":145,"stem":146,"icon":147},"Architecture","\u002Fexplanation\u002Farchitecture","4.explanation\u002F7.architecture","i-lucide-boxes",{"id":149,"title":28,"body":150,"description":372,"extension":373,"links":374,"meta":375,"navigation":376,"path":29,"seo":377,"stem":30,"__hash__":378},"docs\u002F2.how-to\u002F1.install.md",{"type":151,"value":152,"toc":366},"minimark",[153,158,220,224,228,236,263,272,276,286,301,304,313,319,323,326,335,362],[154,155,157],"h2",{"id":156},"install-the-binary","Install the binary",[159,160,161,178,208],"ol",{},[162,163,164,165,169,170,177],"li",{},"Download ",[166,167,168],"code",{},"texturescript-OS-ARCH"," for your system from the\n",[171,172,176],"a",{"href":173,"rel":174},"https:\u002F\u002Fgithub.com\u002Fwitoldwozniak\u002Ftexturescript\u002Freleases",[175],"nofollow","releases",".",[162,179,180,181,184,185],{},"Make it executable and put it on your ",[166,182,183],{},"PATH",":",[186,187,192],"pre",{"className":188,"code":189,"language":190,"meta":191,"style":191},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","chmod +x texturescript-linux-x64\nmv texturescript-linux-x64 ~\u002F.local\u002Fbin\u002Ftexturescript\n","sh","",[166,193,194,202],{"__ignoreMap":191},[195,196,199],"span",{"class":197,"line":198},"line",1,[195,200,201],{},"chmod +x texturescript-linux-x64\n",[195,203,205],{"class":197,"line":204},2,[195,206,207],{},"mv texturescript-linux-x64 ~\u002F.local\u002Fbin\u002Ftexturescript\n",[162,209,210,211],{},"Check it runs:",[186,212,214],{"className":188,"code":213,"language":190,"meta":191,"style":191},"texturescript --version\n",[166,215,216],{"__ignoreMap":191},[195,217,218],{"class":197,"line":198},[195,219,213],{},[221,222,223],"p",{},"The binary includes the 3D viewer and the authoring skill and needs nothing else. Only the Linux\nx64 build has been tested so far.",[154,225,227],{"id":226},"install-from-source","Install from source",[221,229,230,231,177],{},"You need ",[171,232,235],{"href":233,"rel":234},"https:\u002F\u002Fbun.sh",[175],"Bun",[186,237,239],{"className":188,"code":238,"language":190,"meta":191,"style":191},"git clone https:\u002F\u002Fgithub.com\u002Fwitoldwozniak\u002Ftexturescript\ncd texturescript\nbun install\nbun link           # puts `texturescript` on your PATH\n",[166,240,241,246,251,257],{"__ignoreMap":191},[195,242,243],{"class":197,"line":198},[195,244,245],{},"git clone https:\u002F\u002Fgithub.com\u002Fwitoldwozniak\u002Ftexturescript\n",[195,247,248],{"class":197,"line":204},[195,249,250],{},"cd texturescript\n",[195,252,254],{"class":197,"line":253},3,[195,255,256],{},"bun install\n",[195,258,260],{"class":197,"line":259},4,[195,261,262],{},"bun link           # puts `texturescript` on your PATH\n",[221,264,265,268,269,177],{},[166,266,267],{},"bun run build"," compiles the binary into ",[166,270,271],{},"dist\u002F",[154,273,275],{"id":274},"enable-screenshots","Enable screenshots",[221,277,278,281,282,285],{},[166,279,280],{},"shoot",", and file-name labels on ",[166,283,284],{},"sheet",", drive a headless Chromium. TextureScript looks for one\nin this order:",[159,287,288,295,298],{},[162,289,290,291,294],{},"the executable named by ",[166,292,293],{},"TEXTURESCRIPT_CHROMIUM",";",[162,296,297],{},"Playwright's own Chromium;",[162,299,300],{},"an installed Google Chrome.",[221,302,303],{},"If you have none of them, download Playwright's:",[186,305,307],{"className":188,"code":306,"language":190,"meta":191,"style":191},"npx playwright-core install chromium\n",[166,308,309],{"__ignoreMap":191},[195,310,311],{"class":197,"line":198},[195,312,306],{},[221,314,315,318],{},[166,316,317],{},"view"," uses your own browser and needs none of this.",[154,320,322],{"id":321},"show-vanilla-blocks","Show vanilla blocks",[221,324,325],{},"Scenes can plant vanilla blocks beside yours. TextureScript reads them at run time from the\nnewest client jar your launcher has downloaded, from the official launcher or Prism Launcher\n(including the Flatpak). Check which jar it found:",[186,327,329],{"className":188,"code":328,"language":190,"meta":191,"style":191},"texturescript jar\n",[166,330,331],{"__ignoreMap":191},[195,332,333],{"class":197,"line":198},[195,334,328],{},[221,336,337,338,341,342,344,345,344,347,350,351,354,355,358,359,361],{},"If it finds none, or the wrong one, pass ",[166,339,340],{},"--jar PATH"," to ",[166,343,317],{},", ",[166,346,280],{},[166,348,349],{},"mcp"," or ",[166,352,353],{},"fetch",". To\nwork without a jar, pass ",[166,356,357],{},"--no-jar",": only your own blocks are drawn and the vanilla ones are\nlisted as missing. See ",[171,360,104],{"href":105}," for the folders searched.",[363,364,365],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":191,"searchDepth":204,"depth":204,"links":367},[368,369,370,371],{"id":156,"depth":204,"text":157},{"id":226,"depth":204,"text":227},{"id":274,"depth":204,"text":275},{"id":321,"depth":204,"text":322},"Install the binary or run from source, and set up screenshots and vanilla blocks.","md",null,{},{"icon":31},{"title":28,"description":372},"LmMtYKpWodSWRem15vWLZWo_c86NzbyipL_wXjfSgGw",[380,382],{"title":16,"path":17,"stem":18,"description":381,"icon":19,"children":-1},"Take the finished corn example, generate its eight growth stages, change when the ear appears and compare it with vanilla wheat in 3D.",{"title":33,"path":34,"stem":35,"description":383,"icon":36,"children":-1},"Write a scene that plants your crop beside vanilla blocks, then view it live or screenshot it.",1791722217440]