From 77ecc6975d511aefb30418020eb7d95deb6e32bb Mon Sep 17 00:00:00 2001 From: gnembon Date: Sat, 18 Sep 2021 12:36:55 -0300 Subject: [PATCH 1/2] note on biome API changes for 1.18 --- docs/scarpet/api/BlocksAndWorldAccess.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/scarpet/api/BlocksAndWorldAccess.md b/docs/scarpet/api/BlocksAndWorldAccess.md index cf903e67..2dccb39c 100644 --- a/docs/scarpet/api/BlocksAndWorldAccess.md +++ b/docs/scarpet/api/BlocksAndWorldAccess.md @@ -358,7 +358,7 @@ With an optional feature, it returns value for the specified attribute for that * `'category'`: the parent biome this biome is derived from. Possible values include: `'none'`, `'taiga'`, `'extreme_hills'`, `'jungle'`, `'mesa'`, `'plains'`, `'savanna'`, `'icy'`, `'the_end'`, `'beach'`, `'forest'`, `'ocean'`, `'desert'`, `'river'`, -`'swamp'`, `'mushroom'` and `'nether'`. +`'swamp'`, `'mushroom'` , `'nether'`, `'underground'` (1.18+) and `'mountain'` (1.18+). * `'temperature'`: temperature from 0 to 1 * `'fog_color'`: RGBA color value of fog * `'foliage_color'`: RGBA color value of foliage @@ -367,11 +367,11 @@ With an optional feature, it returns value for the specified attribute for that * `'water_fog_color'`: RGBA color value of water fog * `'humidity'`: value from 0 to 1 indicating how wet is the biome * `'precipitation'`: `'rain'` `'snot'`, or `'none'`... ok, maybe `'snow'`, but that means snots for sure as well. -* `'depth'`: (1.17.1 and below) float value indicating how high or low the terrain should generate. Values > 0 indicate generation above sea level +* `'depth'`: (1.17.1 and below only) float value indicating how high or low the terrain should generate. Values > 0 indicate generation above sea level and values < 0, below sea level. -* `'scale'`: (1.17 and below) float value indicating how flat is the terrain. +* `'scale'`: (1.17.1 and below only) float value indicating how flat is the terrain. * `'features'`: list of features that generate in the biome, grouped by generation steps -* `'structures'`: list of structures that generate in the biome. +* `'structures'`: (1.17.1 and below only) list of structures that generate in the biome. ### `solid(pos)` From 50f8a025a946d7835274105a38f53c56bf8e1853 Mon Sep 17 00:00:00 2001 From: gnembon Date: Sat, 18 Sep 2021 12:39:17 -0300 Subject: [PATCH 2/2] 1.4.46 --- gradle.properties | 2 +- src/main/java/carpet/CarpetSettings.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 1e277432..ba040b1d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,7 +10,7 @@ org.gradle.jvmargs=-Xmx1G fabric_version=0.40.1+1.17 # Mod Properties - mod_version = 1.4.45 + mod_version = 1.4.46 maven_group = carpet archives_base_name = fabric-carpet diff --git a/src/main/java/carpet/CarpetSettings.java b/src/main/java/carpet/CarpetSettings.java index 07da5138..8e45a15f 100644 --- a/src/main/java/carpet/CarpetSettings.java +++ b/src/main/java/carpet/CarpetSettings.java @@ -43,7 +43,7 @@ import static carpet.settings.RuleCategory.CLIENT; @SuppressWarnings("CanBeFinal") public class CarpetSettings { - public static final String carpetVersion = "1.4.45+v210811"; + public static final String carpetVersion = "1.4.46+v210918"; public static final Logger LOG = LogManager.getLogger("carpet"); public static ThreadLocal skipGenerationChecks = ThreadLocal.withInitial(() -> false); public static ThreadLocal impendingFillSkipUpdates = ThreadLocal.withInitial(() -> false);