Class LazyAreaContext
java.lang.Object
net.minecraft.world.level.newbiome.context.LazyAreaContext
- All Implemented Interfaces:
BigContext<LazyArea>,Context
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ImprovedNoiseprivate it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMapprivate static intprivate intprivate longprivate long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateResult(PixelTransformer p_76552_)createResult(PixelTransformer p_76541_, LazyArea p_76542_)createResult(PixelTransformer p_76544_, LazyArea p_76545_, LazyArea p_76546_)voidinitRandom(long p_76529_, long p_76530_)private static longmixSeed(long p_76549_, long p_76550_)intnextRandom(int p_76527_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.newbiome.context.BigContext
random, random
-
Field Details
-
MAX_CACHE
private static final int MAX_CACHE- See Also:
- Constant Field Values
-
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
-
LazyAreaContext
public LazyAreaContext(int p_76523_, long p_76524_, long p_76525_)
-
-
Method Details
-
createResult
- Specified by:
createResultin interfaceBigContext<LazyArea>
-
createResult
- Specified by:
createResultin interfaceBigContext<LazyArea>
-
createResult
- Specified by:
createResultin interfaceBigContext<LazyArea>
-
initRandom
public void initRandom(long p_76529_, long p_76530_)- Specified by:
initRandomin interfaceBigContext<LazyArea>
-
nextRandom
public int nextRandom(int p_76527_)- Specified by:
nextRandomin interfaceContext
-
getBiomeNoise
- Specified by:
getBiomeNoisein interfaceContext
-
mixSeed
private static long mixSeed(long p_76549_, long p_76550_)
-