Package net.minecraft.world.gen.carver
Class CanyonWorldCarver
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<WorldCarver<?>>
-
- net.minecraft.world.gen.carver.WorldCarver<ProbabilityConfig>
-
- net.minecraft.world.gen.carver.CanyonWorldCarver
-
- All Implemented Interfaces:
IForgeRegistryEntry<WorldCarver<?>>
- Direct Known Subclasses:
UnderwaterCanyonWorldCarver
public class CanyonWorldCarver extends WorldCarver<ProbabilityConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private float[]
rs
-
Fields inherited from class net.minecraft.world.gen.carver.WorldCarver
AIR, CANYON, CAVE, CAVE_AIR, genHeight, LAVA, liquids, NETHER_CAVE, replaceableBlocks, UNDERWATER_CANYON, UNDERWATER_CAVE, WATER
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description CanyonWorldCarver(com.mojang.serialization.Codec<ProbabilityConfig> p_i231916_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
carve(IChunk p_225555_1_, java.util.function.Function<BlockPos,Biome> p_225555_2_, java.util.Random p_225555_3_, int p_225555_4_, int p_225555_5_, int p_225555_6_, int p_225555_7_, int p_225555_8_, java.util.BitSet p_225555_9_, ProbabilityConfig p_225555_10_)
private void
genCanyon(IChunk p_227204_1_, java.util.function.Function<BlockPos,Biome> p_227204_2_, long p_227204_3_, int p_227204_5_, int p_227204_6_, int p_227204_7_, double p_227204_8_, double p_227204_10_, double p_227204_12_, float p_227204_14_, float p_227204_15_, float p_227204_16_, int p_227204_17_, int p_227204_18_, double p_227204_19_, java.util.BitSet p_227204_21_)
boolean
isStartChunk(java.util.Random p_212868_1_, int p_212868_2_, int p_212868_3_, ProbabilityConfig p_212868_4_)
protected boolean
skip(double p_222708_1_, double p_222708_3_, double p_222708_5_, int p_222708_7_)
-
Methods inherited from class net.minecraft.world.gen.carver.WorldCarver
canReach, canReplaceBlock, canReplaceBlock, carveBlock, carveSphere, configured, configuredCodec, getRange, hasWater
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Constructor Detail
-
CanyonWorldCarver
public CanyonWorldCarver(com.mojang.serialization.Codec<ProbabilityConfig> p_i231916_1_)
-
-
Method Detail
-
isStartChunk
public boolean isStartChunk(java.util.Random p_212868_1_, int p_212868_2_, int p_212868_3_, ProbabilityConfig p_212868_4_)
- Specified by:
isStartChunk
in classWorldCarver<ProbabilityConfig>
-
carve
public boolean carve(IChunk p_225555_1_, java.util.function.Function<BlockPos,Biome> p_225555_2_, java.util.Random p_225555_3_, int p_225555_4_, int p_225555_5_, int p_225555_6_, int p_225555_7_, int p_225555_8_, java.util.BitSet p_225555_9_, ProbabilityConfig p_225555_10_)
- Specified by:
carve
in classWorldCarver<ProbabilityConfig>
-
genCanyon
private void genCanyon(IChunk p_227204_1_, java.util.function.Function<BlockPos,Biome> p_227204_2_, long p_227204_3_, int p_227204_5_, int p_227204_6_, int p_227204_7_, double p_227204_8_, double p_227204_10_, double p_227204_12_, float p_227204_14_, float p_227204_15_, float p_227204_16_, int p_227204_17_, int p_227204_18_, double p_227204_19_, java.util.BitSet p_227204_21_)
-
skip
protected boolean skip(double p_222708_1_, double p_222708_3_, double p_222708_5_, int p_222708_7_)
- Specified by:
skip
in classWorldCarver<ProbabilityConfig>
-
-