[Change] BCLBiomeRegistry
is used to populate Fabric Biomes
This commit is contained in:
parent
c4af9dfa0a
commit
48dd6a3274
2 changed files with 46 additions and 1 deletions
|
@ -27,10 +27,11 @@ public class RegistryDataLoaderMixin {
|
|||
private static void wt_init(CallbackInfo ci) {
|
||||
//we need this to ensure, that the BCL-Biome Registry is loaded at the correct time
|
||||
List<RegistryDataLoader.RegistryData<?>> enhanced = new ArrayList(RegistryDataLoader.WORLDGEN_REGISTRIES.size() + 1);
|
||||
enhanced.addAll(RegistryDataLoader.WORLDGEN_REGISTRIES);
|
||||
enhanced.add(new RegistryDataLoader.RegistryData<>(
|
||||
BCLBiomeRegistry.BCL_BIOMES_REGISTRY, BiomeData.CODEC
|
||||
));
|
||||
enhanced.addAll(RegistryDataLoader.WORLDGEN_REGISTRIES);
|
||||
|
||||
wt_set_WORLDGEN_REGISTRIES(enhanced);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue