Class AmbientEnvironmentCommon
java.lang.Object
com.blamejared.ambientenvironment.AmbientEnvironmentCommon
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.levelgen.synth.PerlinSimplexNoisestatic final net.minecraft.world.level.ColorResolverstatic final intstatic final net.minecraft.world.level.levelgen.synth.PerlinSimplexNoisestatic final net.minecraft.world.level.ColorResolver -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NOISE_OCTAVES
public static final int NOISE_OCTAVES- See Also:
-
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)
-