展示柜(复刻版)

- 这是 ContentSMP 服务器中展示柜方块的复刻版本。
-
使用展示柜,您可以将最多一组特定物品进行展示。
- 放入展示柜中的物品数量也会显示在物品旁边。
-
根据您查看的方块面,它可以向四个方向放置。
- 它只能由非空气或流体的方块支撑。
- 制作材料为:1 个物品展示框、1 个砖块和 1 个玻璃板。

- (我本想让展示柜使用物品栏渲染效果,但我不知道如何在世界渲染插件中实现这一点。事实上我认为这不可能。如果您知道方法,请通过自定义代码片段或其他方式告诉我。)
更新说明:
-
我刚刚发现包含展示柜的模组 ContentContent 现已公开,这意味着人们现在可以访问真正的展示柜。我也强烈推荐大家尝试一下官方版本。
-
如果您仍然想使用我的版本,那也没问题。毕竟,ContentContent 是适用于 1.19.2 的 Fabric 模组,而我的版本是适用于 Forge 1.20.1 的。
Display Cases (Recreation)

- This is a recreation of the Display Case block from the ContentSMP server.
-
With the Display Case, you can put up to a stack of one specific item on display.
- The quantity of the item you put into the Display Case will also show up next to the item.
-
It can be placed in all 4 directions, depending on the face of the block you're looking at.
- It can only be supported by blocks that aren't air or fluids.
- It's crafted with 1 Item Frame, 1 Brick, and 1 Glass Pane.

- (I would've made the Display Cases use the inventory render, but I have no idea how to do that with the world renderer plugin. I in fact don't think it's possible. PLEASE let me know if you know a way, or through a custom code snipit or something.)
UPDATE:
-
I have just found out the mod containing the display cases, ContentContent, is now public, meaning people now have access to the real display case. I'd highly recommend trying the official one out as well.
-
If you still want to use mine, then that's also fine. After all, ContentContent is a Fabric mod on 1.19.2, whereas mine is Forge 1.20.1.
下载 Display Case Recreation
下载 Display Case Recreation
下载 Display Case Recreation
下载 Display Case Recreation
下载 Display Case Recreation
-
重做了渲染流程,使其有了显著改善。
- 现在使用“遍历方块实体”的方式,而不是仅在你周围的小范围内检查每个方块。
- 该流程也得到了优化,通过变量实现,避免了为每个渲染方块重复设置各自值的冗余操作。
-
移除了调试切换功能。
-
修改了配方,改为给予 1 个而非 2 个。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧