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 named net/minecraft/world/biome/source/MultiNoiseBiomeSource
intermediary net/minecraft/class_4766
official dej
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.MapCodec
<RegistryEntry<Biome>> private final com.mojang.datafixers.util.Either
<MultiNoiseUtil.Entries<RegistryEntry<Biome>>, RegistryEntry<MultiNoiseBiomeSourceParameterList>> static final com.mojang.serialization.MapCodec
<MultiNoiseBiomeSource> static final com.mojang.serialization.MapCodec
<MultiNoiseUtil.Entries<RegistryEntry<Biome>>> Used to parse a custom biome source, when a preset hasn't been provided.private static final com.mojang.serialization.MapCodec
<RegistryEntry<MultiNoiseBiomeSourceParameterList>> -
Constructor Summary
ModifierConstructorDescriptionprivate
MultiNoiseBiomeSource
(com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>, RegistryEntry<MultiNoiseBiomeSourceParameterList>> biomeEntries) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) protected Stream
<RegistryEntry<Biome>> static MultiNoiseBiomeSource
create
(RegistryEntry<MultiNoiseBiomeSourceParameterList> biomeEntries) static MultiNoiseBiomeSource
create
(MultiNoiseUtil.Entries<RegistryEntry<Biome>> biomeEntries) getBiome
(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise) private MultiNoiseUtil.Entries
<RegistryEntry<Biome>> protected com.mojang.serialization.MapCodec
<? extends BiomeSource> getCodec()
boolean
matchesInstance
(RegistryKey<MultiNoiseBiomeSourceParameterList> parameterList) Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getBiomesInArea, locateBiome, locateBiome, locateBiome
-
Field Details
-
BIOME_CODEC
- Mappings:
Namespace Name Mixin selector named BIOME_CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;BIOME_CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_42984
Lnet/minecraft/class_4766;field_42984:Lcom/mojang/serialization/MapCodec;
official d
Ldej;d:Lcom/mojang/serialization/MapCodec;
-
CUSTOM_CODEC
public static final com.mojang.serialization.MapCodec<MultiNoiseUtil.Entries<RegistryEntry<Biome>>> CUSTOM_CODECUsed to parse a custom biome source, when a preset hasn't been provided.- Mappings:
Namespace Name Mixin selector named CUSTOM_CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CUSTOM_CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_24718
Lnet/minecraft/class_4766;field_24718:Lcom/mojang/serialization/MapCodec;
official b
Ldej;b:Lcom/mojang/serialization/MapCodec;
-
PRESET_CODEC
private static final com.mojang.serialization.MapCodec<RegistryEntry<MultiNoiseBiomeSourceParameterList>> PRESET_CODEC- Mappings:
Namespace Name Mixin selector named PRESET_CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;PRESET_CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_42985
Lnet/minecraft/class_4766;field_42985:Lcom/mojang/serialization/MapCodec;
official e
Ldej;e:Lcom/mojang/serialization/MapCodec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_24719
Lnet/minecraft/class_4766;field_24719:Lcom/mojang/serialization/MapCodec;
official c
Ldej;c:Lcom/mojang/serialization/MapCodec;
-
biomeEntries
private final com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>,RegistryEntry<MultiNoiseBiomeSourceParameterList>> biomeEntries- Mappings:
Namespace Name Mixin selector named biomeEntries
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;biomeEntries:Lcom/mojang/datafixers/util/Either;
intermediary field_34498
Lnet/minecraft/class_4766;field_34498:Lcom/mojang/datafixers/util/Either;
official f
Ldej;f:Lcom/mojang/datafixers/util/Either;
-
-
Constructor Details
-
MultiNoiseBiomeSource
private MultiNoiseBiomeSource(com.mojang.datafixers.util.Either<MultiNoiseUtil.Entries<RegistryEntry<Biome>>, RegistryEntry<MultiNoiseBiomeSourceParameterList>> biomeEntries) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(Lcom/mojang/datafixers/util/Either;)V
intermediary <init>
Lnet/minecraft/class_4766;<init>(Lcom/mojang/datafixers/util/Either;)V
official <init>
Ldej;<init>(Lcom/mojang/datafixers/util/Either;)V
-
-
Method Details
-
create
public static MultiNoiseBiomeSource create(MultiNoiseUtil.Entries<RegistryEntry<Biome>> biomeEntries) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;create(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;)Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;
intermediary method_49501
Lnet/minecraft/class_4766;method_49501(Lnet/minecraft/class_6544$class_6547;)Lnet/minecraft/class_4766;
official a
Ldej;a(Ldef$c;)Ldej;
-
create
public static MultiNoiseBiomeSource create(RegistryEntry<MultiNoiseBiomeSourceParameterList> biomeEntries) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;create(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;
intermediary method_49503
Lnet/minecraft/class_4766;method_49503(Lnet/minecraft/class_6880;)Lnet/minecraft/class_4766;
official a
Ldej;a(Ljm;)Ldej;
-
getBiomeEntries
- Mappings:
Namespace Name Mixin selector named getBiomeEntries
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;getBiomeEntries()Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$Entries;
intermediary method_49506
Lnet/minecraft/class_4766;method_49506()Lnet/minecraft/class_6544$class_6547;
official d
Ldej;d()Ldef$c;
-
biomeStream
- Specified by:
biomeStream
in classBiomeSource
- Mappings:
Namespace Name Mixin selector named biomeStream
Lnet/minecraft/world/biome/source/BiomeSource;biomeStream()Ljava/util/stream/Stream;
intermediary method_49494
Lnet/minecraft/class_1966;method_49494()Ljava/util/stream/Stream;
official b
Ldea;b()Ljava/util/stream/Stream;
-
getCodec
- Specified by:
getCodec
in classBiomeSource
- Mappings:
Namespace Name Mixin selector named getCodec
Lnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/MapCodec;
intermediary method_28442
Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/MapCodec;
official a
Ldea;a()Lcom/mojang/serialization/MapCodec;
-
matchesInstance
- Mappings:
Namespace Name Mixin selector named matchesInstance
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;matchesInstance(Lnet/minecraft/registry/RegistryKey;)Z
intermediary method_38168
Lnet/minecraft/class_4766;method_38168(Lnet/minecraft/class_5321;)Z
official a
Ldej;a(Lakq;)Z
-
getBiome
- Specified by:
getBiome
in interfaceBiomeSupplier
- Specified by:
getBiome
in classBiomeSource
- Mappings:
Namespace Name Mixin selector named getBiome
Lnet/minecraft/world/biome/source/BiomeSupplier;getBiome(IIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_38109
Lnet/minecraft/class_6780;method_38109(IIILnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_6880;
official getNoiseBiome
Lddz;getNoiseBiome(IIILdef$f;)Ljm;
-
getBiomeAtPoint
- Mappings:
Namespace Name Mixin selector named getBiomeAtPoint
Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;getBiomeAtPoint(Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$NoiseValuePoint;)Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_38167
Lnet/minecraft/class_4766;method_38167(Lnet/minecraft/class_6544$class_6553;)Lnet/minecraft/class_6880;
official a
Ldej;a(Ldef$h;)Ljm;
-
addDebugInfo
public void addDebugInfo(List<String> info, BlockPos pos, MultiNoiseUtil.MultiNoiseSampler noiseSampler) - Overrides:
addDebugInfo
in classBiomeSource
- Mappings:
Namespace Name Mixin selector 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
intermediary method_38114
Lnet/minecraft/class_1966;method_38114(Ljava/util/List;Lnet/minecraft/class_2338;Lnet/minecraft/class_6544$class_6552;)V
official a
Ldea;a(Ljava/util/List;Ljd;Ldef$f;)V
-