i would really like to use this mod to have custom structures generate at random in galacticrafts space dimensions. is this possible? is there a way to choose what dims the structures gen in not just the biome? if not can you ad a way to do this?
I submitted a pull to add this feature and it's already been accepted, so it'll be available in the next release of Ruins.
Two things prevent the current version of Ruins from working correctly with Galacticraft. First, Galacticraft adds biomes with spaces in their names--namely, outer space, outer space 1, and outer space 2. The next version will handle spacey biome names properly. Second, Galacticraft appears to use those same biomes to mean different things in different dimensions, so you really do need something like a dimensionsToSpawnIn template parameter. Which is exactly what I added, however...
Jordan_Peacock neatly pointed out some of the issues involved in the previous post. I can't rely on dimension ID numbers; there's no way a template author could know for certain which numbers are associated with which dimensions. Instead, I use the lesser-known dimension type names. So, for example, to restrict your template to only spawn in the overworld (dimension 0) and The Twilight Forest (typically--but not necessarily--dimension 7), you'd include the following line:
The default is an empty list, which has the special meaning of allowing spawns in all dimensions. In other words, you don't have to change your existing templates if you're not especially concerned with dimension restrictions; they'll work fine, just as before.
An interesting note is, unlike biomesToSpawnIn, dimensionsToSpawnIndoes also apply to generic spawning. If a template specifies dimensions, it only appears in those dimensions, regardless of which folder it's in. Also, the seemingly (but not actually) related configuration parameter allowedDimensions still uses numeric dimension IDs, as always. That's intentional--mucking around with ID assignment is more a server management task than a template designing one.
The next logical question is...where the heck do I find out what type names I should use? Good question. They're not generally well-documented, and there aren't consistent rules regarding how (or even if) they're constructed by mod authors. Unfortunately, they are case sensitive, they may contain spaces and other special characters, and they're not even necessarily unique. *sigh* Still, they're better than ID numbers, since they don't depend on server configuration. Three you can almost definitely count on are the vanilla dimensions: overworld (ID 0), the_nether (-1), and the_end (1). You also get twilight_forest (default ID 7) for free, since I used that during testing and in the example above. Even if The Twilight Forest dimension is configured to use a different ID, twilight_forest still refers to the correct dimension. Blackendsuns96571's original feature request was with regard to Galacticraft, so I'll throw in moon.moon (-28), planet.mars (-29), planet.asteroids (-30), and planet.venus (-31), too. Unfortunately, Galacticraft applies exactly the same name to its other two dimensions: Space Station (-26 and -27), which is kind of problematic if you're looking to distinguish between the two. If you need a hand finding other modded dimension names, drop me a PM.
Incidentally, note Galacticraft "hides" its worldgen from other mods by default, so Ruins can't build structures in its dimensions unless you configure Galacticraft to not do that. In config/Galacticraft/core.conf, set
B:"Generate all other mods features on planets"=true
to allow Ruins (and everything else) access it its worldgen. You'll see a warning preceding that line in the file, though, advising you to keep it set to false. If you run with a lot of mods, it may indeed introduce troublesome consequences, but there's no real alternative short of either Galacticraft or Ruins adding special built-in compatibility features for the other (Galacticraft apparently already does that for ThaumCraft and the CoFH Thermal mods).
Jordan: AIUI Mystcraft is again in development for 1.12.2. but not really ready for prime time. (At least it crashed on me...) Adding an "outer-space" biome type would be a reasonable request to Forge, it might be that Galacticraft could help lead the charge. Ditto a dimension type, per QuarterAnimal.
Rollback Post to RevisionRollBack
I did some CraftTweaker scripts for Mystical Agriculture. They fill in a couple of small gaps in MA, and also let you make or duplicate not only vanilla plants, but the blocks, plants and wood from Quark and Biomes O'Plenty. Also spawn eggs for most vanilla mobs! The scripts are here on Github.
Adding an "outer-space" biome type would be a reasonable request to Forge, it might be that Galacticraft could help lead the charge. Ditto a dimension type, per QuarterAnimal.
It's a bit confusing, but despite their similar names, biome type (technically, BiomeDictionary.Type) and dimension type (DimensionType) are very different beasts.
Biome types are defined and managed by Forge, and represent descriptive categories into which particular biomes may fit, like DRY, or COLD, or SPOOKY. Mod authors can't create new biome types, but they may specify which types--if any--apply to new biomes they create (or allow Forge to make its own best guess). There's a many-to-many relationship between biomes and biome types.
Dimension types, in contrast, are managed by Minecraft, and each represents a specific dimension. Three are initially defined by Minecraft--overworld, the_end, and the_nether--and others are created by mod authors implementing new dimensions. There's a one-to-one relationship between dimensions and dimension types (though, unfortunately, type names aren't required to be unique...as in Galacticraft's use of the name Space Station for two of its dimension types).
Nothing currently in existence categorizes dimensions (DimensionTypeType?) the same way biome types do for biomes, so I don't think the Forge team can do anything in that regard, aside from creating a whole new dimension dictionary, analogous to the biome dictionary...seems unlikely. Petitioning them for new biome types, though, might be useful.