Skip to content

Commit

Permalink
started adding bedrock veins
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Nov 28, 2024
1 parent 63291cb commit 1cf0790
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import muramasa.antimatter.material.Material;
import muramasa.antimatter.util.TagUtils;
import muramasa.antimatter.worldgen.StoneLayerOre;
import muramasa.antimatter.worldgen.bedrockore.WorldGenBedrockVein;
import muramasa.antimatter.worldgen.object.WorldGenStoneLayerBuilder;
import muramasa.antimatter.worldgen.smallore.WorldGenSmallOreBuilder;
import muramasa.antimatter.worldgen.vanillaore.WorldGenVanillaOreBuilder;
Expand Down Expand Up @@ -65,6 +66,20 @@ public static void init(WorldGenEvent ev) {
}
}

private static void initBedrockVeins(WorldGenEvent ev) {
ev.bedrockOre(WorldGenBedrockVein.create("diamond", 128000, Diamond, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("tungstate", 96000, Tungstate, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("scheelite", 96000, Scheelite, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("uraninite", 60000, Uraninite, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("pitchblende", 60000, Pitchblende, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("gold_a", 32000, Gold, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("gold_b", 32000, Gold, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("sheldonite", 16000, Sheldonite, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("copper", 16000, Copper, OVERWORLD.location()));
ev.bedrockOre(WorldGenBedrockVein.create("monzanite", 16000, Monazite, OVERWORLD.location()));

}

private static void initTwilightForestOres(WorldGenEvent event){
event.vanillaOre(new WorldGenVanillaOreBuilder().withMaterial(Coal).withMaterialType(ORE_STONE).withSize(50).withWeight(1).atHeight(-16, 0).withDimensions(TWILIGHT_FOREST.location()).buildMaterial());
event.vanillaOre(new WorldGenVanillaOreBuilder().withMaterial(Lignite).withMaterialType(ORE_STONE).withSize(50).withWeight(1).atHeight(-16, 0).withDimensions(TWILIGHT_FOREST.location()).buildMaterial());
Expand Down

0 comments on commit 1cf0790

Please sign in to comment.