This commit is contained in:
modmuss50 2021-09-29 20:03:16 +01:00
parent dc3d5c4769
commit 6eb8b35a31
9 changed files with 14 additions and 17 deletions
build.gradle
fabric-biome-api-v1
build.gradle
src/main/java/net/fabricmc/fabric/mixin/biome
fabric-networking-api-v1
build.gradle
src/main/java/net/fabricmc/fabric/api/networking/v1
fabric-registry-sync-v0
build.gradle
src/main/java/net/fabricmc/fabric/impl/registry/sync
fabric-structure-api-v1
build.gradle
src/testmod/java/net/fabricmc/fabric/test/structure

View file

@ -9,7 +9,7 @@ plugins {
id "eclipse"
id "idea"
id "maven-publish"
id "fabric-loom" version "0.10.15" apply false
id "fabric-loom" version "0.10.23" apply false
id "org.cadixdev.licenser" version "0.6.1"
id "org.ajoberstar.grgit" version "3.1.0"
id "com.matthewprenger.cursegradle" version "1.4.0"
@ -19,9 +19,9 @@ plugins {
def ENV = System.getenv()
class Globals {
static def baseVersion = "0.40.4"
static def mcVersion = "21w38a"
static def yarnVersion = "+build.1"
static def baseVersion = "0.40.5"
static def mcVersion = "21w39a"
static def yarnVersion = "+build.2"
static def loaderVersion = "0.11.7"
static def preRelease = true
}

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-biome-api-v1"
version = getSubprojectVersion(project, "4.0.1")
version = getSubprojectVersion(project, "4.0.2")
loom {
accessWidenerPath = file("src/main/resources/fabric-biome-api-v1.accesswidener")

View file

@ -45,7 +45,7 @@ public class MixinTheEndBiomeSource {
@Unique
private PerlinNoiseSampler sampler = new PerlinNoiseSampler(new ChunkRandom(seed));
@Inject(method = "method_38109", at = @At("RETURN"), cancellable = true)
@Inject(method = "getBiome", at = @At("RETURN"), cancellable = true)
private void getWeightedEndBiome(int biomeX, int biomeY, int biomeZ, MultiNoiseUtil.MultiNoiseSampler multiNoiseSampler, CallbackInfoReturnable<Biome> cir) {
Biome vanillaBiome = cir.getReturnValue();

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-networking-api-v1"
version = getSubprojectVersion(project, "1.0.13")
version = getSubprojectVersion(project, "1.0.14")
moduleDependencies(project, [
'fabric-api-base'

View file

@ -91,7 +91,7 @@ public final class PlayerLookup {
Objects.requireNonNull(world, "The world cannot be null");
Objects.requireNonNull(pos, "The chunk pos cannot be null");
return world.getChunkManager().threadedAnvilChunkStorage.getPlayersWatchingChunk(pos, false).collect(Collectors.toList());
return world.getChunkManager().threadedAnvilChunkStorage.getPlayersWatchingChunk(pos, false);
}
/**

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-registry-sync-v0"
version = getSubprojectVersion(project, "0.7.11")
version = getSubprojectVersion(project, "0.7.12")
moduleDependencies(project, [
'fabric-api-base',

View file

@ -72,9 +72,6 @@ public class FabricRegistryInit implements ModInitializer {
// Serialised by string, doesnt seem to be synced
RegistryAttributeHolder.get(Registry.BLOCK_STATE_PROVIDER_TYPE);
// Serialised by string, doesnt seem to be synced
RegistryAttributeHolder.get(Registry.BLOCK_PLACER_TYPE);
// Serialised by string, doesnt seem to be synced
RegistryAttributeHolder.get(Registry.FOLIAGE_PLACER_TYPE);

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-structure-api-v1"
version = getSubprojectVersion(project, "2.0.1")
version = getSubprojectVersion(project, "2.0.2")
moduleDependencies(project, [
'fabric-lifecycle-events-v1',
'fabric-api-base'

View file

@ -68,11 +68,11 @@ public class StructureTest {
}
private static void generate(class_6626 arg, DefaultFeatureConfig defaultFeatureConfig, class_6622.class_6623 arg2) {
int blockX = arg2.comp_127().getStartX();
int blockZ = arg2.comp_127().getStartZ();
int blockY = arg2.comp_125().getHeight(blockX, blockZ, Heightmap.Type.WORLD_SURFACE_WG, arg2.comp_129());
int blockX = arg2.chunkPos().getStartX();
int blockZ = arg2.chunkPos().getStartZ();
int blockY = arg2.chunkGenerator().getHeight(blockX, blockZ, Heightmap.Type.WORLD_SURFACE_WG, arg2.heightAccessor());
TestStructureGenerator generator = new TestStructureGenerator(arg2.comp_130(), blockX, blockY, blockZ);
TestStructureGenerator generator = new TestStructureGenerator(arg2.random(), blockX, blockY, blockZ);
arg.addPiece(generator);
}
}