Class AmbientEnvironmentCommon

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

public class AmbientEnvironmentCommon extends Object
  • 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.Noise GRASS_NOISE
    • WATER_NOISE

      public static final net.minecraft.world.level.levelgen.synth.Noise 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)