Fixes bug where milling #tfg:hardwood would result in softwood pulp instead of the expected hardwood pulp. (#1391)
* Fixes bug where milling #tfg:hardwood would result in softwood pulp instead of the expected hardwood pulp. Softwood pulp milling recipe still shows minecraft:logs as input but I'm not familiar enough with kubejs to know how to fix it. Logically this works though. * Fixes bug where milling #tfg:hardwood would result in softwood pulp instead of the expected hardwood pulp. Softwood pulp milling recipe still shows minecraft:logs as input but I'm not familiar enough with kubejs to know how to fix it. Logically this works though. * changed to removeMaceratorRecipe instead of event.remove() * Removed config file from pull request * Removed irrelevant changes * Update recipes.paper.js Signed-off-by: Pyritie <pyritie@gmail.com> --------- Signed-off-by: Pyritie <pyritie@gmail.com> Co-authored-by: Pyritie <pyritie@gmail.com>
This commit is contained in:
parent
28086d40fa
commit
e024e005bd
1 changed files with 11 additions and 3 deletions
|
|
@ -46,8 +46,16 @@ function registerTFGPapermakingRecipes(event) {
|
|||
.duration(160)
|
||||
.EUt(7)
|
||||
|
||||
//Replace macerate logs into macerate softwood logs
|
||||
event.replaceInput({ id: 'gtceu:macerator/macerate_logs' }, '#minecraft:logs', '#tfg:softwood')
|
||||
removeMaceratorRecipe(event, 'macerate_logs')
|
||||
|
||||
// Create macerator recipes for softwood
|
||||
event.recipes.gtceu.macerator('macerate_softwood')
|
||||
.itemInputs('#tfg:softwood')
|
||||
.itemOutputs('6x gtceu:wood_dust')
|
||||
.chancedOutput('gtceu:wood_dust', 8000, 680)
|
||||
.duration(70)
|
||||
.EUt(2)
|
||||
|
||||
//Create identical macerator recipe for hardwood
|
||||
event.recipes.gtceu.macerator('macerate_hardwood')
|
||||
.itemInputs('#tfg:hardwood')
|
||||
|
|
@ -152,4 +160,4 @@ function registerTFGPapermakingRecipes(event) {
|
|||
.itemOutputs('minecraft:paper')
|
||||
.duration(40)
|
||||
.EUt(4)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue