Package net.minecraft.world.biome.source
Class BiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
- All Implemented Interfaces:
BiomeSupplier
- Direct Known Subclasses:
CheckerboardBiomeSource
,FixedBiomeSource
,MultiNoiseBiomeSource
,TheEndBiomeSource
- Mappings:
Namespace Name official cbv
intermediary net/minecraft/class_1966
named net/minecraft/world/biome/source/BiomeSource
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<RegistryEntry<Biome>>
static final com.mojang.serialization.Codec<BiomeSource>
private final Supplier<List<BiomeSource.IndexedFeatures>>
-
Constructor Summary
ModifierConstructorDescriptionprotected
BiomeSource
(List<RegistryEntry<Biome>> biomes) protected
BiomeSource
(Stream<RegistryEntry<Biome>> biomeStream) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) abstract RegistryEntry<Biome>
getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) getBiomesInArea
(int x, int y, int z, int radius, MultiNoiseUtil.MultiNoiseSampler multiNoiseSampler) protected abstract com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
@Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> locateBiome
(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> locateBiome
(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) private List<BiomeSource.IndexedFeatures>
method_39525
(List<RegistryEntry<Biome>> biomes, boolean bool) abstract BiomeSource
withSeed
(long seed)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcbv;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;
-
biomes
- Mappings:
Namespace Name Mixin selector official b
Lcbv;b:Ljava/util/Set;
intermediary field_20643
Lnet/minecraft/class_1966;field_20643:Ljava/util/Set;
named biomes
Lnet/minecraft/world/biome/source/BiomeSource;biomes:Ljava/util/Set;
-
indexedFeaturesSupplier
- Mappings:
Namespace Name Mixin selector official c
Lcbv;c:Ljava/util/function/Supplier;
intermediary field_34469
Lnet/minecraft/class_1966;field_34469:Ljava/util/function/Supplier;
named indexedFeaturesSupplier
Lnet/minecraft/world/biome/source/BiomeSource;indexedFeaturesSupplier:Ljava/util/function/Supplier;
-
-
Constructor Details
-
BiomeSource
- Mappings:
Namespace Name Mixin selector official <init>
Lcbv;<init>(Ljava/util/stream/Stream;)V
intermediary <init>
Lnet/minecraft/class_1966;<init>(Ljava/util/stream/Stream;)V
named <init>
Lnet/minecraft/world/biome/source/BiomeSource;<init>(Ljava/util/stream/Stream;)V
-
BiomeSource
- Mappings:
Namespace Name Mixin selector official <init>
Lcbv;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_1966;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/world/biome/source/BiomeSource;<init>(Ljava/util/List;)V
-
-
Method Details
-
method_39525
private List<BiomeSource.IndexedFeatures> method_39525(List<RegistryEntry<Biome>> biomes, boolean bool) - Mappings:
Namespace Name Mixin selector official a
Lcbv;a(Ljava/util/List;Z)Ljava/util/List;
intermediary method_39525
Lnet/minecraft/class_1966;method_39525(Ljava/util/List;Z)Ljava/util/List;
named method_39525
Lnet/minecraft/world/biome/source/BiomeSource;method_39525(Ljava/util/List;Z)Ljava/util/List;
-
getCodec
- Mappings:
Namespace Name Mixin selector official a
Lcbv;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
- Mappings:
Namespace Name Mixin selector official a
Lcbv;a(J)Lcbv;
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
- Mappings:
Namespace Name Mixin selector official b
Lcbv;b()Ljava/util/Set;
intermediary method_28443
Lnet/minecraft/class_1966;method_28443()Ljava/util/Set;
named getBiomes
Lnet/minecraft/world/biome/source/BiomeSource;getBiomes()Ljava/util/Set;
-
getBiomesInArea
public Set<RegistryEntry<Biome>> getBiomesInArea(int x, int y, int z, int radius, MultiNoiseUtil.MultiNoiseSampler multiNoiseSampler) - Mappings:
Namespace Name Mixin selector official a
Lcbv;a(IIIILcbz$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 com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(int x, int y, int z, int radius, Predicate<RegistryEntry<Biome>> predicate, Random random, MultiNoiseUtil.MultiNoiseSampler noiseSampler) - Mappings:
Namespace Name Mixin selector official a
Lcbv;a(IIIILjava/util/function/Predicate;Ljava/util/Random;Lcbz$f;)Lcom/mojang/datafixers/util/Pair;
intermediary method_8762
Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Ljava/util/Random;Lnet/minecraft/class_6544$class_6552;)Lcom/mojang/datafixers/util/Pair;
named locateBiome
Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIILjava/util/function/Predicate;Ljava/util/Random;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lcom/mojang/datafixers/util/Pair;
-
locateBiome
@Nullable public @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler) - Mappings:
Namespace Name Mixin selector official a
Lcbv;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;ZLcbz$f;)Lcom/mojang/datafixers/util/Pair;
intermediary method_24385
Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;ZLnet/minecraft/class_6544$class_6552;)Lcom/mojang/datafixers/util/Pair;
named locateBiome
Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Ljava/util/Random;ZLnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lcom/mojang/datafixers/util/Pair;
-
getBiome
public abstract RegistryEntry<Biome> getBiome(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) - Specified by:
getBiome
in interfaceBiomeSupplier
- Mappings:
Namespace Name Mixin selector official getNoiseBiome
Lcbu;getNoiseBiome(IIILcbz$f;)Lgs;
intermediary method_38109
Lnet/minecraft/class_6780;method_38109(IIILnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_6880;
named getBiome
Lnet/minecraft/world/biome/source/BiomeSupplier;getBiome(IIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/util/registry/RegistryEntry;
-
addDebugInfo
public void addDebugInfo(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) - Mappings:
Namespace Name Mixin selector official a
Lcbv;a(Ljava/util/List;Lgj;Lcbz$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
-
getIndexedFeatures
- Mappings:
Namespace Name Mixin selector official c
Lcbv;c()Ljava/util/List;
intermediary method_38115
Lnet/minecraft/class_1966;method_38115()Ljava/util/List;
named getIndexedFeatures
Lnet/minecraft/world/biome/source/BiomeSource;getIndexedFeatures()Ljava/util/List;
-