Slabs+
将任意两种不同的台阶类型合并为一个方块。
是否曾想过让橡木和石砖共存于同一个方块中?或者平滑石英与深色海晶砂岩?现在你可以了。Slabs+ 允许玩家自由堆叠任意两种台阶,开启全新的装饰可能性。

工作原理
只需手持一个台阶,右键点击另一个已放置的台阶即可。如果目标半块为空,两个台阶将合并为一个方块。
- 底部台阶已放置? 用另一个台阶右键点击上半部分 → 合并。
- 顶部台阶已放置? 用另一个台阶右键点击下半部分 → 合并。
- 点击侧面? 也可以,具体取决于你针对的是哪一半。
无需特殊物品、命令或图形界面(GUI)。只需像往常一样放置台阶,它们便会自然融合。
功能特性
- 支持所有 68+ 种原版台阶。 任意组合,任意配对。
- 超过 2,000 种可能的台阶组合。
- 真实的破坏机制。 每个半块独立破碎,具备正确的工具检测、硬度、效率、急迫性、挖掘疲劳、水下判定及地面检查。完全符合原版行为。
- 独立的掉落物。 破坏上半部分,下半部分保留;破坏下半部分,上半部分保留。每个半块都会掉落其对应的物品。
- 拾取方块(Pick-block)有效。 鼠标中键点击任意半块即可获取对应类型的台阶物品。
- 爆炸效果正常。 TNT、苦力怕及其他爆炸能正确摧毁合并后的台阶并掉落两件物品。
- 视觉粒子与音效。 每个半块播放各自材质的破碎声音,并生成匹配的粒子效果。
- 智能放置检测。 点击台阶侧面以放置在相邻单元格时?插件能区分意图——避免意外合并。
命令
| 命令 |
描述 |
/slab info |
显示你所查看方块的调试信息 |
/slab fix |
修复损坏的堆叠台阶 |
兼容性
- 服务端: Paper / Purpur(任何支持 Paper API 的分叉版本)
- Java 版本: 21+
- 无需客户端模组。 纯服务端魔法。
性能
专为繁忙服务器构建。堆叠台阶通过内部覆盖缓存按区块索引,因此即使世界中存在数千个合并方块,查询复杂度仍保持在 O(1)。已在 40+ 人规模的服务器上测试,未产生可测量的 TPS 影响。
底层实现原理
每个合并台阶使用不可见的屏障方块作为载体(具有完整碰撞箱和物理效果),并在其上方叠加两个 block_display(方块显示实体)——每个半块各一个。显示实体极其轻量且不需要 ticking(tick),因此性能开销微乎其微。
已知特性(有意为之)
- 地图渲染。 由于载体是屏障方块,合并台阶在纸质地图和在线地图插件(如 Dynmap、BlueMap 等)上显示为不可见。如果觉得困扰,可以铺设地毯遮盖。
- 活塞无法推动它们。 如同黑曜石一样。这是为了防止显示实体不同步而故意设计的。
- 梯子、火把、拉杆等可以附着在合并台阶上。 因为载体是一个完整的立方体,你可以将装饰性方块附着在任何合并台阶的侧面。这是一个令人愉快的涌现特性——可用于建造酷炫的建筑。


Slabs+
Combine any two different slab types into a single block.
Ever wanted oak and stone in the same block? Smooth quartz and dark prismarine? Now you can. Slabs+ lets players freely stack any two slab types together, opening up a whole new world of decorative possibilities.

How it works
Just hold a slab and right-click on another slab that's already placed. If the target half is free, the two slabs combine into one block.
- Bottom slab placed? Right-click the top half with another slab → combined.
- Top slab placed? Right-click the bottom half with another slab → combined.
- Click the side? Works too, depending on which half you target.
No special items. No commands. No GUIs. Just place slabs like you always have, and they merge naturally.
Features
- All 68+ vanilla slabs supported. Any combination, any pair.
- Over 2,000 possible slab combinations.
- Realistic breaking. Each half breaks independently with proper tool detection, hardness, efficiency, haste, mining fatigue, water, and ground checks. Exactly like vanilla.
- Independent drops. Break the top, the bottom stays. Break the bottom, the top stays. Each half drops its own item.
- Pick-block works. Middle-click any half to get the right slab type.
- Explosions work. TNT, creepers, and any other blast properly destroys combined slabs and drops both items.
- Visual particles and sounds. Each half plays its own material's break sound and spawns matching particles.
- Smart placement detection. Clicking the side of a slab to place into a neighbor cell? Plugin knows the difference — no accidental merges.
Commands
| Command |
Description |
/slab info |
Show debug info about the block you're looking at |
/slab fix |
Repair a corrupted stacked slab |
Compatibility
- Server: Paper / Purpur (any fork supporting Paper API)
- Java: 21+
- No client mods required. Pure server-side magic.
Performance
Built for busy servers. Stacked slabs are indexed per-chunk via an internal overlay cache, so lookups stay O(1) even with thousands of combined blocks across the world. Tested on 40+ player servers without measurable TPS impact.
How it works under the hood
Each combined slab uses an invisible barrier block as the carrier (full collision, full physics) with two block_display entities overlaid on top — one for each half. Display entities are extremely cheap and don't tick, so the performance cost is negligible.
Known quirks (intentional)
- Map rendering. Combined slabs appear invisible on paper maps and online mapping plugins (Dynmap, BlueMap, etc.) because the carrier is a barrier. Cover with carpets if it bothers you.
- Pistons don't move them. Like obsidian. This is intentional to prevent display desync.
- Ladders, torches, levers, etc. can attach to combined slabs. Because the carrier is a full cube, you can stick decorative blocks to the sides of any combined slab. This is a happy emergent feature — use it for cool builds.


评论 0
登录后参与评分
还没有评论,来抢沙发吧