원클릭으로
slabbed-slab-support-helper-contract
Define the single shared helper API all slab-support mixins must use.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Define the single shared helper API all slab-support mixins must use.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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.
| name | slabbed-slab-support-helper-contract |
| description | Define the single shared helper API all slab-support mixins must use. |
Define a single, stable helper API for determining whether a block state at a position should count as “ground support” for the top face, including slabs.
All mixins must call this helper; no duplicated slab logic inside mixins.
Treat the top face of:
Strict visuals expected: placements must align to the slab top surface when possible.
Create helper class (when implementing):
src/main/java/com/slabbed/init/SlabSupport.javaNo other class may implement slab-support rules.
When implementing, expose only these methods (no extras unless required):
static boolean isSupportedOnTop(WorldView world, BlockPos pos, BlockState belowState)
static double topSurfaceYOffset(BlockState belowState)
1.00.5Double.NaNstatic boolean isSlabLike(BlockState state)
SlabBlock and any other block types we explicitly add laterisSupportedOnTop(...) should return true if:
Do NOT automatically treat:
This mod is “Slabbed”, not “All partial blocks”.
If needed later, helper may accept a “support category” enum, but for now:
When implementing, add optional debug logging controlled by:
-Dslabbed.debugSupport=trueLogs must be:
[SLABBED_SUPPORT]No logs by default.
SlabSupport instead of duplicating slab checksIf more than 2 mixins need slightly different “support” semantics: