From 26eb96eec58c305df0344f453662bc8a473caed5 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Wed, 25 Aug 2021 16:14:55 +0100 Subject: [PATCH] 1.18_experimental-snapshot-5 --- build.gradle | 2 +- mappings/net/minecraft/class_6466.mapping | 4 ++-- mappings/net/minecraft/world/SpawnHelper.mapping | 4 +--- mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping | 3 +-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 622b901470..58fccd6e66 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ plugins { id 'net.fabricmc.filament' version '0.3.0' } -def minecraft_version = "1.18_experimental-snapshot-4" +def minecraft_version = "1.18_experimental-snapshot-5" def ENV = System.getenv() // Fetch build number from Github Actions diff --git a/mappings/net/minecraft/class_6466.mapping b/mappings/net/minecraft/class_6466.mapping index 6fe37a310f..c7a5259acf 100644 --- a/mappings/net/minecraft/class_6466.mapping +++ b/mappings/net/minecraft/class_6466.mapping @@ -10,7 +10,7 @@ CLASS net/minecraft/class_6466 ARG 3 weirdnessNoise METHOD method_37734 getOffset (Lnet/minecraft/class_6466$class_6467;)F ARG 1 point - METHOD method_37735 (Ljava/lang/String;FFFFF)Lnet/minecraft/class_6462; + METHOD method_37735 (Ljava/lang/String;FFFFFF)Lnet/minecraft/class_6462; ARG 0 name METHOD method_37736 (Ljava/lang/String;FFFFFFFZZ)Lnet/minecraft/class_6462; ARG 0 name @@ -29,7 +29,7 @@ CLASS net/minecraft/class_6466 FIELD field_34231 continentalnessNoise F FIELD field_34232 erosionNoise F FIELD field_34233 weirdnessNoise F - METHOD (FFF)V + METHOD (FFFF)V ARG 1 continentalnessNoise ARG 2 erosionNoise ARG 3 weirdnessNoise diff --git a/mappings/net/minecraft/world/SpawnHelper.mapping b/mappings/net/minecraft/world/SpawnHelper.mapping index 80d858500a..c6c6b71bd8 100644 --- a/mappings/net/minecraft/world/SpawnHelper.mapping +++ b/mappings/net/minecraft/world/SpawnHelper.mapping @@ -2,7 +2,6 @@ CLASS net/minecraft/class_1948 net/minecraft/world/SpawnHelper FIELD field_24392 CHUNK_AREA I FIELD field_24393 SPAWNABLE_GROUPS [Lnet/minecraft/class_1311; FIELD field_30974 MIN_SPAWN_DISTANCE I - FIELD field_34296 SUCCESSFUL_SPAWN_CHANCE F FIELD field_9292 LOGGER Lorg/apache/logging/log4j/Logger; METHOD method_24930 spawnEntitiesInChunk (Lnet/minecraft/class_1311;Lnet/minecraft/class_3218;Lnet/minecraft/class_2791;Lnet/minecraft/class_2338;Lnet/minecraft/class_1948$class_5261;Lnet/minecraft/class_1948$class_5259;)V ARG 0 group @@ -65,10 +64,9 @@ CLASS net/minecraft/class_1948 net/minecraft/world/SpawnHelper ARG 0 group ARG 1 world ARG 2 pos - METHOD method_37843 getRandomPosInChunkSection (Lnet/minecraft/class_1937;Lnet/minecraft/class_2818;I)Lnet/minecraft/class_2338; + METHOD method_37843 getRandomPosInChunkSection (Lnet/minecraft/class_1937;Lnet/minecraft/class_2818;)Lnet/minecraft/class_2338; ARG 0 world ARG 1 chunk - ARG 2 minY METHOD method_37844 shouldUseNetherFortressSpawns (Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;Lnet/minecraft/class_1311;Lnet/minecraft/class_5138;)Z ARG 0 pos ARG 1 world diff --git a/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping b/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping index 6e8e31cf83..88e274b277 100644 --- a/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping +++ b/mappings/net/minecraft/world/gen/NoiseColumnSampler.mapping @@ -33,12 +33,11 @@ CLASS net/minecraft/class_5818 net/minecraft/world/gen/NoiseColumnSampler COMMENT Interpolates the noise at the top and bottom of the world. ARG 1 noise ARG 3 y - METHOD method_33646 getOffset (DDDD)D + METHOD method_33646 getOffset (DDDDD)D COMMENT Calculates an offset for the noise. COMMENT

For example in the overworld, this makes lower y values solid while making higher y values air. ARG 1 verticalNoiseResolution ARG 3 offset - ARG 5 factor METHOD method_33647 getDensityNoise (II)D COMMENT Applies a random change to the density to subtly vary the height of the terrain. ARG 1 x