Package net.minecraft.world.gen.carver
Class CaveCarver
- Direct Known Subclasses:
NetherCaveCarver
public class CaveCarver extends Carver<class_5871>
- Mappings:
Namespace Name official cofintermediary net/minecraft/class_2925named net/minecraft/world/gen/carver/CaveCarver
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.carver.Carver
Carver.class_5874 -
Field Summary
Fields inherited from class net.minecraft.world.gen.carver.Carver
AIR, alwaysCarvableBlocks, CANYON, carvableFluids, CAVE, CAVE_AIR, LAVA, NETHER_CAVE, WATER -
Constructor Summary
Constructors Constructor Description CaveCarver(com.mojang.serialization.Codec<class_5871> configCodec) -
Method Summary
Modifier and Type Method Description booleancarve(class_5873 class_5873, class_5871 class_5871, Chunk chunk, Function<BlockPos,Biome> function, Random random, int chunkZ, ChunkPos chunkPos, BitSet bitSet)protected voidcarveCave(class_5873 class_5873, class_5871 class_5871, Chunk chunk, Function<BlockPos,Biome> function, long long2, int mainChunkZ, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask, Carver.class_5874 class_5874)protected voidcarveTunnels(class_5873 class_5873, class_5871 class_5871, Chunk chunk, Function<BlockPos,Biome> function, long long2, int mainChunkZ, double double2, double double3, double double4, double double5, double double6, float float2, float float3, float float4, int int2, int int3, double double7, BitSet bitSet, Carver.class_5874 class_5874)protected intgetCaveY(class_5873 class_5873, Random random)protected intgetMaxCaveCount()protected doublegetTunnelSystemHeightWidthRatio()protected floatgetTunnelSystemWidth(Random random)private static booleanmethod_33974(double double2, double double3, double double4, double double5)booleanshouldCarve(class_5871 class_5871, Random random)Methods inherited from class net.minecraft.world.gen.carver.Carver
canAlwaysCarveBlock, canCarveBlock, carveAtPoint, configure, getBranchFactor, getCodec, method_33976, method_33977, method_33978
-
Constructor Details
-
CaveCarver
- Mappings:
Namespace Name Mixin selector official <init>Lcoi;<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
-
-
Method Details
-
shouldCarve
- Specified by:
shouldCarvein classCarver<class_5871>- Mappings:
Namespace Name Mixin selector official aLcoi;a(Lcoc;Ljava/util/Random;)Zintermediary method_12705Lnet/minecraft/class_2939;method_12705(Lnet/minecraft/class_5871;Ljava/util/Random;)Znamed shouldCarveLnet/minecraft/world/gen/carver/Carver;shouldCarve(Lnet/minecraft/class_5871;Ljava/util/Random;)Z
-
carve
public boolean carve(class_5873 class_5873, class_5871 class_5871, Chunk chunk, Function<BlockPos,Biome> function, Random random, int chunkZ, ChunkPos chunkPos, BitSet bitSet)- Specified by:
carvein classCarver<class_5871>- Mappings:
Namespace Name Mixin selector official aLcoi;a(Lcoe;Lcoc;Lckf;Ljava/util/function/Function;Ljava/util/Random;ILbtt;Ljava/util/BitSet;)Zintermediary method_12702Lnet/minecraft/class_2939;method_12702(Lnet/minecraft/class_5873;Lnet/minecraft/class_5871;Lnet/minecraft/class_2791;Ljava/util/function/Function;Ljava/util/Random;ILnet/minecraft/class_1923;Ljava/util/BitSet;)Znamed carveLnet/minecraft/world/gen/carver/Carver;carve(Lnet/minecraft/class_5873;Lnet/minecraft/class_5871;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;Ljava/util/Random;ILnet/minecraft/util/math/ChunkPos;Ljava/util/BitSet;)Z
-
getMaxCaveCount
protected int getMaxCaveCount()- Mappings:
Namespace Name Mixin selector official aLcof;a()Iintermediary method_16577Lnet/minecraft/class_2925;method_16577()Inamed getMaxCaveCountLnet/minecraft/world/gen/carver/CaveCarver;getMaxCaveCount()I
-
getTunnelSystemWidth
- Mappings:
Namespace Name Mixin selector official aLcof;a(Ljava/util/Random;)Fintermediary method_16576Lnet/minecraft/class_2925;method_16576(Ljava/util/Random;)Fnamed getTunnelSystemWidthLnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemWidth(Ljava/util/Random;)F
-
getTunnelSystemHeightWidthRatio
protected double getTunnelSystemHeightWidthRatio()- Mappings:
Namespace Name Mixin selector official bLcof;b()Dintermediary method_16578Lnet/minecraft/class_2925;method_16578()Dnamed getTunnelSystemHeightWidthRatioLnet/minecraft/world/gen/carver/CaveCarver;getTunnelSystemHeightWidthRatio()D
-
getCaveY
- Mappings:
Namespace Name Mixin selector official aLcof;a(Lcoe;Ljava/util/Random;)Iintermediary method_16579Lnet/minecraft/class_2925;method_16579(Lnet/minecraft/class_5873;Ljava/util/Random;)Inamed getCaveYLnet/minecraft/world/gen/carver/CaveCarver;getCaveY(Lnet/minecraft/class_5873;Ljava/util/Random;)I
-
carveCave
protected void carveCave(class_5873 class_5873, class_5871 class_5871, Chunk chunk, Function<BlockPos,Biome> function, long long2, int mainChunkZ, double x, double y, double z, float yaw, double yawPitchRatio, BitSet carvingMask, Carver.class_5874 class_5874)- Mappings:
Namespace Name Mixin selector official aLcof;a(Lcoe;Lcoc;Lckf;Ljava/util/function/Function;JIDDDFDLjava/util/BitSet;Lcoi$a;)Vintermediary method_12674Lnet/minecraft/class_2925;method_12674(Lnet/minecraft/class_5873;Lnet/minecraft/class_5871;Lnet/minecraft/class_2791;Ljava/util/function/Function;JIDDDFDLjava/util/BitSet;Lnet/minecraft/class_2939$class_5874;)Vnamed carveCaveLnet/minecraft/world/gen/carver/CaveCarver;carveCave(Lnet/minecraft/class_5873;Lnet/minecraft/class_5871;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JIDDDFDLjava/util/BitSet;Lnet/minecraft/world/gen/carver/Carver$class_5874;)V
-
carveTunnels
protected void carveTunnels(class_5873 class_5873, class_5871 class_5871, Chunk chunk, Function<BlockPos,Biome> function, long long2, int mainChunkZ, double double2, double double3, double double4, double double5, double double6, float float2, float float3, float float4, int int2, int int3, double double7, BitSet bitSet, Carver.class_5874 class_5874)- Mappings:
Namespace Name Mixin selector official aLcof;a(Lcoe;Lcoc;Lckf;Ljava/util/function/Function;JIDDDDDFFFIIDLjava/util/BitSet;Lcoi$a;)Vintermediary method_12675Lnet/minecraft/class_2925;method_12675(Lnet/minecraft/class_5873;Lnet/minecraft/class_5871;Lnet/minecraft/class_2791;Ljava/util/function/Function;JIDDDDDFFFIIDLjava/util/BitSet;Lnet/minecraft/class_2939$class_5874;)Vnamed carveTunnelsLnet/minecraft/world/gen/carver/CaveCarver;carveTunnels(Lnet/minecraft/class_5873;Lnet/minecraft/class_5871;Lnet/minecraft/world/chunk/Chunk;Ljava/util/function/Function;JIDDDDDFFFIIDLjava/util/BitSet;Lnet/minecraft/world/gen/carver/Carver$class_5874;)V
-
method_33974
private static boolean method_33974(double double2, double double3, double double4, double double5)- Mappings:
Namespace Name Mixin selector official aLcof;a(DDDD)Zintermediary method_33974Lnet/minecraft/class_2925;method_33974(DDDD)Znamed method_33974Lnet/minecraft/world/gen/carver/CaveCarver;method_33974(DDDD)Z
-