-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed biomes datagen and now works on json
- Loading branch information
1 parent
c1397df
commit a13f8c3
Showing
12 changed files
with
236 additions
and
230 deletions.
There are no files selected for viewing
78 changes: 0 additions & 78 deletions
78
src/main/generated/data/darkendepths/worldgen/biome/darkened_depths.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
src/main/java/me/codecraft/darkendepths/world/DarkenDepthsBiomesBootStrap.java
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
src/main/java/me/codecraft/darkendepths/world/biome/custom/DarkenDepthRegion.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package me.codecraft.darkendepths.world.biome.custom; | ||
|
||
import com.mojang.datafixers.util.Pair; | ||
import me.codecraft.darkendepths.world.DarkenDepthsBiomes; | ||
import net.minecraft.registry.Registry; | ||
import net.minecraft.registry.RegistryKey; | ||
import net.minecraft.util.Identifier; | ||
import net.minecraft.world.biome.Biome; | ||
import net.minecraft.world.biome.BiomeKeys; | ||
import net.minecraft.world.biome.source.util.MultiNoiseUtil; | ||
import terrablender.api.Region; | ||
import terrablender.api.RegionType; | ||
|
||
import java.util.function.Consumer; | ||
|
||
public class DarkenDepthRegion extends Region { | ||
public DarkenDepthRegion(Identifier name, RegionType type, int weight) { | ||
super(name, type, weight); | ||
} | ||
|
||
|
||
@Override | ||
public void addBiomes(Registry<Biome> registry, Consumer<Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> mapper) { | ||
this.addModifiedVanillaOverworldBiomes(mapper, builder -> { | ||
builder.replaceBiome(BiomeKeys.DEEP_DARK, DarkenDepthsBiomes.DARKENED_DEPTHS); | ||
}); | ||
super.addBiomes(registry, mapper); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
103 changes: 0 additions & 103 deletions
103
src/main/java/me/codecraft/darkendepths/world/biome/custom/DarkenDepthsBiomes.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.