一键导入
slabbed-mixin-target-discovery
Identify and lock correct Yarn targets for slab-top placement and survival before writing mixins.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Identify and lock correct Yarn targets for slab-top placement and survival before writing mixins.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Disable or remove all temporary debug instrumentation (debug mixins, debug helpers, and log spam) and verify a clean production run.
Run the minimum production sanity checks before tagging a release or milestone.
Temporarily enable or disable debug mixins via mixin config selection without touching production mixin lists.
Verify strict visual alignment for offset-rendered blocks (model + outline) on slab tops and slab undersides.
Build-gated savepoint commit with optional tag and push, enforcing Slabbed guardrails.
Add hanging/ceiling attachment support for blocks under top slabs, using SlabSupport.isCeilingSupportSurface as the single source of truth.
基于 SOC 职业分类
| name | slabbed-mixin-target-discovery |
| description | Identify and lock correct Yarn targets for slab-top placement and survival before writing mixins. |
Identify and lock the correct Yarn-named classes/methods to hook for Slabbed’s core behavior:
No behavior changes in this skill. Output is a target list + plan.
git status must be clean. If not, stop.Run:
./gradlew genSources (if needed)Using IDE “Find in files”, search for these terms (in net.minecraft sources):
canPlaceAtgetPlacementStatecanPlaceOncanPlantOnTopisSideSolidFullSquareisFullCubegetCollisionShapegetOutlineShapegetSidesShapegetStateForNeighborUpdateFor each promising hit, open call sites and trace who checks “solid top” or “full square”.
Locate the SlabBlock implementation and record:
Output:
Pick 6 canonical test blocks (don’t implement, just list):
For each, locate its survival predicate:
canPlaceAt or neighbor update path)Record for each:
Bucket A: Placement-time override points
Bucket B: Survival-time override points
For each bucket, list 1–3 best candidate targets and explain why:
Choose the most robust approach and write a short plan:
Possible strategies (examples):
Pick one as “Primary”, and list “Fallbacks”.
Produce a Target Plan in this exact format:
YarnClass#method(signature) — whyYarnClass#method(signature) — whysrc/main/java/com/slabbed/mixin/Do not implement changes. Do not create mixin files. No commits.