Package net.minecraft.world.biome.source
Class FixedBiomeSource
java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.FixedBiomeSource
- All Implemented Interfaces:
BiomeAccess.Storage
public class FixedBiomeSource extends BiomeSource
- Mappings:
Namespace Name official bvcintermediary net/minecraft/class_1992named net/minecraft/world/biome/source/FixedBiomeSource
-
Field Summary
Fields Modifier and Type Field Description private Supplier<Biome>biomestatic com.mojang.serialization.Codec<FixedBiomeSource>CODECFields inherited from class net.minecraft.world.biome.source.BiomeSource
biomes, structureFeatures, topMaterials -
Constructor Summary
Constructors Constructor Description FixedBiomeSource(Supplier<Biome> biome)FixedBiomeSource(Biome biome) -
Method Summary
Modifier and Type Method Description BiomegetBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)Set<Biome>getBiomesInArea(int x, int y, int z, int radius)protected com.mojang.serialization.Codec<? extends BiomeSource>getCodec()BlockPoslocateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)BiomeSourcewithSeed(long seed)Methods inherited from class net.minecraft.world.biome.source.BiomeSource
getBiomes, getTopMaterials, hasStructureFeature, locateBiomeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
method_31609
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official eLbvc;e:Lcom/mojang/serialization/Codec;intermediary field_24717Lnet/minecraft/class_1992;field_24717:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/source/FixedBiomeSource;CODEC:Lcom/mojang/serialization/Codec;
-
biome
- Mappings:
Namespace Name Mixin selector official fLbvc;f:Ljava/util/function/Supplier;intermediary field_9486Lnet/minecraft/class_1992;field_9486:Ljava/util/function/Supplier;named biomeLnet/minecraft/world/biome/source/FixedBiomeSource;biome:Ljava/util/function/Supplier;
-
-
Constructor Details
-
FixedBiomeSource
- Mappings:
Namespace Name Mixin selector official <init>Lbvc;<init>(Lbuu;)Vintermediary <init>Lnet/minecraft/class_1992;<init>(Lnet/minecraft/class_1959;)Vnamed <init>Lnet/minecraft/world/biome/source/FixedBiomeSource;<init>(Lnet/minecraft/world/biome/Biome;)V
-
FixedBiomeSource
- Mappings:
Namespace Name Mixin selector official <init>Lbvc;<init>(Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_1992;<init>(Ljava/util/function/Supplier;)Vnamed <init>Lnet/minecraft/world/biome/source/FixedBiomeSource;<init>(Ljava/util/function/Supplier;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodecin classBiomeSource- Mappings:
Namespace Name Mixin selector official aLbux;a()Lcom/mojang/serialization/Codec;intermediary method_28442Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/Codec;named getCodecLnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/Codec;
-
withSeed
- Specified by:
withSeedin classBiomeSource- Mappings:
Namespace Name Mixin selector official aLbux;a(J)Lbux;intermediary method_27985Lnet/minecraft/class_1966;method_27985(J)Lnet/minecraft/class_1966;named withSeedLnet/minecraft/world/biome/source/BiomeSource;withSeed(J)Lnet/minecraft/world/biome/source/BiomeSource;
-
getBiomeForNoiseGen
- Mappings:
Namespace Name Mixin selector official bLbuw$a;b(III)Lbuu;intermediary method_16359Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;named getBiomeForNoiseGenLnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
-
locateBiome
@Nullable public BlockPos locateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)- Overrides:
locateBiomein classBiomeSource- Mappings:
Namespace Name Mixin selector official aLbux;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lfx;intermediary method_24385Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/class_2338;named locateBiomeLnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/util/math/BlockPos;
-
getBiomesInArea
- Overrides:
getBiomesInAreain classBiomeSource- Mappings:
Namespace Name Mixin selector official aLbux;a(IIII)Ljava/util/Set;intermediary method_8763Lnet/minecraft/class_1966;method_8763(IIII)Ljava/util/Set;named getBiomesInAreaLnet/minecraft/world/biome/source/BiomeSource;getBiomesInArea(IIII)Ljava/util/Set;
-