ShapeGen
特性
- 为游戏中的每种 slab(台阶)方块添加 panel(垂直板)、step(阶梯)和 pole(柱子),包括其他模组添加的 slab,无需额外插件
- 为任意方块生成 slab 和 stairs(楼梯)(默认关闭)
- 所有生成的形状在视觉和功能上都与原方块完全一致,并在创造模式标签页中紧邻原方块放置
- 较小的形状在组合放置时会合并成较大的形状
- 无形状合成配方可在 slab ↔ panel 和 step ↔ pole 之间转换
- 使用 3 个 slab 合成 step 和 pole 的配方
- 所有形状的切石机配方
- 改进的切石机 - 可切割木材及带有 slab 或 stairs 的任何其他方块,在同一方块的不同变体间转换,将加工后的方块还原,并回收 stairs、doors、trapdoors 和 fences
- 重新平衡的方块配方 - stairs、buttons、pressure plates、trapdoors、doors、fences、fence gates 和 signs 的合成与切石机产出量与其消耗的材料量相匹配
- 缺失方块恢复 - 在禁用 shapes 后加载世界时,会将缺失的方块替换为最接近的可用形状,而不是直接移除
配置
ShapeGen 使用 Fzzy Config 进行配置。该配置不同步客户端与服务器。在多人游戏中,请确保所有玩家拥有相同的配置,否则可能无法连接。将服务器的 config/shapegen/config.toml 复制到每个客户端。
形状配置
您可以全局或针对每种 slab 开启或关闭 panels、steps 和 poles。完整方块的 slab 和 stairs 生成功能默认关闭——启用 Generate Slabs 或 Generate Stairs,然后在方块列表中选择方块。两个列表都提供针对每种形状的“全部开启”和“全部关闭”按钮。请注意,具有特殊属性的方块生成的 stairs 和 slabs 可能在外观或功能上不正确。
改进的切石机
切石机获得了源自游戏自身合成、切石机和熔炼配方的新配方,因此也涵盖模组方块:
- 木材切割 - 原木、木块、菌核和菌索(去皮或未去皮)以及木板可以切割成由该木材类型制成的每种木质方块。木块可以切割成原木,任何方块都可以切割成其对应的去皮版本
- 切石机家族中的每种方块都可以切割成该家族的其他方块及其 slabs、stairs、walls、buttons 和 pressure plates,例如将抛光安山岩切回安山岩
- 加工后的方块可以还原 - 烧制后的方块还原为其烧制前的状态(石头还原为圆石,平滑石头还原为石头,深板岩还原为圆石深板岩),苔石方块还原为其普通变体
- 铜块可以切割成铜锭、链子、门、陷阱门和避雷针
- 回收 - stairs、slabs、walls、doors、trapdoors、fences 和 fence gates 可以切割成更小尺寸的同材质方块,stairs 也可还原为完整方块
产出量遵循合成配方,因此切石机永远不会给出比合成更多的材料。当配方需要多个输入物品时,它将使用下面描述的 ShapeGen 扩展切石机配方格式。当此选项禁用时,只有 panels、steps 和 poles 获得切石机配方,这些配方复制自现有的 slab 切石机配方。
ShapeGen 通过新增 shapegen:input_count 字段扩展了切石机配方格式,该字段定义了获取输出所需的输入物品数量。这意味着您可以在安装 ShapeGen 的情况下,通过数据包在自己的配方中使用此功能,只需在配方 JSON 中添加 "shapegen:input_count": 3 即可。当启用此选项或“重新平衡的方块配方”时,扩展格式生效。切石机会在配方工具提示中显示配方所需的输入物品数量,并在输入槽中物品不足时将配方标红。JEI、EMI 和 RRV(26.1 及更高版本)会在输入槽中显示所需数量。
重新平衡的方块配方
重新平衡那些数学上不合理的合成配方,例如 6 个木板合成 4 个 stairs,或 1 个木板合成 1 个 button。产出量基于以下数值,以完整方块为单位(例如木板):
| 方块 | 数值 | 合成配方 |
|---|---|---|
| Slab | 1/2 | 3 个方块 → 6 个 slabs |
| Stairs | 3/4 | 6 个方块 → 8 个 stairs |
| Wall | 1 | 6 个方块 → 6 个 walls |
| Button | 1/4 | 1 个方块 → 4 个 buttons |
| Pressure plate | 1/2 | 2 个方块 → 4 个 pressure plates |
| Trapdoor | 1/2 | 6 个方块 → 12 个 trapdoors |
| Door | 1 | 6 个方块 → 6 个 doors |
| Fence | 1 | 4 个方块 + 2 根木棍 → 5 个 fences |
| Fence gate | 1 | 2 个方块 + 4 根木棍 → 4 个 fence gates |
| Sign | 1 | 6 个方块 + 1 根木棍 → 6 个 signs |
仅更改由完整方块制作的配方,因此金属门、陷阱门和压力板保留原版配方。当“改进的切石机”开启时,切石机配方会与合成配方保持一致,从而匹配上述转换率。
缺失方块恢复
加载包含已禁用方块形状的世界时,会永久将这些方块和物品替换为最接近的可用形状,尽可能保留朝向、半阶和水浸状态(例如 panel 变成其对应的 slab,step 变成 pole 或 slab,生成的 slab 变成生成的 stairs 或原方块)。如果没有可用的替换项,它们将变成空气。在现有世界中启用新的方块形状是安全的。
资源包
由于改进的切石机可以切割任何方块,而不仅仅是石类方块,因此切石机已被重命名为 "Blockcutter"。可以通过禁用 "Blockcutter" 资源包来关闭此更改。如果需要,可以通过启用 "Vertical slabs" 资源包将 panels 重命名为 vertical slabs。
ShapeGen
Features
- Adds a panel (vertical slab), a step and a pole for every slab block in the game, including slabs added by other mods, no addons required
- Add slabs and stairs for any block (off by default)
- All generated shapes are visually and functionally identical to the original block, and are placed next to it in creative tabs
- Smaller shapes merge into larger ones when placed together
- Shapeless crafting recipes convert between slab ↔ panel and step ↔ pole
- Crafting recipes for steps and poles using 3 slabs
- Stonecutter recipes for all shapes
- Improved stonecutter - cuts wood and every other block with slabs or stairs, converts between variants of the same block, cuts processed blocks back down and recycles stairs, doors, trapdoors and fences
- Rebalanced block recipes - crafting and stonecutter amounts for stairs, buttons, pressure plates, trapdoors, doors, fences, fence gates and signs match the amount of material they use
- Missing block recovery - loading a world after disabling shapes replaces the missing blocks with the closest available shape instead of removing it
Configuration
ShapeGen uses Fzzy Config for configuration. It is not synced between client and server. In multiplayer, ensure all players have the same configuration, or they may not be able to connect. Copy the server's config/shapegen/config.toml to each client.
Shape configuration
You can turn panels, steps and poles on or off, both globally and for each slab. Slab and stairs generation for full blocks is off by default - turn on Generate Slabs or Generate Stairs, then pick blocks in the block list. Both lists have "All on" and "All off" buttons for each shape. Note that generated stairs and slabs for blocks with special properties may not look or function correctly.
Improved stonecutter
The stonecutter gets recipes derived from the game's own crafting, stonecutter and smelting recipes, so they also cover modded blocks:
- Woodcutting - logs, wood, stems and hyphae (stripped or not) and planks can be cut into every wooden block made from that wood type. Wood can be cut into logs, and anything can be cut into its stripped counterpart
- Every block of a stonecutter family can be cut into every other block of that family and their slabs, stairs, walls, buttons and pressure plates, for example polished andesite back into andesite
- Processed blocks can be cut back down - smelted blocks into what they were smelted from (stone into cobblestone, smooth stone into stone, deepslate into cobbled deepslate) and mossy blocks into their regular variant
- Copper blocks can be cut into copper bars, chains, doors, trapdoors and lightning rods
- Recycling - stairs, slabs, walls, doors, trapdoors, fences and fence gates can be cut into smaller blocks of the same material, and stairs back into full blocks
Amounts follow the crafting recipes, so the stonecutter never gives more material than crafting would. When a recipe needs more than one input item, it uses ShapeGen's extended stonecutter recipe format described below. When this option is disabled, only panels, steps and poles get stonecutter recipes, copied from the existing slab stonecutter recipes.
ShapeGen extends the stonecutter recipe format with a new shapegen:input_count field that defines the amount of the input item required to obtain the output. This means you can use this feature in your own recipes via data packs while ShapeGen is installed, simply by adding "shapegen:input_count": 3 to your recipe JSON, for example. The extended format is enabled while either this option or "Rebalanced block recipes" is enabled. The stonecutter shows how many input items a recipe needs in the recipe tooltip, and highlights recipes in red when the input slot doesn't hold enough. JEI, EMI and RRV (26.1 and newer) show the required amount in the input slots.
Rebalanced block recipes
Rebalances crafting recipes that don't make sense mathematically, like 6 planks making 4 stairs and one plank making a single button, for example. Amounts are based on the following values, measured in full blocks (for example planks):
| Block | Value | Crafting recipe |
|---|---|---|
| Slab | 1/2 | 3 blocks → 6 slabs |
| Stairs | 3/4 | 6 blocks → 8 stairs |
| Wall | 1 | 6 blocks → 6 walls |
| Button | 1/4 | 1 block → 4 buttons |
| Pressure plate | 1/2 | 2 blocks → 4 pressure plates |
| Trapdoor | 1/2 | 6 blocks → 12 trapdoors |
| Door | 1 | 6 blocks → 6 doors |
| Fence | 1 | 4 blocks + 2 sticks → 5 fences |
| Fence gate | 1 | 2 blocks + 4 sticks → 4 fence gates |
| Sign | 1 | 6 blocks + 1 stick → 6 signs |
Only recipes made from full blocks are changed, so metal doors, trapdoors and pressure plates keep their vanilla recipes. When "Improved stonecutter" is on, stonecutter recipes are made consistent with crafting recipes, so they match the conversion rates above.
Missing block recovery
Loading a world that contains disabled block shapes permanently replaces those blocks and items with the closest available shape, keeping facing, half and waterlogging where possible (for example a panel becomes its slab, a step becomes a pole or a slab, and a generated slab becomes the generated stairs or the original block). If no replacement exists, they become air. Enabling new block shapes in existing worlds is safe.
Resource packs
The stonecutter has been renamed to "Blockcutter" since the improved stonecutter can cut any block, not just stone-type blocks. This can be turned off by disabling the "Blockcutter" resource pack. Panels can be renamed to vertical slabs if desired by enabling the "Vertical slabs" resource pack.
下载 ShapeGen
下载 ShapeGen
下载 ShapeGen
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShapeGen
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShapeGen
下载 ShapeGen
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShapeGen
下载 ShapeGen
下载 ShapeGen
下载 ShapeGen
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 初始版本发布。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧