Skip to content

Commit

Permalink
Update Terraform, Biolith, and MixinExtras for compatibility buffs.
Browse files Browse the repository at this point in the history
- Minor compatibility improvements
* Clean up biome tag datagen code
  • Loading branch information
gniftygnome committed Nov 8, 2023
1 parent f7d322f commit 531e676
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import net.minecraft.registry.RegistryKeys;
import net.minecraft.registry.RegistryWrapper;
import net.minecraft.registry.tag.BiomeTags;
import net.minecraft.registry.tag.TagKey;
import net.minecraft.world.biome.Biome;

import java.util.concurrent.CompletableFuture;
Expand All @@ -22,37 +21,37 @@ public void configure(RegistryWrapper.WrapperLookup registries) {
/*
* Vanilla biome categories
*/
getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, BiomeTags.IS_NETHER.id()))
getOrCreateTagBuilder(BiomeTags.IS_NETHER)
.addOptional(CinderscapesBiomes.ASHY_SHOALS)
.addOptional(CinderscapesBiomes.BLACKSTONE_SHALES)
.addOptional(CinderscapesBiomes.LUMINOUS_GROVE)
.addOptional(CinderscapesBiomes.QUARTZ_CAVERN);

getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, ConventionalBiomeTags.NETHER_FORESTS.id()))
getOrCreateTagBuilder(ConventionalBiomeTags.NETHER_FORESTS)
.addOptional(CinderscapesBiomes.LUMINOUS_GROVE);

getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, ConventionalBiomeTags.WASTELAND.id()))
getOrCreateTagBuilder(ConventionalBiomeTags.WASTELAND)
.addOptional(CinderscapesBiomes.ASHY_SHOALS);

getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, ConventionalBiomeTags.VEGETATION_SPARSE.id()))
getOrCreateTagBuilder(ConventionalBiomeTags.VEGETATION_SPARSE)
.addOptional(CinderscapesBiomes.BLACKSTONE_SHALES);


/*
* Biome structure generation tags
*/
getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, BiomeTags.BASTION_REMNANT_HAS_STRUCTURE.id()))
getOrCreateTagBuilder(BiomeTags.BASTION_REMNANT_HAS_STRUCTURE)
.addOptional(CinderscapesBiomes.ASHY_SHOALS)
.addOptional(CinderscapesBiomes.LUMINOUS_GROVE);

getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, BiomeTags.NETHER_FORTRESS_HAS_STRUCTURE.id()))
getOrCreateTagBuilder(BiomeTags.NETHER_FORTRESS_HAS_STRUCTURE)
.addOptional(CinderscapesBiomes.BLACKSTONE_SHALES);

getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, BiomeTags.NETHER_FOSSIL_HAS_STRUCTURE.id()))
getOrCreateTagBuilder(BiomeTags.NETHER_FOSSIL_HAS_STRUCTURE)
.addOptional(CinderscapesBiomes.ASHY_SHOALS)
.addOptional(CinderscapesBiomes.BLACKSTONE_SHALES);

getOrCreateTagBuilder(TagKey.of(RegistryKeys.BIOME, BiomeTags.RUINED_PORTAL_NETHER_HAS_STRUCTURE.id()))
getOrCreateTagBuilder(BiomeTags.RUINED_PORTAL_NETHER_HAS_STRUCTURE)
.addOptional(CinderscapesBiomes.ASHY_SHOALS);
}
}
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ loader_version=0.14.22
fabric_version=0.89.1+1.20.2

# Terraform modules
terraform_biome_remapper_api_version=8.0.0
terraform_shapes_api_version=8.0.0
terraform_surfaces_api_version=8.0.0
terraform_wood_api_version=8.0.0
terraform_biome_remapper_api_version=8.0.1
terraform_shapes_api_version=8.0.1
terraform_surfaces_api_version=8.0.1
terraform_wood_api_version=8.0.1

# Biolith for worldgen module and testing
biolith_version=1.1.0-alpha.1
biolith_version=1.1.0-alpha.5

# TerraBlender for worldgen module and testing
terrablender_version=1.20.1-3.0.0.169

# Other Things
clothconfig_version=12.0.107
modmenu_version=8.0.0-beta.2
modmenu_version=8.0.0
vistas_version=2.3.0

# Project Metadata
Expand Down

0 comments on commit 531e676

Please sign in to comment.