Pizza573's Cornucopia ReBedrocked

Using Cornucopia to store and eat food.

Cornucopia

A goat horn that grows its own food. It only holds edible things. Right-click to take out and eat; it returns automatically after you finish.

Bedrock Edition Behavior Pack + Resource Pack · Current Version 1.0.72

The more it holds, the richer the food inside — the icon switches automatically based on how full it is. (0/4 · 1/4 · 2/4 · 3/4)


What's This

A food-only storage bag, implemented using the vanilla bundle component, so viewing its contents on hover and storing/taking items work just like a vanilla bundle. On top of that, several new layers have been added:

  • Right-click to take food into your hand and eat it directly; it returns automatically after you finish
  • A Blessed Goat Horn filled with food can transform into a Cornucopia
  • Every 20 minutes it produces a golden apple or enchanted golden apple on its own
  • Dropping a goat horn and a golden apple together summons a lightning blessing

Capacity

Capacity uses the vanilla bundle's weight system, with a maximum of 64 points

Right-Click to Take Out and Eat

Right-click the Cornucopia → the food goes into your main hand → you eat it → the Cornucopia returns to your hand, and the eaten item's count decreases by 1.

  • As long as you're holding it, it stays with you and won't be recalled
  • Once it's no longer in your main hand (switching slots / eating / moving it away / dropping it / dying), it is immediately recalled into the horn
  • After being recalled, there is a 1-second cooldown

It Chooses What You Eat

Right-clicking no longer** "mindlessly takes the first stack"** — instead, it chooses based on your status:

Priority Codition Selection Rule
Highest Health < 10 Enchanted golden apple → golden apple → the one that restores the most hunger
High Health ≥ 10,Hunger not full refers the one that "exactly fills you up"; if none, picks the one that restores the most
Low Health ≥ 10,Hunger already full Only eats things that can be eaten "even when full" (golden apple / enchanted golden apple / suspicious stew )

Blessed Goat Horn

Uses the vanilla goat horn texture and functionality, has uncommon rarity (yellow, and features the enchantment glint (that purple sheen).

  • Transforms when full: When the horn is filled with food (64/64), blowing it transforms it into a Cornucopia, with every piece of food inside preserved

Blessing Ritual

Drop a goat horn and a golden apple together on the ground (near the same block):

  1. A bolt of lightning strikes from the sky
  2. The goat horn transforms into a Blessed Goat Horn, and the golden apple is consumed as an offering

It Produces Every 20 Minutes

As long as there is a Cornucopia in your inventory (ones placed in chests don't count), a check is made every 20 minutes:

Chance Output
36% Golden apple ×1
4% Enchanted golden apple ×1
  • When there are multiple Cornucopias, only one random one takes effect
  • If there's room, it goes into the horn; if the horn is full, **it drops at your feet **(accompanied by yellow / purple particle effects: golden sparks for golden apples, purple rune particles for enchanted golden apples)

Manual Trigger (Cheats Required)

/scriptevent cornucopia:harvest              Rolls once by chance
/scriptevent cornucopia:harvest golden       Guarantees a golden apple
/scriptevent cornucopia:harvest enchanted    Guarantees an enchanted golden apple

How to Obtain

Method Description
Bonus Chest The bonus chest at a new world's spawn point 100% contains 1 Blessed Goat Horn
Blessing Ritual Goat horn + golden apple → lightning → Blessed Goat Horn
Blow to Transform Blessed Goat Horn filled with food, then blown → Cornucopia

Compatibility and Notes

  • Minimum version 1.21.110
  • The bonus chest loot table is a complete override of the vanilla file

丰饶之角

一只会自己长出食物的羊角。只装能吃的东西,右键取出进食,吃完自动归位。

基岩版行为包 + 资源包 · 当前版本 1.0.72

装得越多,角里的食物就越丰富 —— 图标会按占用量自动切换。(0/4 · 1/4 · 2/4 · 3/4)


这是什么

一个只装食物的收纳袋,用原版收纳袋的组件实现,所以悬浮查看内容物、存取方式都和原版收纳袋一致。在此之上加了几层新东西:

  • 右键把食物取到手上直接吃,吃完自动归位
  • 被祝福的山羊角装满食物后可以化作丰饶之角
  • 每隔 20 分钟自己产出金苹果或附魔金苹果
  • 山羊角与金苹果丢在一起会引来闪电祝福

容量

容量按原版收纳袋的重量制,上限 64 点

右键取出进食

右键丰饶之角 → 食物进主手 → 吃掉 → 丰饶之角回到手中,被吃掉的那一个数量 -1。

  • 拿在手上就一直留着,不会被收回
  • 主手一旦没拿着它(切格子 / 吃掉 / 挪走 / 丢弃 / 死亡),立刻收回角里
  • 收回后 1 秒冷却

吃什么由它挑

右键时不再是"无脑拿第一组",而是按你的状态挑:

优先级 条件 挑选规则
最高 生命值 < 10 附魔金苹果 → 金苹果 → 回复饥饿值最多的
高 生命值 ≥ 10,饥饿值未满 优先"恰好补满"的;没有就挑补得最多的
低 生命值 ≥ 10,饥饿值已满 只吃"饱着也能吃"的(金苹果 / 附魔金苹果 / 迷之炖菜)

被祝福的山羊角

用原版山羊角的贴图和功能,品质 uncommon(黄色),并且带附魔闪光(那层紫色光泽)。

  • 装满就转化:角里装满食物(64/64)时吹响,会化作丰饶之角,里面的食物一件不少地保留

祝福仪式

把山羊角和金苹果一起丢在地上(同一格方块附近):

  1. 天上落下一道闪电
  2. 山羊角转化为被祝福的山羊角,金苹果作为祭品消耗

每 20 分钟自己产出

只要背包里有丰饶之角(箱子里放着的不算),每 20 分钟判定一次:

概率 产出
36% 金苹果 ×1
4% 附魔金苹果 ×1
  • 有多个丰饶之角时只随机一支生效
  • 装得下就放进角里;角满了就掉在脚边(并伴随黄 / 紫粒子特效:金苹果是金色火花,附魔金苹果是紫色符文颗粒)

手动触发(需要开启作弊)

/scriptevent cornucopia:harvest              按概率判定一次
/scriptevent cornucopia:harvest golden       必定产出金苹果
/scriptevent cornucopia:harvest enchanted    必定产出附魔金苹果

获取途径

途径 说明
奖励箱 新世界出生点的奖励箱里 100% 有 1 个被祝福的山羊角
祝福仪式 山羊角 + 金苹果 → 闪电 → 被祝福的山羊角
吹响转化 被祝福的山羊角装满食物后吹响 → 丰饶之角

兼容性与注意事项

  • 最低版本 1.21.110
  • 奖励箱战利品表是对原版文件的完整覆盖

Pizza573's Cornucopia ReBedrocked Team

profile avatar
  • 2
    Projects
  • 821
    Downloads