Class FeatureSpread

java.lang.Object
net.minecraft.world.gen.feature.FeatureSpread

public class FeatureSpread extends Object
  • Field Details

    • CODEC

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

      private final int baseValue
    • spread

      private final int spread
  • Constructor Details

    • FeatureSpread

      private FeatureSpread(int p_i241900_1_, int p_i241900_2_)
  • Method Details

    • codec

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

      public static FeatureSpread fixed(int p_242252_0_)
    • of

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

      public int sample(Random p_242259_1_)
    • equals

      public boolean equals(Object p_equals_1_)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object