Class ConfigHeight

java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
com.mrbysco.undergroundvillages.height.ConfigHeight

public class ConfigHeight extends net.minecraft.world.level.levelgen.heightproviders.HeightProvider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<ConfigHeight>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.levelgen.heightproviders.HeightProviderType<?>
     
    int
    sample(net.minecraft.util.RandomSource randomSource, net.minecraft.world.level.levelgen.WorldGenerationContext generationContext)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ConfigHeight> CODEC
  • Constructor Details

    • ConfigHeight

      public ConfigHeight()
  • Method Details

    • sample

      public int sample(net.minecraft.util.RandomSource randomSource, net.minecraft.world.level.levelgen.WorldGenerationContext generationContext)
      Specified by:
      sample in class net.minecraft.world.level.levelgen.heightproviders.HeightProvider
    • getType

      public net.minecraft.world.level.levelgen.heightproviders.HeightProviderType<?> getType()
      Specified by:
      getType in class net.minecraft.world.level.levelgen.heightproviders.HeightProvider