yumy popped chorus fruit (needs a cooking recipe)

This commit is contained in:
Pyritie 2025-06-06 01:22:48 +01:00
parent 9579a7b52d
commit 07f984c288
5 changed files with 14 additions and 6 deletions

View file

@ -136,6 +136,7 @@ ServerEvents.highPriorityData(event => {
* Срабатывает до инициализации рецептов, но после тегов. * Срабатывает до инициализации рецептов, но после тегов.
*/ */
TFCEvents.data(event => { TFCEvents.data(event => {
registerTFCDataForAdAstra(event);
registerTFCDataForArborFirmaCraft(event) registerTFCDataForArborFirmaCraft(event)
registerTFCDataForChalk(event); registerTFCDataForChalk(event);
registerTFCDataForGTCEU(event) registerTFCDataForGTCEU(event)

View file

@ -29,11 +29,13 @@ const registerMinecraftItemTags = (event) => {
event.add('tfc:foods', 'minecraft:brown_mushroom') event.add('tfc:foods', 'minecraft:brown_mushroom')
event.add('tfc:foods', 'minecraft:glow_berries') event.add('tfc:foods', 'minecraft:glow_berries')
event.add('tfc:foods', 'minecraft:chorus_fruit') event.add('tfc:foods', 'minecraft:chorus_fruit')
event.add('tfc:foods', 'minecraft:popped_chorus_fruit')
event.add('tfc:foods/vegetables', 'minecraft:red_mushroom') event.add('tfc:foods/vegetables', 'minecraft:red_mushroom')
event.add('tfc:foods/vegetables', 'minecraft:brown_mushroom') event.add('tfc:foods/vegetables', 'minecraft:brown_mushroom')
event.add('tfc:foods/fruits', 'minecraft:glow_berries') event.add('tfc:foods/fruits', 'minecraft:glow_berries')
event.add('tfc:foods/fruits', 'minecraft:chorus_fruit') event.add('tfc:foods/fruits', 'minecraft:chorus_fruit')
event.add('tfc:foods/fruits', 'minecraft:popped_chorus_fruit')
event.add('beneath:usable_in_juicer', 'minecraft:glow_berries') event.add('beneath:usable_in_juicer', 'minecraft:glow_berries')
event.add('beneath:usable_in_juicer', 'minecraft:chorus_fruit') event.add('beneath:usable_in_juicer', 'minecraft:chorus_fruit')
@ -44,11 +46,13 @@ const registerMinecraftItemTags = (event) => {
event.add('tfc:foods/usable_in_soup', 'minecraft:brown_mushroom') event.add('tfc:foods/usable_in_soup', 'minecraft:brown_mushroom')
event.add('tfc:foods/usable_in_soup', 'minecraft:glow_berries') event.add('tfc:foods/usable_in_soup', 'minecraft:glow_berries')
event.add('tfc:foods/usable_in_soup', 'minecraft:chorus_fruit') event.add('tfc:foods/usable_in_soup', 'minecraft:chorus_fruit')
event.add('tfc:foods/usable_in_soup', 'minecraft:popped_chorus_fruit')
event.add('tfc:foods/usable_in_salad', 'minecraft:red_mushroom') event.add('tfc:foods/usable_in_salad', 'minecraft:red_mushroom')
event.add('tfc:foods/usable_in_salad', 'minecraft:brown_mushroom') event.add('tfc:foods/usable_in_salad', 'minecraft:brown_mushroom')
event.add('tfc:foods/usable_in_salad', 'minecraft:glow_berries') event.add('tfc:foods/usable_in_salad', 'minecraft:glow_berries')
event.add('tfc:foods/usable_in_salad', 'minecraft:chorus_fruit') event.add('tfc:foods/usable_in_salad', 'minecraft:chorus_fruit')
event.add('tfc:foods/usable_in_salad', 'minecraft:popped_chorus_fruit')
event.add('tfc:rock/raw', 'minecraft:deepslate') event.add('tfc:rock/raw', 'minecraft:deepslate')
event.add('tfc:rock/raw', 'minecraft:blackstone') event.add('tfc:rock/raw', 'minecraft:blackstone')

View file

@ -251,10 +251,15 @@ const registerTFCFoodData = (event) => {
event.foodItem('minecraft:chorus_fruit', food => { event.foodItem('minecraft:chorus_fruit', food => {
food.hunger(1.5) food.hunger(1.5)
food.fruit(1) food.fruit(2)
food.water(5) food.water(5)
}) })
event.foodItem('minecraft:popped_chorus_fruit', food => {
food.hunger(2)
food.fruit(3)
food.decayModifier(0.5)
})
event.foodItem('minecraft:red_mushroom', food => { event.foodItem('minecraft:red_mushroom', food => {
food.hunger(1.5) food.hunger(1.5)

View file

@ -279,10 +279,9 @@ const registerTFGBlockTags = (event) => {
// #region Space blocks (TODO: undo these when merging space into dev!) // #region Space blocks (TODO: undo these when merging space into dev!)
event.add('c:hidden_from_recipe_viewers', 'tfg:lunar_roots') event.add('tfc:plants', 'tfg:lunar_roots')
event.add('c:hidden_from_recipe_viewers', 'tfg:lunar_sprouts') event.add('tfc:plants', 'tfg:lunar_sprouts')
event.add('c:hidden_from_recipe_viewers', 'tfg:lunar_chorus_plant') event.add('tfc:plants', 'tfg:lunar_chorus_flower')
event.add('c:hidden_from_recipe_viewers', 'tfg:lunar_chorus_flower')
// #endregion // #endregion
} }

View file

@ -617,7 +617,6 @@ global.MINECRAFT_DISABLED_ITEMS = [
'minecraft:honey_bottle', 'minecraft:honey_bottle',
'minecraft:honeycomb_block', 'minecraft:honeycomb_block',
'minecraft:honey_block', 'minecraft:honey_block',
'minecraft:popped_chorus_fruit',
'minecraft:purpur_pillar', 'minecraft:purpur_pillar',
'minecraft:purpur_block', 'minecraft:purpur_block',
'minecraft:purpur_stairs', 'minecraft:purpur_stairs',