added create sandpaper recipes for early game gems, unified observer recipes
This commit is contained in:
parent
4d7fc30409
commit
3d2ed09f9b
9 changed files with 61 additions and 8 deletions
|
|
@ -2381,4 +2381,7 @@ const registerCreateRecipes = (event) => {
|
|||
.itemOutputs('#forge:dusts/asurine')
|
||||
.duration(50)
|
||||
.EUt(2)
|
||||
|
||||
event.shapeless('create:sand_paper', ['minecraft:paper', 'tfc:glue', '#forge:sand'])
|
||||
.id('tfg:shapeless/sand_paper')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -221,4 +221,7 @@ const registerCreateAdditionsRecipes = (event) => {
|
|||
burnTime: 4 * 9 * 9
|
||||
}).id('tfg:createadditions/liquid_burning/steam')
|
||||
//#endregion
|
||||
|
||||
event.shapeless('createaddition:diamond_grit_sandpaper', ['minecraft:paper', 'tfc:glue', '#forge:dusts/diamond'])
|
||||
.id('tfg:shapeless/diamond_grit_sand_paper')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -365,13 +365,17 @@ function registerGTCEUMetalRecipes(event) {
|
|||
.duration(10)
|
||||
.EUt(16)
|
||||
|
||||
if (material.hasProperty(PropertyKey.GEM) && !TagPrefix.gem.isIgnored(material)) {
|
||||
if (material.hasProperty(PropertyKey.GEM)) {
|
||||
const gemItem = ChemicalHelper.get(TagPrefix.gem, material, crushedOreItem.getCount());
|
||||
hammerRecipe.chancedOutput(gemItem, 7500, 950)
|
||||
|
||||
event.recipes.greate.pressing(TieredOutputItem.of(gemItem).withChance(0.75).withExtraTierChance(0.095), poorOreItem)
|
||||
.recipeTier(1)
|
||||
.id(`greate:pressing/poor_raw_${material.getName()}_to_gem`)
|
||||
|
||||
let polishingCount = Math.max(crushedOreItem.getCount() / 2, 1);
|
||||
event.recipes.create.sandpaper_polishing(gemItem.copyWithCount(polishingCount), poorOreItem)
|
||||
.id(`tfg:polishing/poor_raw_${material.getName()}_to_gem`)
|
||||
}
|
||||
else {
|
||||
hammerRecipe.chancedOutput(crushedOreItem, 7500, 950)
|
||||
|
|
@ -443,13 +447,16 @@ function registerGTCEUMetalRecipes(event) {
|
|||
.duration(10)
|
||||
.EUt(16)
|
||||
|
||||
if (material.hasProperty(PropertyKey.GEM) && !TagPrefix.gem.isIgnored(material)) {
|
||||
if (material.hasProperty(PropertyKey.GEM)) {
|
||||
const gemItem = ChemicalHelper.get(TagPrefix.gem, material, crushedOreItem.getCount())
|
||||
hammerRecipe.itemOutputs(gemItem)
|
||||
|
||||
event.recipes.greate.pressing(gemItem, normalOreItem)
|
||||
.recipeTier(1)
|
||||
.id(`greate:pressing/raw_${material.getName()}_to_gem`)
|
||||
|
||||
event.recipes.create.sandpaper_polishing(gemItem, normalOreItem)
|
||||
.id(`tfg:polishing/raw_${material.getName()}_to_gem`)
|
||||
}
|
||||
else {
|
||||
hammerRecipe.itemOutputs(crushedOreItem)
|
||||
|
|
@ -512,13 +519,16 @@ function registerGTCEUMetalRecipes(event) {
|
|||
.duration(10)
|
||||
.EUt(16)
|
||||
|
||||
if (material.hasProperty(PropertyKey.GEM) && !TagPrefix.gem.isIgnored(material)) {
|
||||
if (material.hasProperty(PropertyKey.GEM)) {
|
||||
const gemItem = ChemicalHelper.get(TagPrefix.gem, material, crushedOreItem.getCount())
|
||||
hammerRecipe.itemOutputs(gemItem)
|
||||
|
||||
event.recipes.greate.pressing(gemItem, richOreItem)
|
||||
.recipeTier(1)
|
||||
.id(`greate:pressing/rich_raw_${material.getName()}_to_gem`)
|
||||
|
||||
event.recipes.create.sandpaper_polishing(gemItem, richOreItem)
|
||||
.id(`tfg:polishing/rich_raw_${material.getName()}_to_gem`)
|
||||
}
|
||||
else {
|
||||
hammerRecipe.itemOutputs(crushedOreItem)
|
||||
|
|
|
|||
|
|
@ -648,20 +648,50 @@ const registerMinecraftRecipes = (event) => {
|
|||
|
||||
//#region Выход: Наблюдатель
|
||||
|
||||
event.shaped('minecraft:observer', [
|
||||
'AAA',
|
||||
'BBC',
|
||||
'AAA'
|
||||
], {
|
||||
A: '#forge:cobblestone',
|
||||
B: 'minecraft:redstone',
|
||||
C: '#forge:gems/certus_quartz'
|
||||
}).id('tfg:shaped/observer_certus_q')
|
||||
|
||||
event.shaped('minecraft:observer', [
|
||||
'AAA',
|
||||
'BBC',
|
||||
'AAA'
|
||||
], {
|
||||
A: '#forge:cobblestone',
|
||||
B: 'minecraft:redstone',
|
||||
C: '#forge:gems/nether_quartz'
|
||||
}).id('tfg:shaped/observer_nether_q')
|
||||
|
||||
event.shaped('minecraft:observer', [
|
||||
'AAA',
|
||||
'BBC',
|
||||
'AAA'
|
||||
], {
|
||||
A: '#forge:cobblestone',
|
||||
B: 'minecraft:redstone',
|
||||
C: '#forge:gems/quartzite'
|
||||
}).id('tfg:shaped/observer_quartzite')
|
||||
|
||||
event.recipes.gtceu.assembler('observer_certus_quartz')
|
||||
.itemInputs('6x #forge:cobblestone', '2x minecraft:redstone', '#forge:plates/certus_quartz')
|
||||
.itemInputs('6x #forge:cobblestone', '2x minecraft:redstone', '#forge:gems/certus_quartz')
|
||||
.itemOutputs('minecraft:observer')
|
||||
.duration(100)
|
||||
.EUt(30)
|
||||
|
||||
event.recipes.gtceu.assembler('observer_nether_quartz')
|
||||
.itemInputs('6x #forge:cobblestone', '2x minecraft:redstone', '#forge:plates/nether_quartz')
|
||||
.itemInputs('6x #forge:cobblestone', '2x minecraft:redstone', '#forge:gems/nether_quartz')
|
||||
.itemOutputs('minecraft:observer')
|
||||
.duration(100)
|
||||
.EUt(30)
|
||||
|
||||
event.recipes.gtceu.assembler('observer_quartzite')
|
||||
.itemInputs('6x #forge:cobblestone', '2x minecraft:redstone', '#forge:plates/quartzite')
|
||||
.itemInputs('6x #forge:cobblestone', '2x minecraft:redstone', '#forge:gems/quartzite')
|
||||
.itemOutputs('minecraft:observer')
|
||||
.duration(100)
|
||||
.EUt(30)
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@ function removeTFCRecipes(event) {
|
|||
event.remove({ id: `tfc:crafting/steel_pump` })
|
||||
event.remove({ id: `tfc:crafting/crankshaft` })
|
||||
event.remove({ id: 'tfc:crafting/sandpaper' })
|
||||
event.remove({ id: 'tfc:crafting/vanilla/redstone/observer' })
|
||||
|
||||
event.remove({ id: 'tfc:crafting/vanilla/redstone/steel_minecart' })
|
||||
event.remove({ id: 'tfc:crafting/vanilla/redstone/minecart' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue