Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_Kf0VM42G.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Yummy Steak - 墨喵 Minecraft 资源
Yummy Steak 图标

Yummy Steak

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0+mod
本资源为搬运资源,原资源地址: https://modrinth.com/mod/yummy-steak
资源信息

Minecraft 版本: 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: fabric forge neoforge quilt

标签: food magic

资源介绍

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.
    Crafting Recipe: 8 Steak + 1 Nether Start = 8 Filling Steak
  • Adds level 30 enchantment Yummy to never run out of steak (can only be applied on the Filling Steak).
    Enchantment: Yummy
  • 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 consumable data component (added in MC 1.21.2)
  • not consuming the item is handled via the use_remainder data 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:tick with the entity effect run_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).
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Cobweb Outline Thin

价格:0 墨喵币
下载量:0

查看详情
TFC Season Notifier

价格:0 墨喵币
下载量:0

查看详情
ExoLevels

价格:0 墨喵币
下载量:0

查看详情
More Creeps and Weirdos Revival

价格:0 墨喵币
下载量:0

查看详情