GenLayerFuzzyZoom .java

net.minecraft.world.gen.layer.GenLayerFuzzyZoom (class, 18 lines): extends GenLayerZoom. members: selectModeOrRandom.

net.minecraft.world.gen.layerclass18 linescommonextends GenLayerZoom549 B

API Surface (1)

int selectModeOrRandom(int p_151617_1_, int p_151617_2_, int p_151617_3_, int p_151617_4_)

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

GenLayerFuzzyZoom.java18 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.world.gen.layer;
2
3
public class GenLayerFuzzyZoom extends GenLayerZoom
4
{
5
    public GenLayerFuzzyZoom(long p_i2123_1_, GenLayer p_i2123_3_)
6
    {
7
        super(p_i2123_1_, p_i2123_3_);
8
    }
9
10
    /**
11
     * returns the most frequently occurring number of the set, or a random number from those provided
12
     */
13
    protected int selectModeOrRandom(int p_151617_1_, int p_151617_2_, int p_151617_3_, int p_151617_4_)
14
    {
15
        return this.selectRandom(new int[] {p_151617_1_, p_151617_2_, p_151617_3_, p_151617_4_});
16
    }
17
}
18

Deobfuscated MCP 1.8.9 source of GenLayerFuzzyZoom from Marcelektro/MavenMCP-1.8.9 (net/minecraft/world/gen/layer/GenLayerFuzzyZoom.java), stored verbatim.