registerTags -> registerBiomeTags

This commit is contained in:
dfsek 2022-06-05 16:56:43 -07:00
parent b4bee3a65d
commit b0aca47e74
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public class DataPackContentsMixin {
@Inject(method = "refresh(Lnet/minecraft/util/registry/DynamicRegistryManager;)V", at = @At("RETURN"))
private void injectReload(DynamicRegistryManager dynamicRegistryManager, CallbackInfo ci) {
Registry<Biome> biomeRegistry = dynamicRegistryManager.get(Registry.BIOME_KEY);
TagUtil.registerTags(biomeRegistry);
TagUtil.registerBiomeTags(biomeRegistry);
BiomeUtil.registerFlora(biomeRegistry);
}
}

View File

@ -21,7 +21,7 @@ public final class TagUtil {
}
public static void registerTags(Registry<Biome> registry) {
public static void registerBiomeTags(Registry<Biome> registry) {
logger.info("Doing tag garbage....");
Map<TagKey<Biome>, List<RegistryEntry<Biome>>> collect = registry
.streamTagsAndEntries()