Class AmbientEnvironmentCommon

java.lang.Object
com.blamejared.ambientenvironment.AmbientEnvironmentCommon

public class AmbientEnvironmentCommon extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.level.levelgen.synth.PerlinSimplexNoise
     
    static final net.minecraft.world.level.ColorResolver
     
    static final int
     
    static final List<Integer>
     
    static final net.minecraft.world.level.levelgen.synth.PerlinSimplexNoise
     
    static final net.minecraft.world.level.ColorResolver
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static int
    blend(int color1, int color2, float ratio)
     
    static double
    curve(double start, double end, double amount)
     
    static void
     
    static double
    remap(double value, double currentLow, double currentHigh, double newLow, double newHigh)
     

    Methods inherited from class java.lang.Object

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

    • NOISE_OCTAVES

      public static final int NOISE_OCTAVES
      See Also:
    • OCTAVES

      public static final List<Integer> OCTAVES
    • GRASS_NOISE

      public static final net.minecraft.world.level.levelgen.synth.PerlinSimplexNoise GRASS_NOISE
    • WATER_NOISE

      public static final net.minecraft.world.level.levelgen.synth.PerlinSimplexNoise WATER_NOISE
    • GRASS_RESOLVER

      public static final net.minecraft.world.level.ColorResolver GRASS_RESOLVER
    • WATER_RESOLVER

      public static final net.minecraft.world.level.ColorResolver WATER_RESOLVER
  • Constructor Details

    • AmbientEnvironmentCommon

      public AmbientEnvironmentCommon()
  • Method Details

    • init

      public static void init()
    • remap

      public static double remap(double value, double currentLow, double currentHigh, double newLow, double newHigh)
    • curve

      public static double curve(double start, double end, double amount)
    • blend

      public static int blend(int color1, int color2, float ratio)