Hey maybe you can help me out.
I'm learning how to mod Minecraft, and the guides are written for older versions which has mostly been fine, since I've been able to figure out what needs to get changed by checking the forge api blog post for 1,.19.3 and looking over the code but this has stumped me.
I created two files
src/main/resources/data/mod/worldgen/configured_feature/myore_ore.json
and
src/main/resources/data/mod/worldgen/placed_feature/myore_ore_lower.json
(which are essentially clones of the coal ore ones)
But I cannot for the life figure out how to actually register the features.
I assumed it would be something like this but maybe I'm way off.
public static Feature MYORE_ORE_BURIED = registerConfiguredFeature(MYORE_ORE_BURIED_KEY)
public static final RegistryKey<ConfiguredFeature<?, ?>> MYORE_ORE_BURIED_KEY =
ConfiguredFeatures.of("myore_ore_buried");
private static Feature registerConfiguredFeature(String name, RegistryKey registryKey) { return Registry.register(Registries.FEATURE, registryKey, {no clue what this third parameter is supposed to be}); }