Signed-off-by: Redeix <brayden.j.m.ford@gmail.com>
This commit is contained in:
Redeix 2025-12-11 17:37:22 -06:00 committed by GitHub
parent e85d833bce
commit 29f4d54af3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -444,7 +444,8 @@ function registerTFGFoodItems(event) {
event.create('tfg:food/oatmeal') event.create('tfg:food/oatmeal')
.translationKey('item.tfg.food.oatmeal') .translationKey('item.tfg.food.oatmeal')
.texture('tfg:item/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 // Instant Mac
event.create('tfg:food/raw_instant_mac') event.create('tfg:food/raw_instant_mac')
@ -453,7 +454,8 @@ function registerTFGFoodItems(event) {
.food(food => food.hunger(2).saturation(2) .food(food => food.hunger(2).saturation(2)
.eaten(ctx => { .eaten(ctx => {
ctx.player.give('create:cardboard') ctx.player.give('create:cardboard')
})); }))
.tag('tfc:foods');
event.create('tfg:food/cooked_instant_mac') event.create('tfg:food/cooked_instant_mac')
.translationKey('item.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) .food(food => food.hunger(4).saturation(4)
.eaten(ctx => { .eaten(ctx => {
ctx.player.give('create:cardboard') ctx.player.give('create:cardboard')
})); }))
.tag('tfc:foods');
//#region Spices //#region Spices