Skip to content

Commit

Permalink
Merge pull request #430 from LITW-Refined-New-Stories/feat/more-ores
Browse files Browse the repository at this point in the history
register yellorit ore & improve check for TileEntities in DeepslateOreRegistry
  • Loading branch information
Roadhog360 authored Feb 26, 2024
2 parents f72754a + 48599ce commit b971a9e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public enum Blocks {
DRACONIUM_ORE(() -> GameRegistry.findBlock("DraconicEvolution", "draconiumOre")),

PROJECT_RED_ORE(() -> GameRegistry.findBlock("ProjRed|Exploration", "projectred.exploration.ore")),

BR_YELLORITE_ORE(() -> GameRegistry.findBlock("BigReactors", "YelloriteOre")),

BP_TESLATITE_ORE(() -> GameRegistry.findBlock("bluepower", "teslatite_ore")),
BP_RUBY_ORE(() -> GameRegistry.findBlock("bluepower", "ruby_ore")),
Expand Down
1 change: 1 addition & 0 deletions src/main/java/ganymedes01/etfuturum/compat/ModsList.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public enum ModsList {
ARS_MAGICA_2("arsmagica2"),
MULTIPART("McMultipart"),
DRACONIC_EVOLUTION("DraconicEvolution"),
BIG_REACTORS("BigReactors"),

NOT_ENOUGH_IDS("neid"),
ENDLESS_IDS("endlessids"),
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/ganymedes01/etfuturum/recipes/ModRecipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,12 @@ ore_dyes[dye], new ItemStack(Blocks.sand, 1, 0), new ItemStack(Blocks.sand, 1, 0
}
}

if (ModsList.BIG_REACTORS.isLoaded()) {
if (ConfigModCompat.moddedRawOres) {
registerOre("oreUranium", ExternalContent.Blocks.BR_YELLORITE_ORE.get());
}
}

addShapelessRecipe(new ItemStack(Items.dye, 1, 9), ModBlocks.PINK_PETALS.get());

registerModdedDeepslateOres();
Expand Down

0 comments on commit b971a9e

Please sign in to comment.