Package net.minecraft.src
Class GenLayerZoom
java.lang.Object
net.minecraft.src.GenLayer
net.minecraft.src.GenLayerZoom
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intchoose(int par1, int par2) Chooses one of the two inputs randomly.int[]getInts(int par1, int par2, int par3, int par4) Returns a list of integer values generated by this layer.static GenLayerMagnify a layer.protected intmodeOrRandom(int par1, int par2, int par3, int par4) returns the mode (most frequently occuring number) or a random number from the 4 integers providedMethods inherited from class net.minecraft.src.GenLayer
initChunkSeed, initializeAllBiomeGenerators, initWorldGenSeed, nextInt
-
Constructor Details
-
GenLayerZoom
-
-
Method Details
-
getInts
public int[] getInts(int par1, int par2, int par3, int par4) Returns a list of integer values generated by this layer. These may be interpreted as temperatures, rainfall amounts, or biomeList[] indices based on the particular GenLayer subclass. -
choose
protected int choose(int par1, int par2) Chooses one of the two inputs randomly. -
modeOrRandom
protected int modeOrRandom(int par1, int par2, int par3, int par4) returns the mode (most frequently occuring number) or a random number from the 4 integers provided -
magnify
Magnify a layer. Parms are seed adjustment, layer, number of times to magnify
-