Last active
December 11, 2018 21:52
-
-
Save NielsPilgaard/b7131704ed5df4eab8bc8b3f45b118c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import mods.oreveins.Cluster; | |
for material in materials { | |
Cluster.newBuilder("nameOfGeneration" + material.name) // Identifier for the generation, does nothing | |
.addType("oreveins:sphere") // Type of vein | |
.addOre(materials[material].ore) // Ore | |
.addMaterial(<minecraft:stone:*>) // Material to generate in | |
.setRarity(40) | |
.setMinY(12) | |
.SetMaxY(128) | |
.SetDensity(120) | |
.SetVerticalSize(20) | |
.SetHorizontalSize(10) | |
.build(); // Creates the recipe | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment