@@ -54,17 +54,17 @@ public final class GemWorldgen {
5454 new Deposit ("spinel" , Setting .METAMORPHIC , 8 , 36 , 0.11 , 1 , 2 ),
5555 new Deposit ("tanzanite" , Setting .METAMORPHIC , 10 , 34 , 0.045 , 1 , 2 ),
5656 new Deposit ("ruby" , Setting .METAMORPHIC , 6 , 26 , 0.095 , 1 , 2 ),
57- new Deposit ("sapphire" , Setting .VOLCANIC , 7 , 33 , 0.11 , 1 , 2 ),
58- new Deposit ("violetsapphire" , Setting .VOLCANIC , 6 , 25 , 0.045 , 1 , 2 ),
59- new Deposit ("peridot" , Setting .VOLCANIC , 9 , 39 , 0.18 , 1 , 3 ),
57+ new Deposit ("sapphire" , Setting .CORUNDUM , 7 , 33 , 0.11 , 1 , 2 ),
58+ new Deposit ("violetsapphire" , Setting .CORUNDUM , 6 , 25 , 0.045 , 1 , 2 ),
59+ new Deposit ("peridot" , Setting .PERIDOT , 9 , 39 , 0.18 , 1 , 3 ),
6060 new Deposit ("blackdiamond" , Setting .DEEP , 5 , 16 , 0.035 , 1 , 1 )
6161 };
6262
6363 private GemWorldgen () {}
6464
6565 /** Hands the enabled deposits to OreSpawn; runs during {@code InterModEnqueueEvent}. */
6666 public static void enqueue () {
67- WorldgenProvider .Builder provider = WorldgenProvider .builder (BaseGems .MOD_ID , 1 );
67+ WorldgenProvider .Builder provider = WorldgenProvider .builder (BaseGems .MOD_ID , 2 );
6868 int count = 0 ;
6969 for (Deposit deposit : DEPOSITS ) {
7070 ResourceLocation block = ResourceLocation .fromNamespaceAndPath (BaseGems .MOD_ID , deposit .name + "_ore" );
@@ -99,8 +99,9 @@ private enum Setting {
9999 GeologyFamily .IGNEOUS_INTRUSIVE ),
100100 METAMORPHIC (OrePattern .CLUSTERS , OreHeightDistribution .BOTTOM_TRIANGLE , 2 , 1 , 0.35 ,
101101 GeologyFamily .METAMORPHIC ),
102- VOLCANIC (OrePattern .CLUSTERS , OreHeightDistribution .BOTTOM_TRIANGLE , 2 , 1 , 0.35 ,
103- GeologyFamily .IGNEOUS_VOLCANIC ),
102+ CORUNDUM (OrePattern .CLUSTERS , OreHeightDistribution .BOTTOM_TRIANGLE , 2 , 1 , 0.35 ,
103+ GeologyFamily .METAMORPHIC , GeologyFamily .IGNEOUS_VOLCANIC ),
104+ PERIDOT (OrePattern .CLUSTERS , OreHeightDistribution .BOTTOM_TRIANGLE , 2 , 1 , 0.35 ),
104105 DEEP (OrePattern .CLUSTERS , OreHeightDistribution .BOTTOM_TRIANGLE , 1 , 0 , 0.60 ,
105106 GeologyFamily .IGNEOUS_VOLCANIC );
106107
@@ -128,6 +129,9 @@ void configure(WorldgenProvider.OreDimensionDefinition.Builder placement) {
128129 placement .hostBlock (DIRT ).hostBlock (CLAY ).hostBlock (SAND ).hostBlock (GRAVEL );
129130 } else if (this == MOLDAVITE ) {
130131 placement .hostBlock (GRAVEL ).hostBlock (DIRT , 0.5 );
132+ } else if (this == PERIDOT ) {
133+ placement .hostBlock (STONE ).hostBlock (vanilla ("deepslate" )).hostBlock (vanilla ("basalt" ))
134+ .hostTag (ResourceLocation .fromNamespaceAndPath (BaseGems .MOD_ID , "ore_hosts/peridot" ));
131135 } else {
132136 placement .hostBlock (STONE );
133137 for (GeologyFamily family : families ) placement .hostFamily (family );
0 commit comments