UltimateChristmas / Feasts
Feasts
Festive food and drink with buffs. Each food is an edible item that applies its effects when eaten — sell them in the shop, drop them from bosses, or hand them out at events.
module id: feasts config: modules/feasts.yml
Commands
/christmas feast list the foods (players) /christmas feast give <food> <player> [amount] hand them out (admin)
Player permission: ultimatechristmas.feasts.
Defining a food
particles-on-eat: true
foods:
hot_cocoa:
material: HONEY_BOTTLE # should be an edible material
name: "&6&lHot Cocoa"
lore: ["&7Warms you to the core."]
effects: ["FIRE_RESISTANCE:2400:0", "REGENERATION:100:0"]
restore-food: 4
cooldown: 60
message: "&6You sip the hot cocoa and feel cosy."
roast_dinner:
material: COOKED_BEEF
name: "&6&lChristmas Roast"
lore: ["&7A proper festive feast.", "&7Fills you right up."]
effects: ["REGENERATION:200:1", "SATURATION:200:2"]
restore-food: 10
heal-hearts: 6
cooldown: 300
message: "&6You tuck into the Christmas roast. Delicious!"
| Key | Meaning |
|---|---|
material | The item; pick an edible material so eating works naturally. |
effects | Potion effects as "TYPE:ticks:amplifier". |
restore-food | Hunger points restored. |
heal-hearts | Hearts healed directly. |
cooldown | Seconds before the same player can eat this food again. |
message | Sent to the player on eating. |
The default menu
| Food | Effects |
|---|---|
| Hot Cocoa | Fire Resistance 2 min, Regeneration — cosy survival utility |
| Gingerbread Man | Speed 30 s — "run, run, as fast as you can" |
| Candy Cane | Speed II + Jump Boost — a sugar rush |
| Christmas Roast | Regeneration II, Saturation, +10 food, +6 hearts — the big one, 5 min cooldown |
| Mulled Wine | Fire Resistance 3 min, Resistance — for the grown-up elves |