Package net.minecraft.world.biome.source
Class BiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
- Direct Known Subclasses:
CheckerboardBiomeSource,FixedBiomeSource,MultiNoiseBiomeSource,TheEndBiomeSource
- Mappings:
Namespace Name official byzintermediary net/minecraft/class_1966named net/minecraft/world/biome/source/BiomeSource
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BiomeSource>private final ImmutableList<List<ConfiguredFeature<?,?>>> private final ImmutableSet<StructureFeature<?>>private final ImmutableSet<BlockState> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBiomeSource(List<Biome> list) protectedBiomeSource(Stream<Supplier<Biome>> stream) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDebugInfo(List<String> info, BlockPos pos) getBiomesInArea(int x, int y, int z, int radius) protected abstract com.mojang.serialization.Codec<? extends BiomeSource>getCodec()getTerrainParameters(int x, int z) booleanhasStructureFeature(StructureFeature<?> feature) locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool) locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random) booleanmethod_37614(BlockState blockState) private static <T> booleanList<List<ConfiguredFeature<?,?>>> abstract BiomeSourcewithSeed(long seed) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen, getBiomeForNoiseGen
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLbyz;a:Lcom/mojang/serialization/Codec;intermediary field_24713Lnet/minecraft/class_1966;field_24713:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/source/BiomeSource;CODEC:Lcom/mojang/serialization/Codec;
-
structureFeatures
- Mappings:
Namespace Name Mixin selector official bLbyz;b:Lcom/google/common/collect/ImmutableSet;intermediary field_9392Lnet/minecraft/class_1966;field_9392:Lcom/google/common/collect/ImmutableSet;named structureFeaturesLnet/minecraft/world/biome/source/BiomeSource;structureFeatures:Lcom/google/common/collect/ImmutableSet;
-
topMaterials
- Mappings:
Namespace Name Mixin selector official cLbyz;c:Lcom/google/common/collect/ImmutableSet;intermediary field_9390Lnet/minecraft/class_1966;field_9390:Lcom/google/common/collect/ImmutableSet;named topMaterialsLnet/minecraft/world/biome/source/BiomeSource;topMaterials:Lcom/google/common/collect/ImmutableSet;
-
biomes
- Mappings:
Namespace Name Mixin selector official dLbyz;d:Ljava/util/List;intermediary field_20643Lnet/minecraft/class_1966;field_20643:Ljava/util/List;named biomesLnet/minecraft/world/biome/source/BiomeSource;biomes:Ljava/util/List;
-
field_34162
- Mappings:
Namespace Name Mixin selector official eLbyz;e:Lcom/google/common/collect/ImmutableList;intermediary field_34162Lnet/minecraft/class_1966;field_34162:Lcom/google/common/collect/ImmutableList;named field_34162Lnet/minecraft/world/biome/source/BiomeSource;field_34162:Lcom/google/common/collect/ImmutableList;
-
-
Constructor Details
-
BiomeSource
-
BiomeSource
-
-
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 aLbyz;a(Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/lang/Object;)Zintermediary method_37618Lnet/minecraft/class_1966;method_37618(Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/lang/Object;)Znamed method_37618Lnet/minecraft/world/biome/source/BiomeSource;method_37618(Ljava/util/Map;Ljava/util/Set;Ljava/util/Set;Ljava/util/List;Ljava/lang/Object;)Z
-
getCodec
- Mappings:
Namespace Name Mixin selector official aLbyz;a()Lcom/mojang/serialization/Codec;intermediary method_28442Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/Codec;
-
withSeed
- Mappings:
Namespace Name Mixin selector official aLbyz;a(J)Lbyz;intermediary method_27985Lnet/minecraft/class_1966;method_27985(J)Lnet/minecraft/class_1966;named withSeedLnet/minecraft/world/biome/source/BiomeSource;withSeed(J)Lnet/minecraft/world/biome/source/BiomeSource;
-
getBiomes
- Mappings:
Namespace Name Mixin selector official bLbyz;b()Ljava/util/List;intermediary method_28443Lnet/minecraft/class_1966;method_28443()Ljava/util/List;named getBiomesLnet/minecraft/world/biome/source/BiomeSource;getBiomes()Ljava/util/List;
-
getBiomesInArea
- Mappings:
Namespace Name Mixin selector official aLbyz;a(IIII)Ljava/util/Set;intermediary method_8763Lnet/minecraft/class_1966;method_8763(IIII)Ljava/util/Set;named getBiomesInAreaLnet/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 aLbyz;a(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lgh;intermediary method_8762Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/class_2338;named locateBiomeLnet/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 aLbyz;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lgh;intermediary method_24385Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/class_2338;named locateBiomeLnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/util/math/BlockPos;
-
hasStructureFeature
- Mappings:
Namespace Name Mixin selector official aLbyz;a(Lcvp;)Zintermediary method_8754Lnet/minecraft/class_1966;method_8754(Lnet/minecraft/class_3195;)Znamed hasStructureFeatureLnet/minecraft/world/biome/source/BiomeSource;hasStructureFeature(Lnet/minecraft/world/gen/feature/StructureFeature;)Z
-
method_37614
- Mappings:
Namespace Name Mixin selector official aLbyz;a(Lcme;)Zintermediary method_37614Lnet/minecraft/class_1966;method_37614(Lnet/minecraft/class_2680;)Znamed method_37614Lnet/minecraft/world/biome/source/BiomeSource;method_37614(Lnet/minecraft/block/BlockState;)Z
-
getTerrainParameters
- Mappings:
Namespace Name Mixin selector official aLbyz;a(II)Lbyz$a;intermediary method_37845Lnet/minecraft/class_1966;method_37845(II)Lnet/minecraft/class_1966$class_6482;named getTerrainParametersLnet/minecraft/world/biome/source/BiomeSource;getTerrainParameters(II)Lnet/minecraft/world/biome/source/BiomeSource$TerrainParameters;
-
method_37619
- Mappings:
Namespace Name Mixin selector official cLbyz;c()Ljava/util/List;intermediary method_37619Lnet/minecraft/class_1966;method_37619()Ljava/util/List;named method_37619Lnet/minecraft/world/biome/source/BiomeSource;method_37619()Ljava/util/List;
-
addDebugInfo
- Mappings:
Namespace Name Mixin selector official aLbyz;a(Ljava/util/List;Lgh;)Vintermediary method_37617Lnet/minecraft/class_1966;method_37617(Ljava/util/List;Lnet/minecraft/class_2338;)Vnamed addDebugInfoLnet/minecraft/world/biome/source/BiomeSource;addDebugInfo(Ljava/util/List;Lnet/minecraft/util/math/BlockPos;)V
-