Class NotRandomSource
java.lang.Object
net.nikdo53.tinymultiblocklib.components.NotRandomSource
- All Implemented Interfaces:
net.minecraft.util.RandomSource
-
Field Summary
Fields inherited from interface net.minecraft.util.RandomSource
GAUSSIAN_SPREAD_FACTOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.RandomSource
consumeCount, nextInt, nextIntBetweenInclusive, triangle, triangle
-
Constructor Details
-
NotRandomSource
public NotRandomSource()
-
-
Method Details
-
fork
public net.minecraft.util.RandomSource fork()- Specified by:
forkin interfacenet.minecraft.util.RandomSource
-
forkPositional
public net.minecraft.world.level.levelgen.PositionalRandomFactory forkPositional()- Specified by:
forkPositionalin interfacenet.minecraft.util.RandomSource
-
setSeed
public void setSeed(long seed) - Specified by:
setSeedin interfacenet.minecraft.util.RandomSource
-
nextInt
public int nextInt()- Specified by:
nextIntin interfacenet.minecraft.util.RandomSource
-
nextInt
public int nextInt(int bound) - Specified by:
nextIntin interfacenet.minecraft.util.RandomSource
-
nextLong
public long nextLong()- Specified by:
nextLongin interfacenet.minecraft.util.RandomSource
-
nextBoolean
public boolean nextBoolean()- Specified by:
nextBooleanin interfacenet.minecraft.util.RandomSource
-
nextFloat
public float nextFloat()- Specified by:
nextFloatin interfacenet.minecraft.util.RandomSource
-
nextDouble
public double nextDouble()- Specified by:
nextDoublein interfacenet.minecraft.util.RandomSource
-
nextGaussian
public double nextGaussian()- Specified by:
nextGaussianin interfacenet.minecraft.util.RandomSource
-