Package net.minecraft.world.gen.random
Class SimpleRandom
java.lang.Object
net.minecraft.world.gen.random.SimpleRandom
- All Implemented Interfaces:
AbstractRandom,BaseSimpleRandom
- Mappings:
Namespace Name official cxxintermediary net/minecraft/class_6575named net/minecraft/world/gen/random/SimpleRandom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final GaussianGeneratorprivate static final longprivate static final intprivate static final longprivate longprivate static final longFields inherited from interface net.minecraft.world.gen.random.BaseSimpleRandom
DOUBLE_MULTIPLIER, FLOAT_MULTIPLIER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionderive()intmethod_43156(int int2) doublevoidsetSeed(long seed) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.random.AbstractRandom
method_43051, nextBetween, skipMethods inherited from interface net.minecraft.world.gen.random.BaseSimpleRandom
nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong
-
Field Details
-
INT_BITS
private static final int INT_BITS- See Also:
- Mappings:
Namespace Name Mixin selector official cLcxx;c:Iintermediary field_34689Lnet/minecraft/class_6575;field_34689:Inamed INT_BITSLnet/minecraft/world/gen/random/SimpleRandom;INT_BITS:I
-
SEED_MASK
private static final long SEED_MASK- See Also:
- Mappings:
Namespace Name Mixin selector official dLcxx;d:Jintermediary field_34690Lnet/minecraft/class_6575;field_34690:Jnamed SEED_MASKLnet/minecraft/world/gen/random/SimpleRandom;SEED_MASK:J
-
MULTIPLIER
private static final long MULTIPLIER- See Also:
- Mappings:
Namespace Name Mixin selector official eLcxx;e:Jintermediary field_34691Lnet/minecraft/class_6575;field_34691:Jnamed MULTIPLIERLnet/minecraft/world/gen/random/SimpleRandom;MULTIPLIER:J
-
INCREMENT
private static final long INCREMENT- See Also:
- Mappings:
Namespace Name Mixin selector official fLcxx;f:Jintermediary field_34692Lnet/minecraft/class_6575;field_34692:Jnamed INCREMENTLnet/minecraft/world/gen/random/SimpleRandom;INCREMENT:J
-
seed
private long seed- Mappings:
Namespace Name Mixin selector official gLcxx;g:Jintermediary field_34693Lnet/minecraft/class_6575;field_34693:Jnamed seedLnet/minecraft/world/gen/random/SimpleRandom;seed:J
-
gaussianGenerator
- Mappings:
Namespace Name Mixin selector official hLcxx;h:Lcxj;intermediary field_35136Lnet/minecraft/class_6575;field_35136:Lnet/minecraft/class_6672;named gaussianGeneratorLnet/minecraft/world/gen/random/SimpleRandom;gaussianGenerator:Lnet/minecraft/world/gen/random/GaussianGenerator;
-
-
Constructor Details
-
SimpleRandom
public SimpleRandom(long seed) - Mappings:
Namespace Name Mixin selector official <init>Lcxx;<init>(J)Vintermediary <init>Lnet/minecraft/class_6575;<init>(J)Vnamed <init>Lnet/minecraft/world/gen/random/SimpleRandom;<init>(J)V
-
-
Method Details
-
derive
- Specified by:
derivein interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official dLaki;d()Laki;intermediary method_38420Lnet/minecraft/class_5819;method_38420()Lnet/minecraft/class_5819;named deriveLnet/minecraft/world/gen/random/AbstractRandom;derive()Lnet/minecraft/world/gen/random/AbstractRandom;
-
createRandomDeriver
- Specified by:
createRandomDeriverin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official eLaki;e()Lcxu;intermediary method_38421Lnet/minecraft/class_5819;method_38421()Lnet/minecraft/class_6574;named createRandomDeriverLnet/minecraft/world/gen/random/AbstractRandom;createRandomDeriver()Lnet/minecraft/world/gen/random/RandomDeriver;
-
setSeed
public void setSeed(long seed) - Specified by:
setSeedin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official bLaki;b(J)Vintermediary method_43052Lnet/minecraft/class_5819;method_43052(J)Vnamed setSeedLnet/minecraft/world/gen/random/AbstractRandom;setSeed(J)V
-
method_43156
public int method_43156(int int2) - Specified by:
method_43156in interfaceBaseSimpleRandom- Mappings:
Namespace Name Mixin selector official cLcww;c(I)Iintermediary method_43156Lnet/minecraft/class_6566;method_43156(I)Inamed method_43156Lnet/minecraft/world/gen/random/BaseSimpleRandom;method_43156(I)I
-
nextGaussian
public double nextGaussian()- Specified by:
nextGaussianin interfaceAbstractRandom- Mappings:
Namespace Name Mixin selector official kLaki;k()Dintermediary method_43059Lnet/minecraft/class_5819;method_43059()Dnamed nextGaussianLnet/minecraft/world/gen/random/AbstractRandom;nextGaussian()D
-