Class ClampedNormalFloat

java.lang.Object
net.minecraft.util.valueproviders.FloatProvider
net.minecraft.util.valueproviders.ClampedNormalFloat
All Implemented Interfaces:
SampledFloat

public class ClampedNormalFloat extends FloatProvider
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<ClampedNormalFloat> CODEC
    • mean

      private final float mean
    • deviation

      private final float deviation
    • min

      private final float min
    • max

      private final float max
  • Constructor Details

    • ClampedNormalFloat

      private ClampedNormalFloat(float p_146418_, float p_146419_, float p_146420_, float p_146421_)
  • Method Details