Class WorldCarver<C extends ICarverConfig>

java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<WorldCarver<?>>
net.minecraft.world.gen.carver.WorldCarver<C>
All Implemented Interfaces:
IForgeRegistryEntry<WorldCarver<?>>
Direct Known Subclasses:
CanyonWorldCarver, CaveWorldCarver

public abstract class WorldCarver<C extends ICarverConfig> extends ForgeRegistryEntry<WorldCarver<?>>
  • Field Details

  • Constructor Details

    • WorldCarver

      public WorldCarver(com.mojang.serialization.Codec<C> p_i231921_1_, int p_i231921_2_)
  • Method Details

    • register

      private static <C extends ICarverConfig, F extends WorldCarver<C>> F register(String p_222699_0_, F p_222699_1_)
    • configured

      public ConfiguredCarver<C> configured(C p_242761_1_)
    • configuredCodec

      public com.mojang.serialization.Codec<ConfiguredCarver<C>> configuredCodec()
    • getRange

      public int getRange()
    • carveSphere

      protected boolean carveSphere(IChunk p_227208_1_, Function<BlockPos,Biome> p_227208_2_, long p_227208_3_, int p_227208_5_, int p_227208_6_, int p_227208_7_, double p_227208_8_, double p_227208_10_, double p_227208_12_, double p_227208_14_, double p_227208_16_, BitSet p_227208_18_)
    • carveBlock

      protected boolean carveBlock(IChunk p_230358_1_, Function<BlockPos,Biome> p_230358_2_, BitSet p_230358_3_, Random p_230358_4_, BlockPos.Mutable p_230358_5_, BlockPos.Mutable p_230358_6_, BlockPos.Mutable p_230358_7_, int p_230358_8_, int p_230358_9_, int p_230358_10_, int p_230358_11_, int p_230358_12_, int p_230358_13_, int p_230358_14_, int p_230358_15_, org.apache.commons.lang3.mutable.MutableBoolean p_230358_16_)
    • carve

      public abstract boolean carve(IChunk p_225555_1_, Function<BlockPos,Biome> p_225555_2_, Random p_225555_3_, int p_225555_4_, int p_225555_5_, int p_225555_6_, int p_225555_7_, int p_225555_8_, BitSet p_225555_9_, C p_225555_10_)
    • isStartChunk

      public abstract boolean isStartChunk(Random p_212868_1_, int p_212868_2_, int p_212868_3_, C p_212868_4_)
    • canReplaceBlock

      protected boolean canReplaceBlock(BlockState p_222706_1_)
    • canReplaceBlock

      protected boolean canReplaceBlock(BlockState p_222707_1_, BlockState p_222707_2_)
    • hasWater

      protected boolean hasWater(IChunk p_222700_1_, int p_222700_2_, int p_222700_3_, int p_222700_4_, int p_222700_5_, int p_222700_6_, int p_222700_7_, int p_222700_8_, int p_222700_9_)
    • isEdge

      private boolean isEdge(int p_222701_1_, int p_222701_2_, int p_222701_3_, int p_222701_4_, int p_222701_5_, int p_222701_6_)
    • canReach

      protected boolean canReach(int p_222702_1_, int p_222702_2_, double p_222702_3_, double p_222702_5_, int p_222702_7_, int p_222702_8_, float p_222702_9_)
    • skip

      protected abstract boolean skip(double p_222708_1_, double p_222708_3_, double p_222708_5_, int p_222708_7_)