Class BiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
Direct Known Subclasses:
CheckerboardBiomeSource, FixedBiomeSource, MultiNoiseBiomeSource, TheEndBiomeSource

public abstract class BiomeSource extends Object
Mappings:
Namespace Name
official bzp
intermediary net/minecraft/class_1966
named net/minecraft/world/biome/source/BiomeSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<BiomeSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a:Lcom/mojang/serialization/Codec;
      intermediary field_24713 Lnet/minecraft/class_1966;field_24713:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/biome/source/BiomeSource;CODEC:Lcom/mojang/serialization/Codec;
    • topMaterials

      private final ImmutableSet<BlockState> topMaterials
      Mappings:
      Namespace Name Mixin selector
      official b Lbzp;b:Lcom/google/common/collect/ImmutableSet;
      intermediary field_9390 Lnet/minecraft/class_1966;field_9390:Lcom/google/common/collect/ImmutableSet;
      named topMaterials Lnet/minecraft/world/biome/source/BiomeSource;topMaterials:Lcom/google/common/collect/ImmutableSet;
    • biomes

      private final List<Biome> biomes
      Mappings:
      Namespace Name Mixin selector
      official c Lbzp;c:Ljava/util/List;
      intermediary field_20643 Lnet/minecraft/class_1966;field_20643:Ljava/util/List;
      named biomes Lnet/minecraft/world/biome/source/BiomeSource;biomes:Ljava/util/List;
    • field_34469

      private final ImmutableList<ImmutableList<ConfiguredFeature<?,?>>> field_34469
      Mappings:
      Namespace Name Mixin selector
      official d Lbzp;d:Lcom/google/common/collect/ImmutableList;
      intermediary field_34469 Lnet/minecraft/class_1966;field_34469:Lcom/google/common/collect/ImmutableList;
      named field_34469 Lnet/minecraft/world/biome/source/BiomeSource;field_34469:Lcom/google/common/collect/ImmutableList;
  • Constructor Details

  • Method Details

    • getCodec

      protected abstract com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a()Lcom/mojang/serialization/Codec;
      intermediary method_28442 Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/Codec;
    • withSeed

      public abstract BiomeSource withSeed(long seed)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(J)Lbzp;
      intermediary method_27985 Lnet/minecraft/class_1966;method_27985(J)Lnet/minecraft/class_1966;
      named withSeed Lnet/minecraft/world/biome/source/BiomeSource;withSeed(J)Lnet/minecraft/world/biome/source/BiomeSource;
    • getBiomes

      public List<Biome> getBiomes()
      Mappings:
      Namespace Name Mixin selector
      official b Lbzp;b()Ljava/util/List;
      intermediary method_28443 Lnet/minecraft/class_1966;method_28443()Ljava/util/List;
      named getBiomes Lnet/minecraft/world/biome/source/BiomeSource;getBiomes()Ljava/util/List;
    • getBiomesInArea

      public Set<Biome> getBiomesInArea(int x, int y, int z, int radius, MultiNoiseUtil.MultiNoiseSampler multiNoiseSampler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(IIIILbzt$f;)Ljava/util/Set;
      intermediary method_8763 Lnet/minecraft/class_1966;method_8763(IIIILnet/minecraft/class_6544$class_6552;)Ljava/util/Set;
      named getBiomesInArea Lnet/minecraft/world/biome/source/BiomeSource;getBiomesInArea(IIIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Ljava/util/Set;
    • locateBiome

      @Nullable public @Nullable BlockPos locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(IIIILjava/util/function/Predicate;Ljava/util/Random;Lbzt$f;)Lgh;
      intermediary method_8762 Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Ljava/util/Random;Lnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_2338;
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIILjava/util/function/Predicate;Ljava/util/Random;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/util/math/BlockPos;
    • locateBiome

      @Nullable public @Nullable BlockPos locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;ZLbzt$f;)Lgh;
      intermediary method_24385 Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;ZLnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_2338;
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Ljava/util/Random;ZLnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/util/math/BlockPos;
    • getBiome

      public abstract Biome getBiome(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noiseSampler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(IIILbzt$f;)Lbzm;
      intermediary method_38109 Lnet/minecraft/class_1966;method_38109(IIILnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_1959;
      named getBiome Lnet/minecraft/world/biome/source/BiomeSource;getBiome(IIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/world/biome/Biome;
    • method_38113

      public boolean method_38113(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(Lcmo;)Z
      intermediary method_38113 Lnet/minecraft/class_1966;method_38113(Lnet/minecraft/class_2680;)Z
      named method_38113 Lnet/minecraft/world/biome/source/BiomeSource;method_38113(Lnet/minecraft/block/BlockState;)Z
    • addDebugInfo

      public void addDebugInfo(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzp;a(Ljava/util/List;Lgh;Lbzt$f;)V
      intermediary method_38114 Lnet/minecraft/class_1966;method_38114(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_6544$class_6552;)V
      named addDebugInfo Lnet/minecraft/world/biome/source/BiomeSource;addDebugInfo(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)V
    • method_38115

      public ImmutableList<ImmutableList<ConfiguredFeature<?,?>>> method_38115()
      Mappings:
      Namespace Name Mixin selector
      official c Lbzp;c()Lcom/google/common/collect/ImmutableList;
      intermediary method_38115 Lnet/minecraft/class_1966;method_38115()Lcom/google/common/collect/ImmutableList;
      named method_38115 Lnet/minecraft/world/biome/source/BiomeSource;method_38115()Lcom/google/common/collect/ImmutableList;