Class RandomHelper

java.lang.Object
team.lodestar.lodestone.helpers.RandomHelper

public class RandomHelper extends Object
  • Constructor Details

    • RandomHelper

      public RandomHelper()
  • Method Details

    • weightedEasingLerp

      public static float weightedEasingLerp(Easing easing, float pDelta, float pStart, float pEnd)
    • interpolateWithEasing

      public static float interpolateWithEasing(Easing easing, double pDelta, double pStart, double pEnd)
    • randomBetween

      public static int randomBetween(net.minecraft.util.RandomSource pRandom, int min, int max)
    • randomBetween

      public static int randomBetween(net.minecraft.util.RandomSource pRandom, Easing easing, int min, int max)
    • randomBetween

      public static float randomBetween(net.minecraft.util.RandomSource pRandom, float min, float max)
    • randomBetween

      public static float randomBetween(net.minecraft.util.RandomSource pRandom, Easing easing, float min, float max)
    • randomBetween

      public static double randomBetween(net.minecraft.util.RandomSource pRandom, double min, double max)
    • randomBetween

      public static double randomBetween(net.minecraft.util.RandomSource pRandom, Easing easing, double min, double max)