Class BiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
All Implemented Interfaces:
BiomeAccess.Storage
Direct Known Subclasses:
CheckerboardBiomeSource, FixedBiomeSource, MultiNoiseBiomeSource, TheEndBiomeSource

public abstract class BiomeSource extends Object implements BiomeAccess.Storage
Mappings:
Namespace Name
official byv
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 Lbyv;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;
    • structureFeatures

      private final ImmutableSet<StructureFeature<?>> structureFeatures
      Mappings:
      Namespace Name Mixin selector
      official b Lbyv;b:Lcom/google/common/collect/ImmutableSet;
      intermediary field_9392 Lnet/minecraft/class_1966;field_9392:Lcom/google/common/collect/ImmutableSet;
      named structureFeatures Lnet/minecraft/world/biome/source/BiomeSource;structureFeatures:Lcom/google/common/collect/ImmutableSet;
    • topMaterials

      private final ImmutableSet<BlockState> topMaterials
      Mappings:
      Namespace Name Mixin selector
      official c Lbyv;c: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 d Lbyv;d: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_34162

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

  • Method Details

    • method_37618

      private static <T> boolean method_37618(Map<T,Set<T>> map, Set<T> set, Set<T> set2, List<T> list, T t)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/lang/Object;)Z
      intermediary method_37618 Lnet/minecraft/class_1966;method_37618(Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/lang/Object;)Z
      named method_37618 Lnet/minecraft/world/biome/source/BiomeSource;method_37618(Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/lang/Object;)Z
    • getCodec

      protected abstract com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;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 Lbyv;a(J)Lbyv;
      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 Lbyv;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)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(IIII)Ljava/util/Set;
      intermediary method_8763 Lnet/minecraft/class_1966;method_8763(IIII)Ljava/util/Set;
      named getBiomesInArea Lnet/minecraft/world/biome/source/BiomeSource;getBiomesInArea(IIII)Ljava/util/Set;
    • locateBiome

      @Nullable public @Nullable BlockPos locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lgh;
      intermediary method_8762 Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/class_2338;
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIILjava/util/function/Predicate;Ljava/util/Random;)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)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lgh;
      intermediary method_24385 Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/class_2338;
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/util/math/BlockPos;
    • hasStructureFeature

      public boolean hasStructureFeature(StructureFeature<?> feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(Lcvl;)Z
      intermediary method_8754 Lnet/minecraft/class_1966;method_8754(Lnet/minecraft/class_3195;)Z
      named hasStructureFeature Lnet/minecraft/world/biome/source/BiomeSource;hasStructureFeature(Lnet/minecraft/world/gen/feature/StructureFeature;)Z
    • method_37614

      public boolean method_37614(BlockState blockState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(Lcma;)Z
      intermediary method_37614 Lnet/minecraft/class_1966;method_37614(Lnet/minecraft/class_2680;)Z
      named method_37614 Lnet/minecraft/world/biome/source/BiomeSource;method_37614(Lnet/minecraft/block/BlockState;)Z
    • method_37612

      public double[] method_37612(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(II)[D
      intermediary method_37612 Lnet/minecraft/class_1966;method_37612(II)[D
      named method_37612 Lnet/minecraft/world/biome/source/BiomeSource;method_37612(II)[D
    • method_37619

      public List<List<ConfiguredFeature<?,?>>> method_37619()
      Mappings:
      Namespace Name Mixin selector
      official c Lbyv;c()Ljava/util/List;
      intermediary method_37619 Lnet/minecraft/class_1966;method_37619()Ljava/util/List;
      named method_37619 Lnet/minecraft/world/biome/source/BiomeSource;method_37619()Ljava/util/List;
    • method_37617

      public void method_37617(List<String> list, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbyv;a(Ljava/util/List;Lgh;)V
      intermediary method_37617 Lnet/minecraft/class_1966;method_37617(Ljava/util/List;Lnet/minecraft/class_2338;)V
      named method_37617 Lnet/minecraft/world/biome/source/BiomeSource;method_37617(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;)V