neuralgia/kubejs/server_scripts/wan_ancient_beasts/recipes.js
GameStar 3521adc4de
idk some recipes (#1635)
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
2025-08-15 22:20:48 -05:00

55 lines
No EOL
1.1 KiB
JavaScript

// 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)
})
}