Class LazyAreaContext
java.lang.Object
net.minecraft.world.level.newbiome.context.LazyAreaContext
- All Implemented Interfaces:
BigContext<LazyArea>
,Context
-
Field Summary
Modifier and TypeFieldDescriptionprivate ImprovedNoise
private it.unimi.dsi.fastutil.longs.Long2IntLinkedOpenHashMap
private static int
private int
private long
private long
-
Constructor Summary
-
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_)
void
initRandom(long p_76529_, long p_76530_)
private static long
mixSeed(long p_76549_, long p_76550_)
int
nextRandom(int p_76527_)
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.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:
createResult
in interfaceBigContext<LazyArea>
-
createResult
- Specified by:
createResult
in interfaceBigContext<LazyArea>
-
createResult
- Specified by:
createResult
in interfaceBigContext<LazyArea>
-
initRandom
public void initRandom(long p_76529_, long p_76530_)- Specified by:
initRandom
in interfaceBigContext<LazyArea>
-
nextRandom
public int nextRandom(int p_76527_)- Specified by:
nextRandom
in interfaceContext
-
getBiomeNoise
- Specified by:
getBiomeNoise
in interfaceContext
-
mixSeed
private static long mixSeed(long p_76549_, long p_76550_)
-