Package net.minecraft.world.gen
Class LazyAreaLayerContext
java.lang.Object
net.minecraft.world.gen.LazyAreaLayerContext
- All Implemented Interfaces:
IExtendedNoiseRandom<LazyArea>,INoiseRandom
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ImprovedNoiseGeneratorprivate final it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMapprivate final intprivate longprivate final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateResult(IPixelTransformer p_212861_1_) createResult(IPixelTransformer p_212859_1_, LazyArea p_212859_2_) createResult(IPixelTransformer p_212860_1_, LazyArea p_212860_2_, LazyArea p_212860_3_) voidinitRandom(long p_202698_1_, long p_202698_3_) private static longmixSeed(long p_227471_0_, long p_227471_2_) intnextRandom(int p_202696_1_) 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.IExtendedNoiseRandom
random, random
-
Field Details
-
cache
private final it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap cache -
maxCache
private final int maxCache -
biomeNoise
-
seed
private final long seed -
rval
private long rval
-
-
Constructor Details
-
LazyAreaLayerContext
public LazyAreaLayerContext(int p_i51285_1_, long p_i51285_2_, long p_i51285_4_)
-
-
Method Details
-
createResult
- Specified by:
createResultin interfaceIExtendedNoiseRandom<LazyArea>
-
createResult
- Specified by:
createResultin interfaceIExtendedNoiseRandom<LazyArea>
-
createResult
public LazyArea createResult(IPixelTransformer p_212860_1_, LazyArea p_212860_2_, LazyArea p_212860_3_) - Specified by:
createResultin interfaceIExtendedNoiseRandom<LazyArea>
-
initRandom
public void initRandom(long p_202698_1_, long p_202698_3_) - Specified by:
initRandomin interfaceIExtendedNoiseRandom<LazyArea>
-
nextRandom
public int nextRandom(int p_202696_1_) - Specified by:
nextRandomin interfaceINoiseRandom
-
getBiomeNoise
- Specified by:
getBiomeNoisein interfaceINoiseRandom
-
mixSeed
private static long mixSeed(long p_227471_0_, long p_227471_2_)
-