Package net.minecraft.world.gen
Class LazyAreaLayerContext
java.lang.Object
net.minecraft.world.gen.LazyAreaLayerContext
- All Implemented Interfaces:
IExtendedNoiseRandom<LazyArea>
,INoiseRandom
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImprovedNoiseGenerator
private final it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
private final int
private long
private final long
-
Constructor Summary
-
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_) void
initRandom
(long p_202698_1_, long p_202698_3_) private static long
mixSeed
(long p_227471_0_, long p_227471_2_) int
nextRandom
(int p_202696_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
createResult
in interfaceIExtendedNoiseRandom<LazyArea>
-
createResult
- Specified by:
createResult
in interfaceIExtendedNoiseRandom<LazyArea>
-
createResult
public LazyArea createResult(IPixelTransformer p_212860_1_, LazyArea p_212860_2_, LazyArea p_212860_3_) - Specified by:
createResult
in interfaceIExtendedNoiseRandom<LazyArea>
-
initRandom
public void initRandom(long p_202698_1_, long p_202698_3_) - Specified by:
initRandom
in interfaceIExtendedNoiseRandom<LazyArea>
-
nextRandom
public int nextRandom(int p_202696_1_) - Specified by:
nextRandom
in interfaceINoiseRandom
-
getBiomeNoise
- Specified by:
getBiomeNoise
in interfaceINoiseRandom
-
mixSeed
private static long mixSeed(long p_227471_0_, long p_227471_2_)
-