Class FeatureSpread


  • public class FeatureSpread
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FeatureSpread​(int p_i241900_1_, int p_i241900_2_)  
    • Field Detail

      • CODEC

        public static final com.mojang.serialization.Codec<FeatureSpread> CODEC
      • baseValue

        private final int baseValue
      • spread

        private final int spread
    • Constructor Detail

      • FeatureSpread

        private FeatureSpread​(int p_i241900_1_,
                              int p_i241900_2_)
    • Method Detail

      • codec

        public static com.mojang.serialization.Codec<FeatureSpread> codec​(int p_242254_0_,
                                                                          int p_242254_1_,
                                                                          int p_242254_2_)
      • of

        public static FeatureSpread of​(int p_242253_0_,
                                       int p_242253_1_)
      • sample

        public int sample​(java.util.Random p_242259_1_)
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object