Package net.minecraft.util
Class SharedSeedRandom
- java.lang.Object
-
- java.util.Random
-
- net.minecraft.util.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
-
Constructor Summary
Constructors Constructor Description SharedSeedRandom()
SharedSeedRandom(long p_i48691_1_)
-
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_)
-
-
-
Method Detail
-
consumeCount
public void consumeCount(int p_202423_1_)
-
next
protected int next(int p_next_1_)
- Overrides:
next
in classjava.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_)
-
-