From 29f4d54af3d8dbc87951fea8233f9a5601fbecda Mon Sep 17 00:00:00 2001 From: Redeix Date: Thu, 11 Dec 2025 17:37:22 -0600 Subject: [PATCH] Tags (#2385) Signed-off-by: Redeix --- kubejs/startup_scripts/tfg/items.food.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/kubejs/startup_scripts/tfg/items.food.js b/kubejs/startup_scripts/tfg/items.food.js index e07c5fdfc..3c9cdbe03 100644 --- a/kubejs/startup_scripts/tfg/items.food.js +++ b/kubejs/startup_scripts/tfg/items.food.js @@ -444,7 +444,8 @@ function registerTFGFoodItems(event) { event.create('tfg:food/oatmeal') .translationKey('item.tfg.food.oatmeal') .texture('tfg:item/food/oatmeal') - .food(food => food.hunger(8).saturation(8)); + .food(food => food.hunger(8).saturation(8)) + .tag('tfc:foods'); // Instant Mac event.create('tfg:food/raw_instant_mac') @@ -453,7 +454,8 @@ function registerTFGFoodItems(event) { .food(food => food.hunger(2).saturation(2) .eaten(ctx => { ctx.player.give('create:cardboard') - })); + })) + .tag('tfc:foods'); event.create('tfg:food/cooked_instant_mac') .translationKey('item.tfg.food.cooked_instant_mac') @@ -461,7 +463,8 @@ function registerTFGFoodItems(event) { .food(food => food.hunger(4).saturation(4) .eaten(ctx => { ctx.player.give('create:cardboard') - })); + })) + .tag('tfc:foods'); //#region Spices