Class GenLayerZoom

java.lang.Object
net.minecraft.src.GenLayer
net.minecraft.src.GenLayerZoom

public class GenLayerZoom extends GenLayer
  • Constructor Details

    • GenLayerZoom

      public GenLayerZoom(long par1, GenLayer par3GenLayer)
  • 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.
      Specified by:
      getInts in class GenLayer
    • 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

      public static GenLayer magnify(long par0, GenLayer par2GenLayer, int par3)
      Magnify a layer. Parms are seed adjustment, layer, number of times to magnify