WIP 1.18
This commit is contained in:
1 parent
fd3c8290cf
commit
4062a980f6
3 files changed
+12
-9
No files matched your search
@@ -14,6 +14,10 @@ minecraft {
|
|||||||
accessWidener "src/main/resources/carpet.accesswidener"
|
accessWidener "src/main/resources/carpet.accesswidener"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loom {
|
||||||
|
customManifest = "https://gist.githubusercontent.com/modmuss50/6e00baf80dcbaa42f3a2fc846b290128/raw/f035ef8f75164f56ec6352809a34841d326bae1c/1_18_experimental-snapshot-1.json"
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// To change the versions see the gradle.properties file
|
// To change the versions see the gradle.properties file
|
||||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||||
|
|||||||
+3
-3
@@ -4,10 +4,10 @@ org.gradle.jvmargs=-Xmx1G
|
|||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/use
|
# check these on https://fabricmc.net/use
|
||||||
# or better: https://modmuss50.me/fabric.html
|
# or better: https://modmuss50.me/fabric.html
|
||||||
minecraft_version=1.17.1
|
minecraft_version=1.18_experimental-snapshot-1
|
||||||
yarn_mappings=1.17.1+build.1
|
yarn_mappings=1.18_experimental-snapshot-1+build.2
|
||||||
loader_version=0.11.6
|
loader_version=0.11.6
|
||||||
fabric_version=0.36.1+1.17
|
fabric_version=0.37.2+1.18_experimental
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.4.44
|
mod_version = 1.4.44
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import net.minecraft.util.registry.RegistryKey;
|
|||||||
import net.minecraft.util.registry.SimpleRegistry;
|
import net.minecraft.util.registry.SimpleRegistry;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraft.world.biome.source.BiomeAccess;
|
import net.minecraft.world.biome.source.BiomeAccess;
|
||||||
import net.minecraft.world.biome.source.VanillaLayeredBiomeSource;
|
import net.minecraft.world.biome.source.MultiNoiseBiomeSource;
|
||||||
import net.minecraft.world.border.WorldBorderListener;
|
import net.minecraft.world.border.WorldBorderListener;
|
||||||
import net.minecraft.world.chunk.ChunkStatus;
|
import net.minecraft.world.chunk.ChunkStatus;
|
||||||
import net.minecraft.world.chunk.WorldChunk;
|
import net.minecraft.world.chunk.WorldChunk;
|
||||||
@@ -110,11 +110,10 @@ public class WorldTools
|
|||||||
|
|
||||||
//chunkGenerator2 = GeneratorOptions.createOverworldGenerator(server.getRegistryManager().get(Registry.BIOME_KEY), server.getRegistryManager().get(Registry.NOISE_SETTINGS_WORLDGEN), (seed==null)?l:seed);
|
//chunkGenerator2 = GeneratorOptions.createOverworldGenerator(server.getRegistryManager().get(Registry.BIOME_KEY), server.getRegistryManager().get(Registry.NOISE_SETTINGS_WORLDGEN), (seed==null)?l:seed);
|
||||||
|
|
||||||
chunkGenerator2 = new NoiseChunkGenerator(
|
// from world/gen/GeneratorOptions
|
||||||
new VanillaLayeredBiomeSource((seed==null)?l:seed, false, false, server.getRegistryManager().get(Registry.BIOME_KEY)),
|
chunkGenerator2 = new NoiseChunkGenerator(MultiNoiseBiomeSource.method_35242(server.getRegistryManager().get(Registry.BIOME_KEY), seed), seed, () -> {
|
||||||
(seed==null)?l:seed,
|
return server.getRegistryManager().get(Registry.CHUNK_GENERATOR_SETTINGS_KEY).getOrThrow(ChunkGeneratorSettings.OVERWORLD);
|
||||||
() -> server.getRegistryManager().get(Registry.CHUNK_GENERATOR_SETTINGS_KEY).getOrThrow(ChunkGeneratorSettings.OVERWORLD)
|
});
|
||||||
);
|
|
||||||
|
|
||||||
ServerWorld serverWorld = new ServerWorld(
|
ServerWorld serverWorld = new ServerWorld(
|
||||||
server,
|
server,
|
||||||
|
|||||||
Reference in new issue
Block a user