Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Ocean Shrines no longer blow up Superflat worlds.
Browse files Browse the repository at this point in the history
  • Loading branch information
b3spectacled committed Jul 8, 2021
1 parent e6c8004 commit 90e0b35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ group = project.maven_group
repositories {
mavenCentral()
maven { url "https://maven.shedaniel.me/" }
//maven { url "https://maven.terraformersmc.com/releases" }
maven { url "https://maven.terraformersmc.com/releases" }
maven { url 'https://jitpack.io' }
maven {
url "https://www.cursemaven.com"
Expand Down Expand Up @@ -42,8 +42,7 @@ dependencies {
}
include("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}")

//modImplementation("com.terraformersmc:modmenu:${project.mod_menu_version}")
modImplementation("curse.maven:mod-menu-308702:3348711")
modImplementation("com.terraformersmc:modmenu:${project.mod_menu_version}")
}

processResources {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.11.6

# Mod Properties
mod_version = 2.1.0-1.17.1
mod_version = 2.1.1-1.17.1
maven_group = net.fabricmc
archives_base_name = modern-beta-fabric

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class OldStructures {

public static final StructurePieceType OCEAN_SHRINE_PIECE = OceanShrineGenerator.Piece::new;
public static final StructureFeature<DefaultFeatureConfig> OCEAN_SHRINE_STRUCTURE = new OceanShrineStructure(DefaultFeatureConfig.CODEC);
public static final ConfiguredStructureFeature<?, ?> CONF_OCEAN_SHRINE_STRUCTURE = OCEAN_SHRINE_STRUCTURE.configure(DefaultFeatureConfig.DEFAULT);
public static final ConfiguredStructureFeature<DefaultFeatureConfig, ? extends StructureFeature<DefaultFeatureConfig>> CONF_OCEAN_SHRINE_STRUCTURE = OCEAN_SHRINE_STRUCTURE.configure(DefaultFeatureConfig.DEFAULT);
public static final RegistryKey<ConfiguredStructureFeature<?, ?>> OCEAN_SHRINE_KEY = RegistryKey.of(Registry.CONFIGURED_STRUCTURE_FEATURE_KEY, OCEAN_SHRINE_ID);

public static void register() {
Expand All @@ -35,6 +35,7 @@ public static void register() {
.step(GenerationStep.Feature.SURFACE_STRUCTURES)
.defaultConfig(64, 16, 357)
//.defaultConfig(4, 2, 357) // Debug spacing
.superflatFeature(CONF_OCEAN_SHRINE_STRUCTURE)
.adjustsSurface()
.register();

Expand Down

0 comments on commit 90e0b35

Please sign in to comment.