idk some recipes (#1635)

Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
This commit is contained in:
GameStar 2025-08-15 22:20:48 -05:00 committed by GitHub
parent 3359855923
commit 3521adc4de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 164 additions and 2 deletions

View file

@ -51,6 +51,7 @@ ServerEvents.tags('item', event => {
registerTFGItemTags(event)
registerTFCLunchboxItemTags(event)
registerVintageImprovementsItemTags(event)
registerWABItemTags(event)
})
/**
@ -85,6 +86,7 @@ ServerEvents.tags('block', event => {
registerTFCBlockTags(event)
registerTFGBlockTags(event)
registerVintageImprovementsBlockTags(event)
registerWABBlockTags(event)
})
/**
@ -160,6 +162,7 @@ TFCEvents.data(event => {
registerTFCDataForTFCLunchbox(event)
registerTFCDataForTFG(event)
registerTFCDataForWaterFlasks(event)
registerWABFoodData(event)
})
/**
@ -263,6 +266,7 @@ ServerEvents.recipes(event => {
registerTreeTapRecipes(event)
registerVintageImprovementsRecipes(event)
registerWaterFlasksRecipes(event)
registerWABRecipes(event)
})
TaCZServerEvents.gunIndexLoad((event) => {

View file

@ -0,0 +1,55 @@
// priority: 0
"use strict";
/**
* @param {Internal.RecipesEventJS_} event
*/
const registerWABRecipes = (event) => {
event.remove({ mod: 'wan_ancient_beasts'})
event.shapeless('wan_ancient_beasts:quick_sand_bucket',
[
'#tfc:dirt',
'#tfc:mud',
'tfc:sand/yellow',
'minecraft:bucket'
])
event.shapeless('wan_ancient_beasts:quick_red_sand_bucket',
[
'#tfc:dirt',
'#tfc:mud',
'minecraft:red_sand',
'minecraft:bucket'
])
event.recipes.tfc.heating('wan_ancient_beasts:toxlacanth', 200)
.resultItem(TFC.isp.of('wan_ancient_beasts:cooked_toxlacanth').copyFood())
event.recipes.gtceu.macerator('wan_ancient_beasts:skull_crush')
.itemInputs('#wan_ancient_beasts:ancient_skull')
.itemOutputs('32x #forge:dusts/bone')
.duration(400)
.EUt(30)
}
const registerWABFoodData = (event) => {
event.foodItem('wan_ancient_beasts:toxlacanth', food => {
food.hunger(2)
food.protein(1.5)
food.decayModifier(3)
})
event.foodItem('wan_ancient_beasts:cooked_toxlacanth', food => {
food.hunger(4)
food.saturation(2)
food.protein(2.5)
food.decayModifier(2.25)
})
}

View file

@ -0,0 +1,28 @@
"use strict";
const registerWABBlockTags = (event) => {
global.WAB_DISABLED_BLOCKS.forEach(block => {
event.removeAllTagsFrom(block)
event.add('c:hidden_from_recipe_viewers', block)
})
}
const registerWABItemTags = (event) => {
global.WAB_DISABLED_ITEMS.forEach(item => {
event.removeAllTagsFrom(item)
event.add('c:hidden_from_recipe_viewers', item)
})
event.removeAll('wan_ancient_beasts:paleontologist_common')
event.removeAll('wan_ancient_beasts:paleontologist_rare')
event.removeAll('wan_ancient_beasts:paleontologist_items')
event.removeAll('wan_ancient_beasts:eater_food')
event.add('tfc:foods/raw_meats', 'wan_ancient_beasts:toxlacanth')
event.add('firmalife:foods/raw_fish', 'wan_ancient_beasts:toxlacanth')
event.add('tfc:foods/meats', 'wan_ancient_beasts:toxlacanth')
event.add('tfc:foods/cooked_meats', 'wan_ancient_beasts:cooked_toxlacanth')
event.add('firmalife:foods/cooked_fish', 'wan_ancient_beasts:cooked_toxlacanth')
event.add('tfc:food/meats', 'wan_ancient_beasts:cooked_toxlacanth')
}

View file

@ -917,8 +917,16 @@ global.TFC_MEAT_RECIPE_COMPONENTS = [
{ input: 'betterend:chorus_mushroom_product', output: 'betterend:chorus_mushroom_cooked', name: 'chorus_mushroom' },
{ input: 'betterend:shadow_berry_product', output: 'betterend:shadow_berry_cooked', name: 'shadow_berry' },
{ input: 'betterend:cave_pumpkin_pie_raw', output: 'betterend:cave_pumpkin_pie', name: 'cave_pumpkin_pie' },
{ input: 'tfg:food/raw_glacian_mutton', output: 'tfg:food/cooked_glacian_mutton', name: 'cooked_glacian_mutton' },
{ input: 'tfg:food/raw_sniffer_beef', output: 'tfg:food/cooked_sniffer_beef', name: 'cooked_sniffer_beef' }
{ input: 'tfg:food/raw_glacian_mutton', output: 'tfg:food/cooked_glacian_mutton', name: 'cooked_glacian_mutton' },
{ input: 'tfg:food/raw_sniffer_beef', output: 'tfg:food/cooked_sniffer_beef', name: 'cooked_sniffer_beef' },
{ input: 'tfg:food/raw_wraptor', output: 'tfg:food/cooked_wraptor', name: 'cooked_wraptor' },
{ input: 'wan_ancient_beasts:raw_toxlacanth', output: 'wan_ancient_beasts:cooked_toxlacanth', name: 'cooked_toxlacanth' },
{ input: 'tfg:food/raw_springling_chops', output: 'tfg:food/cooked_springling_chops', name: 'cooked_springling_chops' },
{ input: 'tfg:food/raw_walker_steak', output: 'tfg:food/cooked_walker_steak', name: 'cooked_walker_steak' },
{ input: 'tfg:food/raw_glider_wings', output: 'tfg:food/cooked_glider_wings', name: 'cooked_glider_wings' },
{ input: 'tfg:food/raw_whole_soarer', output: 'tfg:food/cooked_whole_soarer', name: 'cooked_whole_soarer' },
{ input: 'tfg:food/raw_crusher_meat', output: 'tfg:food/cooked_crusher_meat', name: 'cooked_crusher_meat' },
{ input: 'tfg:food/raw_goober_meat', output: 'tfg:food/cooked_goober_meat', name: 'cooked_goober_meat' }
];
global.TFC_QUERN_POWDER_RECIPE_COMPONENTS = [

View file

@ -0,0 +1,67 @@
// priority: 0
"use strict";
global.WAB_DISABLED_BLOCKS =[
'wan_ancient_beasts:frozen_straw_block',
'wan_ancient_beasts:straw_block',
'wan_ancient_beasts:straw_stairs',
'wan_ancient_beasts:straw_slab',
'wan_ancient_beasts:nest',
'wan_ancient_beasts:suspicious_red_sand',
'wan_ancient_beasts:suspicious_ice'
]
global.WAB_DISABLED_ITEMS = [
'wan_ancient_beasts:frozen_straw_block',
'wan_ancient_beasts:straw_block',
'wan_ancient_beasts:straw_stairs',
'wan_ancient_beasts:straw_slab',
'wan_ancient_beasts:nest',
'wan_ancient_beasts:suspicious_red_sand',
'wan_ancient_beasts:suspicious_ice',
'wan_ancient_beasts:chisel',
//'wan_ancient_beasts:eater_tooth',
'wan_ancient_beasts:ancient_club',
//'wan_ancient_beasts:crusher_spike',
'wan_ancient_beasts:ancient_upgrade_smithing_template',
'wan_ancient_beasts:reinforced_shield',
//'wan_ancient_beasts:glider_feather',
'wan_ancient_beasts:hang_glider',
//'wan_ancient_beasts:surfer_armor',
'wan_ancient_beasts:eater_egg',
'wan_ancient_beasts:walker_egg',
'wan_ancient_beasts:crusher_egg',
'wan_ancient_beasts:glider_egg',
'wan_ancient_beasts:soarer_egg',
'wan_ancient_beasts:surfer_egg',
'wan_ancient_beasts:frozen_ancient_meat',
'wan_ancient_beasts:raw_ancient_meat',
'wan_ancient_beasts:cooked_ancient_meat',
//'wan_ancient_beasts:sniff_armor_trim_smithing_template',
//'wan_ancient_beasts:spike_armor_trim_smithing_template',
'wan_ancient_beasts:jaw_pottery_sherd',
'wan_ancient_beasts:spike_pottery_sherd',
'wan_ancient_beasts:stroll_pottery_sherd',
'wan_ancient_beasts:beak_pottery_sherd',
'wan_ancient_beasts:fall_pottery_sherd',
'wan_ancient_beasts:fossil_pottery_sherd',
'wan_ancient_beasts:tide_pottery_sherd',
'wan_ancient_beasts:white_hang_glider',
'wan_ancient_beasts:light_gray_hang_glider',
'wan_ancient_beasts:gray_hang_glider',
'wan_ancient_beasts:black_hang_glider',
'wan_ancient_beasts:brown_hang_glider',
'wan_ancient_beasts:red_hang_glider',
'wan_ancient_beasts:orange_hang_glider',
'wan_ancient_beasts:yellow_hang_glider',
'wan_ancient_beasts:lime_hang_glider',
'wan_ancient_beasts:green_hang_glider',
'wan_ancient_beasts:light_blue_hang_glider',
'wan_ancient_beasts:cyan_hang_glider',
'wan_ancient_beasts:blue_hang_glider',
'wan_ancient_beasts:purple_hang_glider',
'wan_ancient_beasts:magenta_hang_glider',
'wan_ancient_beasts:pink_hang_glider'
]