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
,VanillaLayeredBiomeSource
public abstract class BiomeSource extends Object implements BiomeAccess.Storage
- Mappings:
Namespace Name official bux
intermediary net/minecraft/class_1966
named net/minecraft/world/biome/source/BiomeSource
-
Field Summary
Fields Modifier and Type Field Description protected List<Biome>
biomes
static com.mojang.serialization.Codec<BiomeSource>
CODEC
protected Map<StructureFeature<?>,Boolean>
structureFeatures
protected Set<BlockState>
topMaterials
-
Constructor Summary
Constructors Modifier Constructor Description protected
BiomeSource(List<Biome> biomes)
protected
BiomeSource(Stream<Supplier<Biome>> stream)
-
Method Summary
Modifier and Type Method Description List<Biome>
getBiomes()
Set<Biome>
getBiomesInArea(int x, int y, int z, int radius)
protected abstract com.mojang.serialization.Codec<? extends BiomeSource>
getCodec()
Set<BlockState>
getTopMaterials()
boolean
hasStructureFeature(StructureFeature<?> feature)
BlockPos
locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
BlockPos
locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
abstract BiomeSource
withSeed(long seed)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen, method_31609
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbux;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;
-
structureFeatures
- Mappings:
Namespace Name Mixin selector official b
Lbux;b:Ljava/util/Map;
intermediary field_9392
Lnet/minecraft/class_1966;field_9392:Ljava/util/Map;
named structureFeatures
Lnet/minecraft/world/biome/source/BiomeSource;structureFeatures:Ljava/util/Map;
-
topMaterials
- Mappings:
Namespace Name Mixin selector official c
Lbux;c:Ljava/util/Set;
intermediary field_9390
Lnet/minecraft/class_1966;field_9390:Ljava/util/Set;
named topMaterials
Lnet/minecraft/world/biome/source/BiomeSource;topMaterials:Ljava/util/Set;
-
biomes
- Mappings:
Namespace Name Mixin selector official d
Lbux;d:Ljava/util/List;
intermediary field_20643
Lnet/minecraft/class_1966;field_20643:Ljava/util/List;
named biomes
Lnet/minecraft/world/biome/source/BiomeSource;biomes:Ljava/util/List;
-
-
Constructor Details
-
BiomeSource
-
BiomeSource
- Mappings:
Namespace Name Mixin selector official <init>
Lbux;<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
Lbux;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
Lbux;a(J)Lbux;
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
Lbux;b()Ljava/util/List;
intermediary method_28443
Lnet/minecraft/class_1966;method_28443()Ljava/util/List;
named getBiomes
Lnet/minecraft/world/biome/source/BiomeSource;getBiomes()Ljava/util/List;
-
getBiomesInArea
- Mappings:
Namespace Name Mixin selector official a
Lbux;a(IIII)Ljava/util/Set;
intermediary method_8763
Lnet/minecraft/class_1966;method_8763(IIII)Ljava/util/Set;
named getBiomesInArea
Lnet/minecraft/world/biome/source/BiomeSource;getBiomesInArea(IIII)Ljava/util/Set;
-
locateBiome
@Nullable public BlockPos locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)- Mappings:
Namespace Name Mixin selector official a
Lbux;a(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lfx;
intermediary method_8762
Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/class_2338;
named locateBiome
Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/util/math/BlockPos;
-
locateBiome
@Nullable public 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 a
Lbux;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lfx;
intermediary method_24385
Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/class_2338;
named locateBiome
Lnet/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 a
Lbux;a(Lcqj;)Z
intermediary method_8754
Lnet/minecraft/class_1966;method_8754(Lnet/minecraft/class_3195;)Z
named hasStructureFeature
Lnet/minecraft/world/biome/source/BiomeSource;hasStructureFeature(Lnet/minecraft/world/gen/feature/StructureFeature;)Z
-
getTopMaterials
- Mappings:
Namespace Name Mixin selector official c
Lbux;c()Ljava/util/Set;
intermediary method_8761
Lnet/minecraft/class_1966;method_8761()Ljava/util/Set;
named getTopMaterials
Lnet/minecraft/world/biome/source/BiomeSource;getTopMaterials()Ljava/util/Set;
-