#Looking for info on worldgen
39 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
My ideas for world gen that I'm planning to pull off are boulders of a specific stone on beaches, stromatolites on beaches and in oceans, termite mounds, and anthills
I am on 1.19.2, just in case that makes any difference
if you know any mods that have these, you can use them as examples since its mostly just datapack stuff
i use corgilib (https://www.curseforge.com/minecraft/mc-mods/corgilib) to export all of the worldgen in data format the game has loaded. You have to use the /corgilib worldgenexport command
I'm aware it is data pack stuff, but this mod has such stuff supported too
World gen for placed features does seem to be possible with this mod from what I'm finding, but I can't find a lot of good examples to learn from
I'm seeing some example scripts, but it is just for ores
Which is not what I'm trying to do
One is creating boulders of a specific material that would spawn only on beaches and very coastal waters
Another is stromatolites, on both beaches and on the ocean floor
Termite mounds like those big ones
And anthills
yeah, only ore stuff is documented. I'm unsure how possible all of that is without making a mod. It's not that i think it isnt possible, i just dont know a lot about worldgen
ive got something like this goin on; im basically just using other mods' data stuff to make my own worldgen touches
Paste version of worldgen.js from @bleak hemlock
its very messy, youve been warned
it uses the export from corgilib
theres also a couple of other things that pull from other files i have
but hopefully you kinda get what im doing
Yeah, I see, but I doubt this would be enough to help
i mean for example, you can take the boulders from atmospheric, change what block they place in the configured feature, and then make a forge biome modifier to distribute it to beaches
its been a moment so im not 100% sure it has boulders or rocks
regions unexplored does though
lemme check
i think vanilla does too with the mossy cobblestone in mega taigas actually
yup
Paste version of forest_rock.json from @bleak hemlock
If someone else knows anything about placed features through this, let me know
I may have found some stuff, but I don't know if they would need updating, despite me looking at them just for examples
[Quote ➤](#1036085925341577246 message) ```java
public static final Holder<PlacedFeature> LAKE_LAVA_UNDERGROUND = PlacementUtils.register("lake_lava_underground", MiscOverworldFeatures.LAKE_LAVA, RarityFilter.onAverageOnceEvery(9), InSquarePlacement.spread(), HeightRangePlacement.of(UniformHeight.of(VerticalAnchor.absolute(0), VerticalAnchor.top())), EnvironmentScanPlacement.scanningFor(Direction.DOWN, BlockPredicate.allOf(BlockPredicate.not(BlockPredicate.ONLY_IN_AIR_PREDICATE), BlockPredicate.insideWorld(new BlockPos(0, -5, 0))), 32), SurfaceRelativeThresholdFilter.of(Heightmap.Types.OCEAN_FLOOR_WG, Integer.MIN_VALUE, -5), BiomeFilter.biome());
public static final Holder<PlacedFeature> LAKE_LAVA_SURFACE = PlacementUtils.register("lake_lava_surface", MiscOverworldFeatures.LAKE_LAVA, RarityFilter.onAverageOnceEvery(200), InSquarePlacement.spread(), PlacementUtils.HEIGHTMAP_WORLD_SURFACE, BiomeFilter.biome());