Package net.minecraft.world.gen
Class LazyAreaLayerContext
- java.lang.Object
-
- net.minecraft.world.gen.LazyAreaLayerContext
-
- All Implemented Interfaces:
IExtendedNoiseRandom<LazyArea>
,INoiseRandom
public class LazyAreaLayerContext extends java.lang.Object implements IExtendedNoiseRandom<LazyArea>
-
-
Field Summary
Fields Modifier and Type Field Description private ImprovedNoiseGenerator
biomeNoise
private it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
cache
private int
maxCache
private long
rval
private long
seed
-
Constructor Summary
Constructors Constructor Description LazyAreaLayerContext(int p_i51285_1_, long p_i51285_2_, long p_i51285_4_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyArea
createResult(IPixelTransformer p_212861_1_)
LazyArea
createResult(IPixelTransformer p_212859_1_, LazyArea p_212859_2_)
LazyArea
createResult(IPixelTransformer p_212860_1_, LazyArea p_212860_2_, LazyArea p_212860_3_)
ImprovedNoiseGenerator
getBiomeNoise()
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 Detail
-
cache
private final it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap cache
-
maxCache
private final int maxCache
-
biomeNoise
private final ImprovedNoiseGenerator biomeNoise
-
seed
private final long seed
-
rval
private long rval
-
-
Method Detail
-
createResult
public LazyArea createResult(IPixelTransformer p_212861_1_)
- Specified by:
createResult
in interfaceIExtendedNoiseRandom<LazyArea>
-
createResult
public LazyArea createResult(IPixelTransformer p_212859_1_, LazyArea p_212859_2_)
- 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
public ImprovedNoiseGenerator getBiomeNoise()
- Specified by:
getBiomeNoise
in interfaceINoiseRandom
-
mixSeed
private static long mixSeed(long p_227471_0_, long p_227471_2_)
-
-