Class CheckerboardColumnBiomeSource

java.lang.Object
net.minecraft.world.level.biome.BiomeSource
net.minecraft.world.level.biome.CheckerboardColumnBiomeSource
All Implemented Interfaces:
BiomeManager.NoiseBiomeSource

public class CheckerboardColumnBiomeSource extends BiomeSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CheckerboardColumnBiomeSource> CODEC
    • allowedBiomes

      private final List<Supplier<Biome>> allowedBiomes
    • bitShift

      private final int bitShift
    • size

      private final int size
  • Constructor Details

    • CheckerboardColumnBiomeSource

      public CheckerboardColumnBiomeSource(List<Supplier<Biome>> p_48236_, int p_48237_)
  • Method Details

    • codec

      protected com.mojang.serialization.Codec<? extends BiomeSource> codec()
      Specified by:
      codec in class BiomeSource
    • withSeed

      public BiomeSource withSeed(long p_48240_)
      Specified by:
      withSeed in class BiomeSource
    • getNoiseBiome

      public Biome getNoiseBiome(int p_48246_, int p_48247_, int p_48248_)