Yummy Steak
在牛排上撒上星尘,享用一顿饱腹的大餐。
内容
- 使用 8 个 Steak 和 1 个 Nether Star(位于中心)合成 Filling Steak,食用后获得持续一小时的食物饱和度效果。

- 添加等级 30 的附魔 Yummy,使牛排永远不会耗尽(仅可应用于 Filling Steak)。

- 不要食用腐坏的牛排,味道极其糟糕。
技术概念
除了游戏玩法功能外,目标是在不使用全局 tick 函数来检测玩家物品栏变化的情况下提供这些自定义特性。
- 食物饱和度效果通过
consumable数据组件 应用(于 MC 1.21.2 中添加) - 不消耗物品的处理通过
use_remainder数据组件 实现(于 MC 1.21.2 中添加) - 由于
use_remainder需要递归定义才能实现无限复用,因此使用了虚拟物品,随后将其替换为实际的食物物品 - 为了避免不断检查虚拟物品是否存在且需要替换,使用了 附魔效果组件
minecraft:tick配合 实体效果run_function(于 MC 1.21 中添加)来更改虚拟物品(仅在首次手持物品时执行一个 tick,从而更加节省资源)。
Yummy Steak
Sprinkle steak with stardust for a filling meal.
Content
- Craft Filling Steak with 8 Steak and 1 Nether Star (center), which applies the saturation effect for an hour when eaten.

- Adds level 30 enchantment Yummy to never run out of steak (can only be applied on the Filling Steak).

- Don't consume any spoiled steak, it tastes disgusting.
Technical Concept
Besides the gameplay functionality the goal was to provide these custom features without using the global tick function to check for changes in the player's inventory.
- saturation effect is applied via
consumabledata component (added in MC 1.21.2) - not consuming the item is handled via the
use_remainderdata component (added in MC 1.21.2) - as use_remainder would need a recursive definition to be infinitly reuseable, a dummy-item is used, which then is swapped out for the actual food item
- instead of constantly checking whether a dummy item exists and is in need of replacement, the enchantment effect component
minecraft:tickwith the entity effectrun_function(added in MC 1.21) is used to change the dummy item (only executed for one tick, when the item is first held, so more resource efficient).
版本游戏版本平台发布时间本站下载
正式版
1.1.0+mod
1.1.0
26.226.1.2 FabricForge 4 个月前 ·
0
26.2
26.1.2
26.1.1
26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5
Fabric
Forge
NeoForge
Quilt
4 个月前
0
下载 Yummy Steak
版本:1.1.0+mod
游戏版本:26.2、26.1.2、26.1.1 等
平台:Fabric、Forge、NeoForge、Quilt
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.1.0
26.226.1.2 数据包 4 个月前 ·
0
26.2
26.1.2
26.1.1
26.1, 1.21.11, 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.6, 1.21.5
数据包
4 个月前
0
下载 Yummy Steak
正式版
1.0.2+mod
1.0.2
1.21.101.21.9 FabricForge 1 年前 ·
0
1.21.10
1.21.9
1.21.8
1.21.7, 1.21.6, 1.21.5
Fabric
Forge
NeoForge
Quilt
1 年前
0
下载 Yummy Steak
版本:1.0.2+mod
游戏版本:1.21.10、1.21.9、1.21.8 等
平台:Fabric、Forge、NeoForge、Quilt
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.2
1.21.101.21.9 数据包 1 年前 ·
0
1.21.10
1.21.9
1.21.8
1.21.7, 1.21.6, 1.21.5
数据包
1 年前
0
下载 Yummy Steak
版本:1.0.2
游戏版本:1.21.10、1.21.9、1.21.8 等
平台:数据包
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.1+mod
1.0.1
1.21.71.21.6 FabricForge 1 年前 ·
0
1.21.7
1.21.6
1.21.5
Fabric
Forge
NeoForge
Quilt
1 年前
0
下载 Yummy Steak
版本:1.0.1+mod
游戏版本:1.21.7、1.21.6、1.21.5
平台:Fabric、Forge、NeoForge、Quilt
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
正式版
1.0.1
1.21.71.21.6 数据包 1 年前 ·
0
1.21.7
1.21.6
1.21.5
数据包
1 年前
0
下载 Yummy Steak
正式版
1.0.0
1.21.61.21.5 数据包 1 年前 ·
0
1.21.6
1.21.5
数据包
1 年前
0
下载 Yummy Steak
1.1.0+mod
正式版
2026-07-04
- chore: 为 MC 26.2 提升支持的包格式版本
- feat: 食用令人反感的牛排时添加负面效果
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
丰富的生态Ecologics
samedifferent
简单的原版生物群系更新,包含有趣的怪物、方块等更多内容!
食物世界生成
105
模组
更好的末地BetterEnd
quiqueck
为你的终界增添新生物群系、神秘仪式和全新生物
装饰生物
98
模组
群峦传说TerraFirmaCraft
eerussianguy
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
冒险玩法机制
97
模组
BetterNether
quiqueck
更多生物群系,更多生物,更多工具,为炽热的维度
装备生物
88
模组
神化Apotheosis
Shadows-of-Fire
所有本应存在的事物
冒险装备
58
模组
Ghost
Joo5h
为 Minecraft 添加了小幽灵 :D
魔法生物
49
评论 0
登录后参与评分
还没有评论,来抢沙发吧