Create: Copycat Expansion
Create: Copycat Expansion 为 Create 的复制块(copycat blocks)添加了通常不支持的材质行为和视觉状态。0.1.17 版本侧重于地形外观、由 Create 的黄铜手控制的可选几何体、复制楼梯和斜坡上连接的泥土路径/耕地剖面,以及一组保守的静态方块实体外观。它还在新扩展的 Copycats+ 方块的外观数据加载后刷新其外观,并让雪覆盖的地面在复制门的两侧连续映射。
需求
- Minecraft
1.21.1
- NeoForge
21.1.249 或 21.1 系列更新版本
- Create
6.0.10
- Java
21
- Copycats+
3.0.8 为可选
首发特性
地形工具交互
用地形方块填充 Create 或 Copycats+ 的复制块,然后对已填充的复制块使用常规工具:
- 铲子会将泥土、草方块、粗泥、灰化土、菌丝或根系泥土转化为泥土路径外观。
- 锄头会将草方块、泥土或泥土路径外观转化为耕地外观。
- 锄击粗泥或根系泥土时,首先将外观转换为泥土,以匹配原版两步行为中的有用部分。
- 复制地形转换不需要包装器正上方有空气,因此像台阶这样的部分复制块可以坐落在转换后的方块之上。
- 原始消耗的方块仍作为返还物品。改变外观永远不会免费生成泥土路径或耕地物品。
你也可以直接从自然方块创造模式标签页中选取泥土路径和耕地,并将它们右键点击到空的复制块或空的多部件区域上。下面列出的其他静态外观已经直接使用其正常的方块物品。
泥土路径和耕地具有两种视觉几何模式:
- 复制形状 使用内部的全立方体载体,允许斜坡状、阶梯状、板条状和多部件复制块根据其自身几何体裁剪纹理。
- 材质剖面 使用原版高度为 15/16 的泥土路径或耕地模型。
直接应用泥土路径或耕地从材质剖面模式开始。工具转换保持完整的复制形状模式。在简单的全尺寸 Copycats+ 复制方块上,材质剖面还提供了 15/16 的轮廓、碰撞、支撑、面遮挡和环境阴影;这暴露了相邻面而不是透明间隙。Copycats+ 复制楼梯使用连接的 7/16 和 15/16 地形剖面,而复制斜坡和斜坡层使用连续的 15/16 缩放剖面。渲染、轮廓、碰撞、支撑和遮挡都遵循所选剖面。其他形状和多部件包装器继续拥有其物理几何体。
黄铜手状态控制
手持 Create 现有的黄铜手(任意手均可),并瞄准一个材质状态由本模组处理且已填充的复制块。遵循 Minecraft 正常的手部优先级:副手的黄铜手仅在主手和目标方块未消耗该点击时才生效。黄铜手是一个无原生右键动作的惰性 Create 组件,因此它提供了一种显式的编辑模式,无需按住使用的动画。不需要额外的选择物品。它的输入始终代表相同的更改类别:
- 右键点击 循环切换视觉状态,例如耕地的湿度、熔炉的光照、蜂蜜液位或书架图案。
- 潜行右键点击 更改几何体,例如在复制形状和原版 15/16 高度材质剖面之间切换泥土路径或耕地。
如果选定的材质在该类别中没有变化,黄铜手会报告此情况而不更改另一类别。
这两种黄铜手点击仅拦截由本模组处理的材质。普通方块和不支持的复制块材质保留其正常交互。在支持的已填充复制块上,手持黄铜手故意进入编辑模式;切换到空手或其他物品以操作功能性门、栅栏门、按钮或类似形状。Minecraft 的刷子完全保持原版。Create 的扳手也完全保持原生:右键点击移除并返还复制的材质,而潜行右键点击拆解复制块。
支持的状态组包括:
- 干燥和湿润的耕地
- 雪覆盖的草方块、灰化土和菌丝
- 重生锚充能等级
- 堆肥桶填充等级
- 点亮的熔炉、高炉和烟熏炉
- 空的蜜蜂巢穴或蜂箱以及满的蜜蜂巢穴或蜂箱
- 所有雕纹书架槽位图案
- 可疑的沙子和可疑的砾石挖掘阶段
- 幽匿催发体绽放
安全的静态外观
本模组允许这些通常被拒绝的方块作为仅限视觉的复制块材质:
- 熔炉、高炉和烟熏炉
- 蜜蜂巢穴和蜂箱
- 雕纹书架
- 可疑的沙子和可疑的砾石
- 幽匿催发体
这些仅为外观:它们不会获得容器、蜜蜂、战利品、烹饪或其他方块实体行为。携带存储组件数据的物品会被拒绝,包括在自动副手应用期间,因此复制块无法擦除或复制这些数据。
安装
将构建好的 JAR 文件放入 mods 文件夹,与 NeoForge 和 Create 并列放置。可以安装 Copycats+ 以获得其额外形状,但这并非必需。
从源码构建
使用 Java 21,然后运行:
.\gradlew.bat build
发布版 JAR 文件写入 build/libs/。
对于仅开发环境的加载检查:
.\gradlew.bat runData
.\gradlew.bat runData -PwithoutCopycats
有意推迟
雪层和粉雪不属于 0.1.17 的一部分。它们需要几何体和碰撞规则,而非简单的材质状态替换,因此更适合作为后续功能单独处理。
许可证
本模组源代码保留所有权利(All Rights Reserved)。NeoForged MDK 模板部分保留其原始的 MIT 许可证;请参阅 TEMPLATE_LICENSE.txt。
幕后花絮
想知道我是如何制作这个模组的吗?在 Patreon 上查看免费预览,其中包含截图,以及仅对付费会员可见的开发笔记和源文件。支持是可选的;模组保持免费。
Create: Copycat Expansion
Create: Copycat Expansion adds material behaviors and visual states that Create's copycat blocks do not normally support. Version 0.1.17 focuses on terrain appearances, selectable geometry controlled by Create's Brass Hand, connected Dirt Path/Farmland profiles on Copycat Stairs and Slopes, and a conservative set of static block-entity appearances. It also refreshes newly extended Copycats+ blocks after their appearance data arrives and maps snowy ground continuously across both halves of Copycat Doors.
Requirements
- Minecraft
1.21.1
- NeoForge
21.1.249 or newer in the 21.1 series
- Create
6.0.10
- Java
21
- Copycats+
3.0.8 is optional
First-release features
Terrain tool interactions
Fill a Create or Copycats+ copycat with a terrain block, then use the normal tool on the filled copycat:
- A shovel turns Dirt, Grass Block, Coarse Dirt, Podzol, Mycelium, or Rooted Dirt into a Dirt Path appearance.
- A hoe turns Grass Block, Dirt, or a Dirt Path appearance into a Farmland appearance.
- Hoeing Coarse Dirt or Rooted Dirt first changes the appearance to Dirt, matching the useful part of vanilla's two-step behavior.
- Copycat terrain transformations do not require air directly above the wrapper, so a partial copycat such as a Step can sit over the transformed block.
- The original consumed block remains the refund item. Changing an appearance never creates a free Dirt Path or Farmland item.
You can also pick Dirt Path and Farmland directly from the Natural Blocks creative tab and right-click them onto an empty copycat or empty multipart section. Other static appearances listed below already use their normal block items directly.
Dirt Path and Farmland have two visual geometry modes:
- Copycat shape uses an internal full-cube carrier, letting sloped, stepped, pane-like, and multipart copycats cut the texture to their own geometry.
- Material profile uses the vanilla 15/16-height Dirt Path or Farmland model.
Direct Dirt Path or Farmland application starts in Material profile mode. Tool transformations keep the full Copycat shape mode. On the simple full Copycats+ Copycat Block, the Material profile also supplies the 15/16 outline, collision, support, face occlusion, and ambient shade; this exposes neighbouring faces instead of a transparent gap. Copycats+ Copycat Stairs use a connected 7/16-and-15/16 terrain profile, while Copycat Slopes and Slope Layers use a continuous 15/16-scaled profile. Rendering, outline, collision, support, and occlusion all follow the selected profile. Other shaped and multipart wrappers continue to own their physical geometry.
Brass Hand state controls
Hold Create's existing Brass Hand in either hand and target a filled copycat whose material has states handled by this addon. Normal Minecraft hand priority applies: the offhand Brass Hand acts only when the main hand and targeted block did not already consume the click. The Brass Hand is an inert Create component with no native right-click action, so it provides an explicit edit mode without a held-use animation. No additional selector item is required. Its inputs always represent the same change category:
- Right-click cycles a visual state, such as Farmland moisture, furnace lighting, honey level, or bookshelf pattern.
- Sneak-right-click changes geometry, such as switching Dirt Path or Farmland between Copycat shape and the vanilla 15/16-height material profile.
If the selected material has no change in that category, the Brass Hand action reports that without changing the other category.
These two Brass Hand clicks are intercepted only for materials handled by this addon. Ordinary blocks and unsupported copycat materials retain their normal interactions. On a supported filled Copycat, holding the Brass Hand deliberately enters edit mode; switch to an empty hand or another item to operate a functional door, gate, button, or similar shape. Minecraft's Brush remains completely vanilla. Create's Wrench also remains completely native: right-click removes and refunds the copied material, while sneak-right-click dismantles the Copycat.
Supported state groups are:
- Dry and moist Farmland
- Snowy Grass Block, Podzol, and Mycelium
- Respawn Anchor charge level
- Composter fill level
- Lit Furnace, Blast Furnace, and Smoker
- Empty and full Bee Nest or Beehive
- All Chiseled Bookshelf slot patterns
- Suspicious Sand and Suspicious Gravel brushing stages
- Sculk Catalyst bloom
Safe static appearances
The addon allows these normally rejected blocks as visual-only copycat materials:
- Furnace, Blast Furnace, and Smoker
- Bee Nest and Beehive
- Chiseled Bookshelf
- Suspicious Sand and Suspicious Gravel
- Sculk Catalyst
These are appearances only: they do not gain inventories, bees, loot, cooking, or other block-entity behavior. Items carrying stored component data are refused, including during automatic offhand application, so copycats cannot erase or duplicate that data.
Installation
Place the built JAR in the mods folder alongside NeoForge and Create. Copycats+ may be installed for its additional shapes, but is not required.
Building from source
Use Java 21, then run:
.\gradlew.bat build
The release JAR is written to build/libs/.
For development-only loading checks:
.\gradlew.bat runData
.\gradlew.bat runData -PwithoutCopycats
Deliberately deferred
Snow layers and Powder Snow are not part of 0.1.17. They need geometry and collision rules rather than a simple material-state substitution, so they are better handled as a separate follow-up feature.
License
The addon source is All Rights Reserved. NeoForged MDK template portions retain their original MIT license; see TEMPLATE_LICENSE.txt.
Behind the scenes
Curious how I made the mod? See the free preview on Patreon, with screenshots and a look at the development notes and source files available to paid members. Supporting is optional; the mod stays free.
评论 0
登录后参与评分
还没有评论,来抢沙发吧