Class WorldgenRandom

java.lang.Object
java.util.Random
net.minecraft.world.level.levelgen.WorldgenRandom
All Implemented Interfaces:
Serializable, RandomSource

public class WorldgenRandom extends Random implements RandomSource
See Also:
Serialized Form
  • Field Details

    • count

      private int count
  • Constructor Details

    • WorldgenRandom

      public WorldgenRandom()
    • WorldgenRandom

      public WorldgenRandom(long p_64679_)
  • Method Details

    • getCount

      public int getCount()
    • next

      public int next(int p_64708_)
      Overrides:
      next in class Random
    • setBaseChunkSeed

      public long setBaseChunkSeed(int p_64683_, int p_64684_)
    • setDecorationSeed

      public long setDecorationSeed(long p_64691_, int p_64692_, int p_64693_)
    • setFeatureSeed

      public long setFeatureSeed(long p_64700_, int p_64701_, int p_64702_)
    • setLargeFeatureSeed

      public long setLargeFeatureSeed(long p_64704_, int p_64705_, int p_64706_)
    • setBaseStoneSeed

      public long setBaseStoneSeed(long p_158962_, int p_158963_, int p_158964_, int p_158965_)
    • setLargeFeatureWithSalt

      public long setLargeFeatureWithSalt(long p_64695_, int p_64696_, int p_64697_, int p_64698_)
    • seedSlimeChunk

      public static Random seedSlimeChunk(int p_64686_, int p_64687_, long p_64688_, long p_64689_)