类 RavineCarver
- java.lang.Object
-
- net.minecraft.world.gen.carver.Carver<RavineCarverConfig>
-
- net.minecraft.world.gen.carver.RavineCarver
-
- 直接已知子类:
UnderwaterCanyonCarver
public class RavineCarver extends Carver<RavineCarverConfig>
- Mappings:
Namespace Name official cpjintermediary net/minecraft/class_5870named net/minecraft/world/gen/carver/RavineCarver
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.world.gen.carver.Carver
Carver.SkipPredicate
-
-
字段概要
字段 修饰符和类型 字段 说明 private static LoggerLOGGER-
从类继承的字段 net.minecraft.world.gen.carver.Carver
AIR, alwaysCarvableBlocks, carvableFluids, CAVE, CAVE_AIR, LAVA, NETHER_CAVE, RAVINE, UNDERWATER_CANYON, UNDERWATER_CAVE, WATER
-
-
构造器概要
构造器 构造器 说明 RavineCarver(com.mojang.serialization.Codec<RavineCarverConfig> configCodec)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancarve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)private voidcarveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)private float[]createHorizontalStretchFactors(CarverContext context, RavineCarverConfig config, Random random)private doublegetVerticalScale(RavineCarverConfig config, Random random, double pitch, float branchCount, float branchIndex)private booleanisPositionExcluded(CarverContext context, float[] horizontalStretchFactors, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)booleanshouldCarve(RavineCarverConfig ravineCarverConfig, Random random)-
从类继承的方法 net.minecraft.world.gen.carver.Carver
canAlwaysCarveBlock, canCarveBlock, canCarveBranch, carveAtPoint, carveRegion, configure, getBranchFactor, getCodec, isRegionUncarvable
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official lLcpj;l:Lorg/apache/logging/log4j/Logger;intermediary field_29052Lnet/minecraft/class_5870;field_29052:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/world/gen/carver/RavineCarver;LOGGER:Lorg/apache/logging/log4j/Logger;
-
-
构造器详细资料
-
RavineCarver
public RavineCarver(com.mojang.serialization.Codec<RavineCarverConfig> configCodec)
- Mappings:
Namespace Name Mixin selector official <init>Lcpt;<init>(Lcom/mojang/serialization/Codec;)Vintermediary <init>Lnet/minecraft/class_2939;<init>(Lcom/mojang/serialization/Codec;)Vnamed <init>Lnet/minecraft/world/gen/carver/Carver;<init>(Lcom/mojang/serialization/Codec;)V
-
-
方法详细资料
-
shouldCarve
public boolean shouldCarve(RavineCarverConfig ravineCarverConfig, Random random)
- 指定者:
shouldCarve在类中Carver<RavineCarverConfig>- Mappings:
Namespace Name Mixin selector official aLcpj;a(Lcpi;Ljava/util/Random;)Zintermediary method_33959Lnet/minecraft/class_5870;method_33959(Lnet/minecraft/class_5869;Ljava/util/Random;)Znamed shouldCarveLnet/minecraft/world/gen/carver/RavineCarver;shouldCarve(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)Z
-
carve
public boolean carve(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos,Biome> function, Random random, int int2, ChunkPos chunkPos, BitSet bitSet)
- 指定者:
carve在类中Carver<RavineCarverConfig>- Mappings:
Namespace Name Mixin selector official aLcpj;a(Lcpm;Lcpi;Lclk;Ljava/util/function/Function;Ljava/util/Random;ILbuw;Ljava/util/BitSet;)Zintermediary method_33962Lnet/minecraft/class_5870;method_33962(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;ILnet/minecraft/class_1923;Ljava/util/BitSet;)Znamed carveLnet/minecraft/world/gen/carver/RavineCarver;carve(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;ILnet/minecraft/util/math/ChunkPos;Ljava/util/BitSet;)Z
-
carveRavine
private void carveRavine(CarverContext context, RavineCarverConfig config, Chunk chunk, Function<BlockPos,Biome> posToBiome, long seed, int seaLevel, double x, double y, double z, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, BitSet carvingMask)
- Mappings:
Namespace Name Mixin selector official aLcpj;a(Lcpm;Lcpi;Lclk;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)Vintermediary method_33961Lnet/minecraft/class_5870;method_33961(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Lnet/minecraft/class_2791;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)Vnamed carveRavineLnet/minecraft/world/gen/carver/RavineCarver;carveRavine(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JIDDDFFFIIDLjava/util/BitSet;)V
-
createHorizontalStretchFactors
private float[] createHorizontalStretchFactors(CarverContext context, RavineCarverConfig config, Random random)
- Mappings:
Namespace Name Mixin selector official aLcpj;a(Lcpm;Lcpi;Ljava/util/Random;)[Fintermediary method_33966Lnet/minecraft/class_5870;method_33966(Lnet/minecraft/class_5873;Lnet/minecraft/class_5869;Ljava/util/Random;)[Fnamed createHorizontalStretchFactorsLnet/minecraft/world/gen/carver/RavineCarver;createHorizontalStretchFactors(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;)[F
-
getVerticalScale
private double getVerticalScale(RavineCarverConfig config, Random random, double pitch, float branchCount, float branchIndex)
- Mappings:
Namespace Name Mixin selector official aLcpj;a(Lcpi;Ljava/util/Random;DFF)Dintermediary method_33960Lnet/minecraft/class_5870;method_33960(Lnet/minecraft/class_5869;Ljava/util/Random;DFF)Dnamed getVerticalScaleLnet/minecraft/world/gen/carver/RavineCarver;getVerticalScale(Lnet/minecraft/world/gen/carver/RavineCarverConfig;Ljava/util/Random;DFF)D
-
isPositionExcluded
private boolean isPositionExcluded(CarverContext context, float[] horizontalStretchFactors, double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, int y)
- Mappings:
Namespace Name Mixin selector official aLcpj;a(Lcpm;[FDDDI)Zintermediary method_33964Lnet/minecraft/class_5870;method_33964(Lnet/minecraft/class_5873;[FDDDI)Znamed isPositionExcludedLnet/minecraft/world/gen/carver/RavineCarver;isPositionExcluded(Lnet/minecraft/world/gen/carver/CarverContext;[FDDDI)Z
-
-