Package net.minecraft.world.gen.carver
Class CaveCarver
- Direct Known Subclasses:
NetherCaveCarver
- Mappings:
Namespace Name named net/minecraft/world/gen/carver/CaveCarver
intermediary net/minecraft/class_2925
official dzy
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.carver.Carver
Carver.SkipPredicate
-
Field Summary
Fields inherited from class net.minecraft.world.gen.carver.Carver
AIR, carvableFluids, CAVE, CAVE_AIR, LAVA, NETHER_CAVE, RAVINE, WATER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) protected void
carveCave
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected void
carveTunnels
(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) protected int
protected double
protected float
getTunnelSystemWidth
(Random random) private static boolean
isPositionExcluded
(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, double floorY) boolean
shouldCarve
(CaveCarverConfig caveCarverConfig, Random random) Methods inherited from class net.minecraft.world.gen.carver.Carver
canAlwaysCarveBlock, canCarveBranch, carveAtPoint, carveRegion, configure, getBranchFactor, getCodec
-
Constructor Details
-
CaveCarver
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/carver/Carver;<init>(Lcom/mojang/serialization/Codec;)V
intermediary <init>
Lnet/minecraft/class_2939;<init>(Lcom/mojang/serialization/Codec;)V
official <init>
Leab;<init>(Lcom/mojang/serialization/Codec;)V
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarve
in classCarver<CaveCarverConfig>
- Mappings:
Namespace Name Mixin selector named shouldCarve
Lnet/minecraft/world/gen/carver/CaveCarver;shouldCarve(Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/util/math/random/Random;)Z
intermediary method_35358
Lnet/minecraft/class_2925;method_35358(Lnet/minecraft/class_6108;Lnet/minecraft/class_5819;)Z
official a
Ldzy;a(Ldzx;Lazh;)Z
-
carve
public boolean carve(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) - Specified by:
carve
in classCarver<CaveCarverConfig>
- Mappings:
Namespace Name Mixin selector named carve
Lnet/minecraft/world/gen/carver/CaveCarver;carve(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/world/gen/chunk/AquiferSampler;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/world/gen/carver/CarvingMask;)Z
intermediary method_35357
Lnet/minecraft/class_2925;method_35357(Lnet/minecraft/class_5873;Lnet/minecraft/class_6108;Lnet/minecraft/class_2791;Ljava/util/function/Function;Lnet/minecraft/class_5819;Lnet/minecraft/class_6350;Lnet/minecraft/class_1923;Lnet/minecraft/class_6643;)Z
official a
Ldzy;a(Ldzw;Ldzx;Ldua;Ljava/util/function/Function;Lazh;Ldxi;Ldbh;Ldtz;)Z
-
getMaxCaveCount
protected int getMaxCaveCount()- Mappings:
Namespace Name Mixin selector named getMaxCaveCount
Lnet/minecraft/world/gen/carver/CaveCarver;getMaxCaveCount()I
intermediary method_16577
Lnet/minecraft/class_2925;method_16577()I
official a
Ldzy;a()I
-
getTunnelSystemWidth
- Mappings:
Namespace Name Mixin selector named getTunnelSystemWidth
Lnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemWidth(Lnet/minecraft/util/math/random/Random;)F
intermediary method_16576
Lnet/minecraft/class_2925;method_16576(Lnet/minecraft/class_5819;)F
official a
Ldzy;a(Lazh;)F
-
getTunnelSystemHeightWidthRatio
protected double getTunnelSystemHeightWidthRatio()- Mappings:
Namespace Name Mixin selector named getTunnelSystemHeightWidthRatio
Lnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemHeightWidthRatio()D
intermediary method_16578
Lnet/minecraft/class_2925;method_16578()D
official b
Ldzy;b()D
-
carveCave
protected void carveCave(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, AquiferSampler aquiferSampler, double double2, double double3, double double4, float float2, double double5, CarvingMask mask, Carver.SkipPredicate skipPredicate) - Mappings:
Namespace Name Mixin selector named carveCave
Lnet/minecraft/world/gen/carver/CaveCarver;carveCave(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Lnet/minecraft/world/gen/chunk/AquiferSampler;DDDFDLnet/minecraft/world/gen/carver/CarvingMask;Lnet/minecraft/world/gen/carver/Carver$SkipPredicate;)V
intermediary method_12674
Lnet/minecraft/class_2925;method_12674(Lnet/minecraft/class_5873;Lnet/minecraft/class_6108;Lnet/minecraft/class_2791;Ljava/util/function/Function;Lnet/minecraft/class_6350;DDDFDLnet/minecraft/class_6643;Lnet/minecraft/class_2939$class_5874;)V
official a
Ldzy;a(Ldzw;Ldzx;Ldua;Ljava/util/function/Function;Ldxi;DDDFDLdtz;Leab$a;)V
-
carveTunnels
protected void carveTunnels(CarverContext context, CaveCarverConfig config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, long seed, AquiferSampler aquiferSampler, double x, double y, double z, double horizontalScale, double verticalScale, float width, float yaw, float pitch, int branchStartIndex, int branchCount, double yawPitchRatio, CarvingMask mask, Carver.SkipPredicate skipPredicate) - Mappings:
Namespace Name Mixin selector named carveTunnels
Lnet/minecraft/world/gen/carver/CaveCarver;carveTunnels(Lnet/minecraft/world/gen/carver/CarverContext;Lnet/minecraft/world/gen/carver/CaveCarverConfig;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JLnet/minecraft/world/gen/chunk/AquiferSampler;DDDDDFFFIIDLnet/minecraft/world/gen/carver/CarvingMask;Lnet/minecraft/world/gen/carver/Carver$SkipPredicate;)V
intermediary method_12675
Lnet/minecraft/class_2925;method_12675(Lnet/minecraft/class_5873;Lnet/minecraft/class_6108;Lnet/minecraft/class_2791;Ljava/util/function/Function;JLnet/minecraft/class_6350;DDDDDFFFIIDLnet/minecraft/class_6643;Lnet/minecraft/class_2939$class_5874;)V
official a
Ldzy;a(Ldzw;Ldzx;Ldua;Ljava/util/function/Function;JLdxi;DDDDDFFFIIDLdtz;Leab$a;)V
-
isPositionExcluded
private static boolean isPositionExcluded(double scaledRelativeX, double scaledRelativeY, double scaledRelativeZ, double floorY) - Mappings:
Namespace Name Mixin selector named isPositionExcluded
Lnet/minecraft/world/gen/carver/CaveCarver;isPositionExcluded(DDDD)Z
intermediary method_33974
Lnet/minecraft/class_2925;method_33974(DDDD)Z
official a
Ldzy;a(DDDD)Z
-