Class EdenDensityFunction

java.lang.Object
paulevs.edenring.world.generator.EdenDensityFunction
All Implemented Interfaces:
net.minecraft.world.level.levelgen.DensityFunction, net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction

public class EdenDensityFunction extends Object implements net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.world.level.levelgen.DensityFunction

    net.minecraft.world.level.levelgen.DensityFunction.ContextProvider, net.minecraft.world.level.levelgen.DensityFunction.FunctionContext, net.minecraft.world.level.levelgen.DensityFunction.NoiseHolder, net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction, net.minecraft.world.level.levelgen.DensityFunction.SinglePointContext, net.minecraft.world.level.levelgen.DensityFunction.Visitor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.util.KeyDispatchDataCodec<EdenDensityFunction>
     

    Fields inherited from interface net.minecraft.world.level.levelgen.DensityFunction

    DIRECT_CODEC, HOLDER_HELPER_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.util.KeyDispatchDataCodec<? extends net.minecraft.world.level.levelgen.DensityFunction>
     
    double
    compute(net.minecraft.world.level.levelgen.DensityFunction.FunctionContext context)
     
    double
     
    double
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction

    abs, clamp, cube, halfNegative, quarterNegative, square, squeeze

    Methods inherited from interface net.minecraft.world.level.levelgen.DensityFunction.SimpleFunction

    fillArray, mapAll
  • Field Details

    • CODEC

      public static final net.minecraft.util.KeyDispatchDataCodec<EdenDensityFunction> CODEC
  • Constructor Details

    • EdenDensityFunction

      public EdenDensityFunction(long seed)
  • Method Details

    • compute

      public double compute(net.minecraft.world.level.levelgen.DensityFunction.FunctionContext context)
      Specified by:
      compute in interface net.minecraft.world.level.levelgen.DensityFunction
    • minValue

      public double minValue()
      Specified by:
      minValue in interface net.minecraft.world.level.levelgen.DensityFunction
    • maxValue

      public double maxValue()
      Specified by:
      maxValue in interface net.minecraft.world.level.levelgen.DensityFunction
    • codec

      public net.minecraft.util.KeyDispatchDataCodec<? extends net.minecraft.world.level.levelgen.DensityFunction> codec()
      Specified by:
      codec in interface net.minecraft.world.level.levelgen.DensityFunction