Class TheEndBiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.TheEndBiomeSource
All Implemented Interfaces:
BiomeAccess.Storage

public class TheEndBiomeSource
extends BiomeSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TheEndBiomeSource> CODEC
    • noise

      private final SimplexNoiseSampler noise
    • biomeRegistry

      private final Registry<Biome> biomeRegistry
    • seed

      private final long seed
    • centerBiome

      private final Biome centerBiome
    • highlandsBiome

      private final Biome highlandsBiome
    • midlandsBiome

      private final Biome midlandsBiome
    • smallIslandsBiome

      private final Biome smallIslandsBiome
    • barrensBiome

      private final Biome barrensBiome
  • Constructor Details

    • TheEndBiomeSource

      public TheEndBiomeSource​(Registry<Biome> biomeRegistry, long seed)
    • TheEndBiomeSource

      private TheEndBiomeSource​(Registry<Biome> biomeRegistry, long seed, Biome centerBiome, Biome highlandsBiome, Biome midlandsBiome, Biome smallIslandsBiome, Biome barrensBiome)
  • Method Details

    • getCodec

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

      @Environment(CLIENT) public BiomeSource withSeed​(long seed)
      Specified by:
      withSeed in class BiomeSource
    • getBiomeForNoiseGen

      public Biome getBiomeForNoiseGen​(int biomeX, int biomeY, int biomeZ)
    • matches

      public boolean matches​(long seed)
    • getNoiseAt

      public static float getNoiseAt​(SimplexNoiseSampler simplexNoiseSampler, int int2, int int3)