Individual skill

minecraft-space-rift

制作 Minecraft Forge 1.20.1 程序化空间裂缝、横向动态星河、立体蓝紫撕裂边缘及开合动画,提供共享 GLSL、14 个 JSON 预设和 Forge 源码接口。用于算法裂隙,不用于贴图裂缝、真实地形破坏或可穿越第二世界。

skills/minecraft-space-rift/SKILL.md

Read pinned source

Source commit fa467398c391ac9211b7f3d75cb4f7de07a7fc2e

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 4, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
10
Repository last updated
Nov 7, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# 程序化空间裂缝

先检查目标工程已有 Shader、参数系统、天空和异空间接口,优先复用。公开包包含独立 WebGL2 工作台、算法和接入资源。

1. 使用 `python scripts/create_project.py <新目录>` 复制资源。阅读生成目录的 README.md 和 NOTICE.md。
2. `shader/geometry.js` 生成稳定种子的分形骨架;`shader/parameters.js` 管理参数、质量及预设。改变种子或几何后更新骨架 Uniform,普通视觉变化直接更新 Uniform。
3. `rift_core.glsl` 计算开口,`rift_rim.glsl` 和 `rift_horizon.glsl` 计算边缘及深度;保留物理局部坐标采样和导数抗锯齿,不拉伸固定纹理。
4. 横向干净裂隙选 `horizon-slash`、`horizon-tear`、`horizon-giant`,保留 `horizon=1`。其它预设允许分支、破碎演出及算法风格。按需求禁用外围装饰。
5. 内部渲染通过 `interior-adapter.glsl` 替换;复用目标天空或子场景时明确相机、坐标与遮罩。内部只在真实开口可见。
6. 用 `python scripts/build.py` 生成 WebGL2、Shadertoy 和 Forge GLSL150;不手改生成文件。通过长度、宽度、progress/open/shrink/sequence 等参数控制演出。
7. Forge 接入读 `forge/src`:使用世界位置与朝向,正确管理场景颜色副本、深度、混合及缓冲生命周期。背景折射必须使用真实场景缓冲;测试背景不能称为真实折射。
8. 验证 `node scripts/check_geometry.mjs`、生成脚本、可选桌面 GL 测试和 Java17 Gradle 构建。游戏运行验收另行完成;浏览器或桌面 GL 通过不等于已验证 Minecraft。

修改前优先研究相关 Shadertoy 算法并保留来源;无法读取时说明限制。保留 psrdnoise 作者和 MIT 通知;附件衍生代码的许可边界见 NOTICE,不将组合整体宣称为 MIT。