类 BiomeSource
- java.lang.Object
-
- net.minecraft.world.biome.source.BiomeSource
-
- 所有已实现的接口:
BiomeAccess.Storage
- 直接已知子类:
CheckerboardBiomeSource,FixedBiomeSource,MultiNoiseBiomeSource,TheEndBiomeSource,VanillaLayeredBiomeSource
public abstract class BiomeSource extends Object implements BiomeAccess.Storage
- Mappings:
Namespace Name official bwtintermediary net/minecraft/class_1966named net/minecraft/world/biome/source/BiomeSource
-
-
字段概要
字段 修饰符和类型 字段 说明 protected List<Biome>biomesstatic com.mojang.serialization.Codec<BiomeSource>CODECprotected Map<StructureFeature<?>,Boolean>structureFeaturesprotected Set<BlockState>topMaterials
-
构造器概要
构造器 限定符 构造器 说明 protectedBiomeSource(List<Biome> biomes)protectedBiomeSource(Stream<Supplier<Biome>> stream)
-
方法概要
所有方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 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()booleanhasStructureFeature(StructureFeature<?> feature)@Nullable BlockPoslocateBiome(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)@Nullable BlockPoslocateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)abstract BiomeSourcewithSeed(long seed)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen, getBiomeForNoiseGen
-
-
-
-
字段详细资料
-
CODEC
public static final com.mojang.serialization.Codec<BiomeSource> CODEC
- Mappings:
Namespace Name Mixin selector official aLbwt;a:Lcom/mojang/serialization/Codec;intermediary field_24713Lnet/minecraft/class_1966;field_24713:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/biome/source/BiomeSource;CODEC:Lcom/mojang/serialization/Codec;
-
structureFeatures
protected final Map<StructureFeature<?>,Boolean> structureFeatures
- Mappings:
Namespace Name Mixin selector official bLbwt;b:Ljava/util/Map;intermediary field_9392Lnet/minecraft/class_1966;field_9392:Ljava/util/Map;named structureFeaturesLnet/minecraft/world/biome/source/BiomeSource;structureFeatures:Ljava/util/Map;
-
topMaterials
protected final Set<BlockState> topMaterials
- Mappings:
Namespace Name Mixin selector official cLbwt;c:Ljava/util/Set;intermediary field_9390Lnet/minecraft/class_1966;field_9390:Ljava/util/Set;named topMaterialsLnet/minecraft/world/biome/source/BiomeSource;topMaterials:Ljava/util/Set;
-
-
方法详细资料
-
getCodec
protected abstract com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
- Mappings:
Namespace Name Mixin selector official aLbwt;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
public abstract BiomeSource withSeed(long seed)
- Mappings:
Namespace Name Mixin selector official aLbwt;a(J)Lbwt;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;
-
getBiomes
public List<Biome> getBiomes()
- Mappings:
Namespace Name Mixin selector official bLbwt;b()Ljava/util/List;intermediary method_28443Lnet/minecraft/class_1966;method_28443()Ljava/util/List;named getBiomesLnet/minecraft/world/biome/source/BiomeSource;getBiomes()Ljava/util/List;
-
getBiomesInArea
public Set<Biome> getBiomesInArea(int x, int y, int z, int radius)
- Mappings:
Namespace Name Mixin selector official aLbwt;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;
-
locateBiome
@Nullable public @Nullable BlockPos locateBiome(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
- Mappings:
Namespace Name Mixin selector official aLbwt;a(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lgb;intermediary method_8762Lnet/minecraft/class_1966;method_8762(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/class_2338;named locateBiomeLnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIILjava/util/function/Predicate;Ljava/util/Random;)Lnet/minecraft/util/math/BlockPos;
-
locateBiome
@Nullable public @Nullable 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 aLbwt;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lgb;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;
-
hasStructureFeature
public boolean hasStructureFeature(StructureFeature<?> feature)
- Mappings:
Namespace Name Mixin selector official aLbwt;a(Lcsx;)Zintermediary method_8754Lnet/minecraft/class_1966;method_8754(Lnet/minecraft/class_3195;)Znamed hasStructureFeatureLnet/minecraft/world/biome/source/BiomeSource;hasStructureFeature(Lnet/minecraft/world/gen/feature/StructureFeature;)Z
-
getTopMaterials
public Set<BlockState> getTopMaterials()
- Mappings:
Namespace Name Mixin selector official cLbwt;c()Ljava/util/Set;intermediary method_8761Lnet/minecraft/class_1966;method_8761()Ljava/util/Set;named getTopMaterialsLnet/minecraft/world/biome/source/BiomeSource;getTopMaterials()Ljava/util/Set;
-
-