BiomeGenForest.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:Cauldron 作者:
public BiomeGenBase createMutation()
{
    if (this.biomeID == BiomeGenBase.forest.biomeID)
    {
        BiomeGenForest biomegenforest = new BiomeGenForest(this.biomeID + 128, 1);
        biomegenforest.setHeight(new BiomeGenBase.Height(this.rootHeight, this.heightVariation + 0.2F));
        biomegenforest.setBiomeName("Flower Forest");
        biomegenforest.func_150557_a(6976549, true);
        biomegenforest.func_76733_a(8233509);
        return biomegenforest;
    }
    else
    {
        return this.biomeID != BiomeGenBase.birchForest.biomeID && this.biomeID != BiomeGenBase.birchForestHills.biomeID ? new BiomeGenMutated(this.biomeID + 128, this)
        {
            private static final String __OBFID = "CL_00000172";
            public void decorate(World p_76728_1_, Random p_76728_2_, int p_76728_3_, int p_76728_4_)
            {
                this.baseBiome.decorate(p_76728_1_, p_76728_2_, p_76728_3_, p_76728_4_);
            }
        }: new BiomeGenMutated(this.biomeID + 128, this)
        {
            private static final String __OBFID = "CL_00001861";
            public WorldGenAbstractTree func_150567_a(Random p_150567_1_)
            {
                return p_150567_1_.nextBoolean() ? BiomeGenForest.field_150629_aC : BiomeGenForest.field_150630_aD;
            }
        };
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号