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 chx
intermediary net/minecraft/class_1966
named net/minecraft/world/biome/source/BiomeSource
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<RegistryEntry<Biome>>
static final com.mojang.serialization.Codec<BiomeSource>
-
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 sampler) 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) @Nullable com.mojang.datafixers.util.Pair<BlockPos,
RegistryEntry<Biome>> locateBiome
(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lchx;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
Lchx;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;
-
-
Constructor Details
-
BiomeSource
- Mappings:
Namespace Name Mixin selector official <init>
Lchx;<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>
Lchx;<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
-
getCodec
- Mappings:
Namespace Name Mixin selector official a
Lchx;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;
-
getBiomes
- Mappings:
Namespace Name Mixin selector official b
Lchx;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 sampler) - Mappings:
Namespace Name Mixin selector official a
Lchx;a(IIIILcic$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
Lchx;a(IIIILjava/util/function/Predicate;Lamn;Lcic$f;)Lcom/mojang/datafixers/util/Pair;
intermediary method_8762
Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Lnet/minecraft/class_5819;Lnet/minecraft/class_6544$class_6552;)Lcom/mojang/datafixers/util/Pair;
named locateBiome
Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIILjava/util/function/Predicate;Lnet/minecraft/util/math/random/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(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world) - Mappings:
Namespace Name Mixin selector official a
Lchx;a(Lgt;IIILjava/util/function/Predicate;Lcic$f;Lcha;)Lcom/mojang/datafixers/util/Pair;
intermediary method_42310
Lnet/minecraft/class_1966;method_42310(Lnet/minecraft/class_2338;IIILjava/util/function/Predicate;Lnet/minecraft/class_6544$class_6552;Lnet/minecraft/class_4538;)Lcom/mojang/datafixers/util/Pair;
named locateBiome
Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(Lnet/minecraft/util/math/BlockPos;IIILjava/util/function/Predicate;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;Lnet/minecraft/world/WorldView;)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
Lchx;a(IIIIILjava/util/function/Predicate;Lamn;ZLcic$f;)Lcom/mojang/datafixers/util/Pair;
intermediary method_24385
Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Lnet/minecraft/class_5819;ZLnet/minecraft/class_6544$class_6552;)Lcom/mojang/datafixers/util/Pair;
named locateBiome
Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Lnet/minecraft/util/math/random/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
Lchw;getNoiseBiome(IIILcic$f;)Lhc;
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
Lchx;a(Ljava/util/List;Lgt;Lcic$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
-