Hero Statue
添加了一个名为 Hero Statue 的新方块,它可以放置物品,并可通过红石进行摆姿。
重要提示
如果您的电脑性能较慢、放置了大量雕像,或者正在使用资源占用较高的光影包,您可能需要将雕像渲染类型配置更改为 Basic。请参阅 Config。
这将使用方块模型来渲染雕像,速度要快得多,但会禁用视觉摆姿功能。
如果您使用光影,请阅读 已知问题:光影渲染管线,并查看下方的 已测试光影包。


特性
Hero Statue
- 持有物品
- 手持物品时与雕像交互,即可给雕像分配一个展示用的物品。
- 可摆姿
- 您可以通过红石对雕像进行摆姿。
- 这可以通过一条游戏规则进行配置,默认情况下为 开启。 (
hero-statue$allowRedstoneChangeStatuePose)
- 关闭后,雕像会记住上一次设置的姿势。
- 如果启用了该游戏规则,您可以空手或与已有物品的雕像交互来进行摆姿。
- 这可以通过一条游戏规则进行配置,默认情况下为 关闭。 (
hero-statue$allowPlayerChangeStatuePose)
- 比较器会输出设置当前姿势所需的红石信号强度。
- 彩虹
和独角兽
- 您可以给雕像一个名为
jeb_ 的物品,或者在配置中开启 RAINBOW MODE(彩虹模式),使雕像的眼睛循环显示彩虹色。
- 您也可以在使用创造模式时,通过调试棒或命令设置
hero_statue_rainbow 方块状态来启用此功能。
- 这仅在
Default(默认)渲染类型且未使用光影时生效。
- ¿sᴉɥʇ pɐǝɹ noʎ uɐɔ
- 您可以给雕像一个名为
Dinnerbone、Grumm、legotaylor 或 dannnytaylor 的物品,使雕像倒置渲染。
- 这仅在
Default(默认)和 Vanilla(原版)渲染类型下生效。
配置
您可以使用 ModMenu 编辑配置,或使用我们的 Open Config(打开配置)按键绑定(默认为 Home)。
如果您使用 Open Config 按键绑定,则需要处于世界之中。
已知问题
Shader Rendering Pipelines (光影渲染管线)
Iris 在渲染光影包时会覆盖核心着色器管线,并且没有提供任何关于如何添加新覆盖项的文档。
作为变通方案,我们复制了 ENTITY_CUTOUT 和 ENTITY_EYES 管线覆盖项。我们选择这些管线是因为它们能提供与我们自定义管线类似的效果,但这并非完全一致(1:1),当激活光影包时,某些功能(如 jeb_ 彩蛋)将无法渲染。此功能表现与 Vanilla(原版)渲染类型相匹配。参见 Hero-Statue#1。
在未使用任何光影包的情况下,渲染应按预期工作。
开发者备注
您可能会在某些光影包中遇到 Z-fighting(Z轴冲突/闪烁)现象。
如果需要,您可以使用配置禁用我们的眼睛图层。请参阅 Config。
已测试的光影包
¹ 除了上述提到的渲染管线变通方案外。
² 你可以在光影包设置中的“样式”(Style)下禁用顶点吸附。
基础渲染类型姿势
基础渲染类型不会渲染姿势、彩虹彩蛋以及倒置的彩蛋。
我希望能在此后更新此功能,为基本渲染类型添加姿势支持,但由于方块模型元素的旋转方式复杂,实现起来远比说起来困难。
技术细节
有关技术详情,请参阅 此处。

Hero Statue
Adds a new block called the Hero Statue, which can hold an item, and be posed using redstone.
Important
If you have a slower computer, have a lot of statues placed down, or are using a resource intensive shader pack, you may want to change your statue render type config to Basic. See Config.
This renders statues using block models, which is a lot faster, however it does disable visual posing.
If you use Shaders, read Known Issues: Shader Rendering Pipelines, and check Tested Shader Packs below.


Features
Hero Statue
- Holds an item
- You can give the statue an item to display by interacting with it whilst holding the item.
- Posable
- You can pose the statue using redstone.
- This is configurable via a gamerule, which is ON by default. (
hero-statue$allowRedstoneChangeStatuePose)
- The statue remembers the last set pose when turned off.
- You can pose the statue by interacting with empty hands or when the statue already has an item, if the gamerule is active.
- This is configurable via a gamerule, which is OFF by default. (
hero-statue$allowPlayerChangeStatuePose)
- Comparators output the level of redstone required to set the current pose.
- rainbows
and unicorns
- You can make the statues eyes cycle through the rainbow by giving the statue an item named
jeb_, or by turning the RAINBOW MODE config on.
- You can also enable this in creative, by setting the
hero_statue_rainbow blockstate with a debug stick or with commands.
- This only works with the
Default render type, and if you are not using shaders.
- ¿sᴉɥʇ pɐǝɹ noʎ uɐɔ
- You can make the statue render upside down by giving the statue an item named
Dinnerbone, Grumm, legotaylor, or dannnytaylor.
- This only works with the
Default and Vanilla render types.
Config
You can edit the config by using ModMenu, or our Open Config keybinding (defaulted to Home).
If you are using the Open Config keybinding, you will need to be in a world.
Known Issues
Shader Rendering Pipelines
Iris overrides core shader pipelines when rendering shader packs, and doesn't provide any documentation for how to add new overrides.
As a workaround, we've copied the ENTITY_CUTOUT and ENTITY_EYES pipeline overrides. We picked these pipelines as they provide a similar effect to our custom pipelines, however it's not 1:1 and some features such as the jeb_ easter egg won't be rendered when a shader pack is active. This functionality matches the Vanilla render type. See Hero-Statue#1.
Rendering should work as intended when no shader packs are in use.
Developer's Note
You may encounter z-fighting with some shader packs.
You can disable our eyes layer using our config if desired. See Config.
Tested Shader Packs
| Shader Pack |
|
| Complementary Unbound/Reimagined |
No visual issues found.¹ |
| Euphoria Patches |
No visual issues found.¹ |
| BSL Shaders |
No visual issues found.¹ |
| Rudimentary |
Our eyes layer is offset when Vertex Snapping is enabled² and the current render type is set to default or vanilla. This does cause flickering when the player moves. Interestingly, this shader also renders the eyes layer over the player's hand. |
| VECTOR |
No visual issues found.¹ |
| Super Duper Vanilla |
Resource Intensive when rendering using Default/Vanilla render types, otherwise no visual issues found.¹ |
¹ Except for the above-mentioned render pipeline workaround.
² You can disable Vertex Snapping in the shader pack settings, under Style.
Basic Render Type Poses
The basic render type doesn't render the poses, rainbow, and upside down easter eggs.
I would love to update this in the future to add the poses to the basic render type, however this is easier said than done due to how block model elements rotate.
Technical
For technical details see here.

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