Skip to content

Commit

Permalink
Merge pull request #506 from MuteTiefling/e9e-feedback-corrections
Browse files Browse the repository at this point in the history
E9E Feedback Corrections
  • Loading branch information
MuteTiefling authored Jul 18, 2023
2 parents 94c2c51 + e3583e8 commit 3193a4b
Show file tree
Hide file tree
Showing 4 changed files with 196 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- Fix Hemp not planting on Farming for Blockheads' Farmland [\#485](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/485) ([MuteTiefling](https://github.com/MuteTiefling))
- Expert Armor Sets no longer affect Normal mode. [\#505](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/505) ([MuteTiefling](https://github.com/MuteTiefling))
- Inhalation Purification no longer removes certain effects that aren't meant to be removed. [\#505](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/505) ([MuteTiefling](https://github.com/MuteTiefling))
- Fix IE Mineral Deposits. [\#506](https://github.com/EnigmaticaModpacks/Enigmatica9/pull/506) ([MuteTiefling](https://github.com/MuteTiefling))

---

Expand Down
2 changes: 2 additions & 0 deletions kubejs/server_scripts/base/recipes/enigmatica/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ServerEvents.recipes((event) => {
{ mod: 'theoneprobe' },
{ mod: 'densetrees' },

{ type: 'immersiveengineering:mineral_mix' },

{ output: /pendorite/ },
{ output: /emeraldite/ },
{ output: /ametrine/ },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ServerEvents.recipes((event) => {
{
outputs: { primary: 'occultism:crushed_end_stone' },
input: 'minecraft:end_stone',
crushing_tier: 3,
crushing_tier: 2,
id_suffix: 'crushed_end_stone_from_end_stone'
},
{
Expand Down
192 changes: 192 additions & 0 deletions kubejs/server_scripts/normal/recipes/immersiveengineering/minerals.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
ServerEvents.recipes((event) => {
if (global.isNormalMode == false) {
return;
}
const id_prefix = 'immersiveengineering:mineral/';

const recipes = [
{
ores: [
{ chance: 0.5, output: { item: 'minecraft:gravel' } },
{ chance: 0.1, output: { item: 'byg:quartzite_sand' } },
{ chance: 0.4, output: { item: 'minecraft:ancient_debris' } }
],
dimensions: ['minecraft:the_nether'],
weight: 8,
fail_chance: 0.7,
sample_background: 'minecraft:netherrack',
id: `${id_prefix}ancient_debris`
},
{
ores: [
{ chance: 0.5, output: { tag: 'forge:gems/quartz' } },
{ chance: 0.3, output: { tag: 'forge:gems/fluorite' } },
{ chance: 0.1, output: { item: 'minecraft:raw_gold' } },
{ chance: 0.1, output: { tag: 'forge:dusts/sulfur' } }
],
dimensions: ['minecraft:the_nether'],
weight: 20,
fail_chance: 0.15,
sample_background: 'byg:raw_quartz_block',
id: `${id_prefix}mephitic_quarzite`
},
{
ores: [
{ chance: 0.75, output: { item: 'minecraft:raw_copper' } },
{ chance: 0.25, output: { item: 'minecraft:raw_gold' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 30,
fail_chance: 0.1,
sample_background: 'minecraft:stone',
id: `${id_prefix}auricupride`
},
{
ores: [
{ chance: 0.6, output: { item: 'minecraft:prismarine' } },
{ chance: 0.3, output: { tag: 'forge:gems/emerald' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 5,
fail_chance: 0.2,
sample_background: 'minecraft:prismarine',
id: `${id_prefix}beryl`
},
{
ores: [
{ chance: 0.7, output: { tag: 'forge:gems/coal' } },
{ chance: 0.1, output: { tag: 'forge:dusts/sulfur' } },
{ chance: 0.2, output: { tag: 'forge:gems/bitumen' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 25,
fail_chance: 0.05,
sample_background: 'minecraft:andesite',
id: `${id_prefix}bituminous_coal`
},
{
ores: [
{ chance: 7.0, output: { tag: 'forge:raw_materials/tin' } },
{ chance: 3.0, output: { tag: 'forge:raw_materials/osmium' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 20,
fail_chance: 0.05,
sample_background: 'create:limestone',
id: `${id_prefix}cassiterite`
},
{
ores: [
{ chance: 0.35, output: { item: 'minecraft:raw_iron' } },
{ chance: 0.35, output: { item: 'minecraft:raw_copper' } },
{ chance: 0.3, output: { tag: 'forge:dusts/sulfur' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 20,
fail_chance: 0.05,
sample_background: 'quark:jasper',
id: `${id_prefix}chalcopyrite`
},
{
ores: [
{ chance: 0.5, output: { tag: 'forge:gems/cinnabar' } },
{ chance: 0.4, output: { tag: 'forge:dusts/redstone' } },
{ chance: 0.1, output: { tag: 'forge:dusts/sulfur' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 15,
fail_chance: 0.1,
sample_background: 'minecraft:granite',
id: `${id_prefix}cinnabar`
},
{
ores: [
{ chance: 0.4, output: { tag: 'forge:raw_materials/lead' } },
{ chance: 0.2, output: { tag: 'forge:raw_materials/silver' } },
{ chance: 0.4, output: { tag: 'forge:dusts/sulfur' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 15,
fail_chance: 0.05,
sample_background: 'quark:slate',
id: `${id_prefix}galena`
},
{
ores: [
{ chance: 0.3, output: { item: 'minecraft:granite' } },
{ chance: 0.3, output: { item: 'minecraft:diorite' } },
{ chance: 0.3, output: { item: 'minecraft:andesite' } },
{ chance: 0.1, output: { item: 'minecraft:obsidian' } }
],
dimensions: ['minecraft:overworld'],
weight: 25,
fail_chance: 0.05,
sample_background: 'minecraft:stone',
id: `${id_prefix}igneous_rock`
},
{
ores: [
{ chance: 0.7, output: { tag: 'forge:raw_materials/aluminum' } },
{ chance: 0.2, output: { item: 'minecraft:raw_iron' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 20,
fail_chance: 0.05,
sample_background: 'minecraft:stone',
id: `${id_prefix}laterite`
},
{
ores: [
{ chance: 0.35, output: { item: 'minecraft:raw_iron' } },
{ chance: 0.35, output: { tag: 'forge:raw_materials/nickel' } },
{ chance: 0.3, output: { tag: 'forge:dusts/sulfur' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 25,
fail_chance: 0.05,
sample_background: 'quark:jasper',
id: `${id_prefix}pentlandite`
},
{
ores: [
{ chance: 0.5, output: { item: 'minecraft:clay' } },
{ chance: 0.3, output: { item: 'minecraft:sand' } },
{ chance: 0.2, output: { item: 'minecraft:gravel' } }
],
dimensions: ['minecraft:overworld'],
weight: 25,
fail_chance: 0.05,
sample_background: 'minecraft:clay',
id: `${id_prefix}silt`
},
{
ores: [
{ chance: 0.7, output: { tag: 'forge:raw_materials/uranium' } },
{ chance: 0.3, output: { tag: 'forge:raw_materials/lead' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 10,
fail_chance: 0.15,
sample_background: 'create:weathered_limestone',
id: `${id_prefix}uraninite`
},
{
ores: [
{ chance: 0.2, output: { item: 'minecraft:basalt' } },
{ chance: 0.3, output: { tag: 'forge:gems/diamond' } },
{ chance: 0.3, output: { tag: 'forge:gems/apatite' } },
{ chance: 0.1, output: { tag: 'forge:gems/fluorite' } }
],
dimensions: ['minecraft:overworld', 'twilightforest:twilight_forest'],
weight: 5,
fail_chance: 0.7,
sample_background: 'minecraft:basalt',
id: `${id_prefix}kimberlite`
}
];

recipes.forEach((recipe) => {
recipe.type = 'immersiveengineering:mineral_mix';
event.custom(recipe).id(recipe.id);
});
});

0 comments on commit 3193a4b

Please sign in to comment.