So I was wondering, how do I create a custom FillerBlockType for OreFeautureConfig so that I can generate this into the biomes. I am wanting it to be endstone if that helps. This is my code so far:
public static void generateOre() {
for (Biome biome : ForgeRegistries.BIOMES) {
if (biome == Biomes.END_BARRENS || biome == Biomes.THE_END || biome == Biomes.END_HIGHLANDS ||
biome == Biomes.END_MIDLANDS || biome == Biomes.SMALL_END_ISLANDS) {
ConfiguredPlacement customConfig = Placement.COUNT_RANGE.configure(new CountRangeConfig(20, 5, 5, 25));
biome.addFeature(GenerationStage.Decoration.UNDERGROUND_ORES, Feature.ORE.withConfiguration(new OreFeatureConfig(OreFeatureConfig.FillerBlockType.NATURAL_STONE,
ModBlocks.END_ONYX_ORE.getDefaultState(), 10)).withPlacement(customConfig));
}
}
}