Stable codec

This commit is contained in:
SD 2020-11-30 13:02:20 +05:30
parent 6a0b7200b5
commit f906a8c1d0
No known key found for this signature in database
GPG key ID: E36B57EE08544BC5

View file

@ -58,7 +58,7 @@ import net.fabricmc.api.Environment;
public class LimboChunkGenerator extends ChunkGenerator {
public static final LimboChunkGenerator INSTANCE = new LimboChunkGenerator(new FixedBiomeSource(() -> ModBiomes.LIMBO_BIOME), new FixedBiomeSource(() -> ModBiomes.LIMBO_BIOME));
public static final Codec<LimboChunkGenerator> CODEC = Codec.unit(INSTANCE);
public static final Codec<LimboChunkGenerator> CODEC = Codec.unit(INSTANCE).stable();
private static final float[] NOISE_WEIGHT_TABLE = NoiseChunkGeneratorAccessor.getNOISE_WEIGHT_TABLE();
private static final float[] BIOME_WEIGHT_TABLE = NoiseChunkGeneratorAccessor.getBIOME_WEIGHT_TABLE();