Class SharedSeedRandom

  • All Implemented Interfaces:
    java.io.Serializable

    public class SharedSeedRandom
    extends java.util.Random
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int count  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void consumeCount​(int p_202423_1_)  
      protected int next​(int p_next_1_)  
      static java.util.Random seedSlimeChunk​(int p_205190_0_, int p_205190_1_, long p_205190_2_, long p_205190_4_)  
      long setBaseChunkSeed​(int p_202422_1_, int p_202422_2_)  
      long setDecorationSeed​(long p_202424_1_, int p_202424_3_, int p_202424_4_)  
      long setFeatureSeed​(long p_202426_1_, int p_202426_3_, int p_202426_4_)  
      long setLargeFeatureSeed​(long p_202425_1_, int p_202425_3_, int p_202425_4_)  
      long setLargeFeatureWithSalt​(long p_202427_1_, int p_202427_3_, int p_202427_4_, int p_202427_5_)  
      • Methods inherited from class java.util.Random

        doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • count

        private int count
    • Constructor Detail

      • SharedSeedRandom

        public SharedSeedRandom()
      • SharedSeedRandom

        public SharedSeedRandom​(long p_i48691_1_)
    • Method Detail

      • consumeCount

        public void consumeCount​(int p_202423_1_)
      • next

        protected int next​(int p_next_1_)
        Overrides:
        next in class java.util.Random
      • setBaseChunkSeed

        public long setBaseChunkSeed​(int p_202422_1_,
                                     int p_202422_2_)
      • setDecorationSeed

        public long setDecorationSeed​(long p_202424_1_,
                                      int p_202424_3_,
                                      int p_202424_4_)
      • setFeatureSeed

        public long setFeatureSeed​(long p_202426_1_,
                                   int p_202426_3_,
                                   int p_202426_4_)
      • setLargeFeatureSeed

        public long setLargeFeatureSeed​(long p_202425_1_,
                                        int p_202425_3_,
                                        int p_202425_4_)
      • setLargeFeatureWithSalt

        public long setLargeFeatureWithSalt​(long p_202427_1_,
                                            int p_202427_3_,
                                            int p_202427_4_,
                                            int p_202427_5_)
      • seedSlimeChunk

        public static java.util.Random seedSlimeChunk​(int p_205190_0_,
                                                      int p_205190_1_,
                                                      long p_205190_2_,
                                                      long p_205190_4_)