fix ore recipes again
This commit is contained in:
parent
323d0bf78a
commit
4e90df43ba
5 changed files with 45 additions and 4 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"modPriorities": [
|
"modPriorities": [
|
||||||
"gtceu",
|
"gtceu",
|
||||||
"tfc",
|
|
||||||
"minecraft",
|
"minecraft",
|
||||||
"kubejs",
|
"kubejs",
|
||||||
"create"
|
"create",
|
||||||
|
"tfc"
|
||||||
],
|
],
|
||||||
"stoneStrata": [
|
"stoneStrata": [
|
||||||
"stone",
|
"stone",
|
||||||
|
|
@ -95,5 +95,5 @@
|
||||||
"tfc:landslide"
|
"tfc:landslide"
|
||||||
],
|
],
|
||||||
"ignoredRecipes": [],
|
"ignoredRecipes": [],
|
||||||
"itemsHidingJeiRei": true
|
"itemsHidingJeiRei": false
|
||||||
}
|
}
|
||||||
|
|
@ -18,7 +18,12 @@ global.itemsToHide = [
|
||||||
"minecraft:diamond_ore",
|
"minecraft:diamond_ore",
|
||||||
"minecraft:deepslate_diamond_ore",
|
"minecraft:deepslate_diamond_ore",
|
||||||
"minecraft:nether_gold_ore",
|
"minecraft:nether_gold_ore",
|
||||||
"minecraft:nether_quartz_ore"
|
"minecraft:nether_quartz_ore",
|
||||||
|
"minecraft:ancient_debris"
|
||||||
|
]
|
||||||
|
|
||||||
|
global.global.createItemsToHide = [
|
||||||
|
"create:deepslate_zinc_ore"
|
||||||
]
|
]
|
||||||
|
|
||||||
global.stoneTypesToHide = [
|
global.stoneTypesToHide = [
|
||||||
|
|
|
||||||
10
kubejs/client_scripts/create/rei.js
Normal file
10
kubejs/client_scripts/create/rei.js
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const hideCreateStuff = (event) => {
|
||||||
|
// Hide unused GT ores
|
||||||
|
GTRegistries.MATERIALS.forEach(material => {
|
||||||
|
global.createItemsToHide.forEach(itemName => {
|
||||||
|
event.hide(itemName)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
@ -14,6 +14,7 @@ ServerEvents.tags('item', event => {
|
||||||
|
|
||||||
ServerEvents.recipes(event => {
|
ServerEvents.recipes(event => {
|
||||||
registerGTrecipes(event)
|
registerGTrecipes(event)
|
||||||
|
registerMinecraftRecipes(event)
|
||||||
})
|
})
|
||||||
|
|
||||||
LootJS.modifiers((event) => {
|
LootJS.modifiers((event) => {
|
||||||
|
|
|
||||||
25
kubejs/server_scripts/minecraft/recipes.js
Normal file
25
kubejs/server_scripts/minecraft/recipes.js
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
// priority: 0
|
||||||
|
|
||||||
|
const registerMinecraftRecipes = (event) => {
|
||||||
|
|
||||||
|
// Copper fix
|
||||||
|
event.remove({id: 'minecraft:copper_ingot_from_smelting_raw_copper'})
|
||||||
|
event.remove({id: 'minecraft:copper_ingot_from_blasting_raw_copper'})
|
||||||
|
|
||||||
|
event.smelting('2x #forge:ingots/copper', '1x #forge:raw_materials/copper').id('minecraft:copper_ingot_from_smelting_raw_copper').xp(0.7)
|
||||||
|
event.blasting('2x #forge:ingots/copper', '1x #forge:raw_materials/copper').id('minecraft:copper_ingot_from_blasting_raw_copper').xp(0.7)
|
||||||
|
|
||||||
|
// Iron fix
|
||||||
|
event.remove({id: `minecraft:iron_ingot_from_smelting_raw_iron`})
|
||||||
|
event.remove({id: `minecraft:iron_ingot_from_blasting_raw_iron`})
|
||||||
|
|
||||||
|
event.smelting('2x #forge:ingots/iron', '1x #forge:raw_materials/iron').id('minecraft:iron_ingot_from_smelting_raw_iron').xp(0.7)
|
||||||
|
event.blasting('2x #forge:ingots/iron', '1x #forge:raw_materials/iron').id('minecraft:iron_ingot_from_blasting_raw_iron').xp(0.7)
|
||||||
|
|
||||||
|
// Gold fix
|
||||||
|
event.remove({id: `minecraft:gold_ingot_from_smelting_raw_gold`})
|
||||||
|
event.remove({id: `minecraft:gold_ingot_from_blasting_raw_gold`})
|
||||||
|
|
||||||
|
event.smelting('2x #forge:ingots/gold', '1x #forge:raw_materials/gold').id('minecraft:gold_ingot_from_smelting_raw_gold').xp(0.7)
|
||||||
|
event.blasting('2x #forge:ingots/gold', '1x #forge:raw_materials/gold').id('minecraft:gold_ingot_from_blasting_raw_gold').xp(0.7)
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue