Skip to content

Commit

Permalink
Update to 24w13a.
Browse files Browse the repository at this point in the history
- Update to 24w13a
- Upgrade to Biolith 2
  • Loading branch information
gniftygnome committed Mar 27, 2024
1 parent 924b971 commit 12f658e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import com.mojang.serialization.Codec;
import com.mojang.serialization.MapCodec;
import com.mojang.serialization.codecs.RecordCodecBuilder;

import net.minecraft.block.BlockState;
Expand All @@ -21,7 +21,7 @@
import java.util.function.BiConsumer;

public class FallenTrunkPlacer extends StraightTrunkPlacer {
public static final Codec<FallenTrunkPlacer> CODEC = RecordCodecBuilder.create((instance) -> fillTrunkPlacerFields(instance).apply(instance, FallenTrunkPlacer::new));
public static final MapCodec<FallenTrunkPlacer> CODEC = RecordCodecBuilder.mapCodec((instance) -> fillTrunkPlacerFields(instance).apply(instance, FallenTrunkPlacer::new));

public FallenTrunkPlacer(int baseHeight, int firstRandomHeight, int secondRandomHeight) {
super(baseHeight, firstRandomHeight, secondRandomHeight);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.terraformersmc.traverse.feature.placer;

import com.mojang.serialization.Codec;
import com.mojang.serialization.MapCodec;
import com.mojang.serialization.codecs.RecordCodecBuilder;

import net.minecraft.util.math.intprovider.ConstantIntProvider;
Expand All @@ -11,7 +11,7 @@
import net.minecraft.world.gen.foliage.FoliagePlacerType;

public class NoneFoliagePlacer extends FoliagePlacer {
public static final Codec<NoneFoliagePlacer> CODEC = RecordCodecBuilder.create((instance) -> fillFoliagePlacerFields(instance).apply(instance, (uniformIntDistribution, uniformIntDistribution2) -> new NoneFoliagePlacer()));
public static final MapCodec<NoneFoliagePlacer> CODEC = RecordCodecBuilder.mapCodec((instance) -> fillFoliagePlacerFields(instance).apply(instance, (uniformIntDistribution, uniformIntDistribution2) -> new NoneFoliagePlacer()));

public NoneFoliagePlacer() {
super(ConstantIntProvider.create(0), ConstantIntProvider.create(0));
Expand Down
20 changes: 10 additions & 10 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ fabric.loom.multiProjectOptimisation=true
maven_group=com.terraformersmc
archive_name=traverse

minecraft_version=24w11a
yarn_mappings=24w11a+build.2
minecraft_version=24w13a
yarn_mappings=24w13a+build.2
loader_version=0.15.7
fabric_version=0.96.10+1.20.5
terraform_biome_remapper_api_version=10.0.0-alpha.7
terraform_config_api_version=10.0.0-alpha.7
terraform_surfaces_api_version=10.0.0-alpha.7
terraform_tree_api_version=10.0.0-alpha.7
terraform_wood_api_version=10.0.0-alpha.7
fabric_version=0.96.13+1.20.5
terraform_biome_remapper_api_version=10.0.0-alpha.8
terraform_config_api_version=10.0.0-alpha.8
terraform_surfaces_api_version=10.0.0-alpha.8
terraform_tree_api_version=10.0.0-alpha.8
terraform_wood_api_version=10.0.0-alpha.8

# Biolith for worldgen module and testing
biolith_version=1.3.0-alpha.2
biolith_version=2.1.0-alpha.1

# TerraBlender for worldgen module and testing
terrablender_version=1.20.4-3.3.0.12
Expand All @@ -38,7 +38,7 @@ curseforge_optional_dependencies=
# Modrinth Metadata
modrinth_slug=traverse
modrinth_id=kXygSBVI
modrinth_game_versions=24w11a
modrinth_game_versions=24w13a
modrinth_mod_loaders=fabric, quilt
modrinth_required_dependencies=fabric-api
#modrinth_embedded_dependencies=biolith
Expand Down

0 comments on commit 12f658e

Please sign in to comment.