Package net.minecraft.world.biome.source
Class MultiNoiseBiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.MultiNoiseBiomeSource
- All Implemented Interfaces:
BiomeSupplier
- Mappings:
Namespace Name official ccc
intermediary net/minecraft/class_4766
named net/minecraft/world/biome/source/MultiNoiseBiomeSource
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
static class
Nested classes/interfaces inherited from class net.minecraft.world.biome.source.BiomeSource
BiomeSource.IndexedFeatures
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MultiNoiseUtil.Entries<RegistryEntry<Biome>>
static final com.mojang.serialization.Codec<MultiNoiseBiomeSource>
static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource>
Used to parse a custom biome source, when a preset hasn't been provided.private final Optional<MultiNoiseBiomeSource.Instance>
-
Constructor Summary
ModifierConstructorDescriptionprivate
(package private)
MultiNoiseBiomeSource
(MultiNoiseUtil.Entries<RegistryEntry<Biome>> biomeEntries, Optional<MultiNoiseBiomeSource.Instance> instance) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) protected com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
private Optional<MultiNoiseBiomeSource.Instance>
boolean
matchesInstance
(MultiNoiseBiomeSource.Preset instance) withSeed
(long seed) Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getBiomesInArea, getIndexedFeatures, locateBiome, locateBiome
-
Field Details
-
CUSTOM_CODEC
Used to parse a custom biome source, when a preset hasn't been provided.- Mappings:
Namespace Name Mixin selector official b
Lccc;b:Lcom/mojang/serialization/MapCodec;
intermediary field_24718
Lnet/minecraft/class_4766;field_24718:Lcom/mojang/serialization/MapCodec;
named CUSTOM_CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CUSTOM_CODEC:Lcom/mojang/serialization/MapCodec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lccc;c:Lcom/mojang/serialization/Codec;
intermediary field_24719
Lnet/minecraft/class_4766;field_24719:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CODEC:Lcom/mojang/serialization/Codec;
-
biomeEntries
- Mappings:
Namespace Name Mixin selector official d
Lccc;d:Lcbz$c;
intermediary field_34498
Lnet/minecraft/class_4766;field_34498:Lnet/minecraft/class_6544$class_6547;
named biomeEntries
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;biomeEntries:Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;
-
instance
- Mappings:
Namespace Name Mixin selector official e
Lccc;e:Ljava/util/Optional;
intermediary field_24721
Lnet/minecraft/class_4766;field_24721:Ljava/util/Optional;
named instance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;instance:Ljava/util/Optional;
-
-
Constructor Details
-
MultiNoiseBiomeSource
- Mappings:
Namespace Name Mixin selector official <init>
Lccc;<init>(Lcbz$c;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(Lnet/minecraft/class_6544$class_6547;)V
named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;)V
-
MultiNoiseBiomeSource
MultiNoiseBiomeSource(MultiNoiseUtil.Entries<RegistryEntry<Biome>> biomeEntries, Optional<MultiNoiseBiomeSource.Instance> instance) - Mappings:
Namespace Name Mixin selector official <init>
Lccc;<init>(Lcbz$c;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(Lnet/minecraft/class_6544$class_6547;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;Ljava/util/Optional;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodec
in classBiomeSource
- 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
- Specified by:
withSeed
in classBiomeSource
- 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;
-
getInstance
- Mappings:
Namespace Name Mixin selector official d
Lccc;d()Ljava/util/Optional;
intermediary method_31085
Lnet/minecraft/class_4766;method_31085()Ljava/util/Optional;
named getInstance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;getInstance()Ljava/util/Optional;
-
matchesInstance
- Mappings:
Namespace Name Mixin selector official a
Lccc;a(Lccc$a;)Z
intermediary method_38168
Lnet/minecraft/class_4766;method_38168(Lnet/minecraft/class_4766$class_5305;)Z
named matchesInstance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;matchesInstance(Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$Preset;)Z
-
getBiome
- Specified by:
getBiome
in interfaceBiomeSupplier
- Specified by:
getBiome
in classBiomeSource
- 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;
-
getBiomeAtPoint
- Mappings:
Namespace Name Mixin selector official a
Lccc;a(Lcbz$h;)Lgs;
intermediary method_38167
Lnet/minecraft/class_4766;method_38167(Lnet/minecraft/class_6544$class_6553;)Lnet/minecraft/class_6880;
named getBiomeAtPoint
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;getBiomeAtPoint(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Lnet/minecraft/util/registry/RegistryEntry;
-
addDebugInfo
public void addDebugInfo(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) - Overrides:
addDebugInfo
in classBiomeSource
- 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
-