How to make a swamp

Started by revmykl777 on Sun, 08/07/2016 - 06:17

Topic category: Help with MCreator's application

Last seen on 21:28, 14. Oct 2019
Joined Oct 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How to make a swamp
Sun, 08/07/2016 - 06:17

Anyone have any idea how to make a swamp biome?

Set height:Min: -0.2
Sun, 08/07/2016 - 10:20

Set height:
Min: -0.2

Max: 0.1

and this should give same colors of grass/leaves:

    @SideOnly(Side.CLIENT)
    public int getGrassColorAtPos(BlockPos pos)
    {
        double d0 = GRASS_COLOR_NOISE.func_151601_a((double)pos.getX() * 0.0225D, (double)pos.getZ() * 0.0225D);
        return d0 < -0.1D ? 5011004 : 6975545;
    }

    @SideOnly(Side.CLIENT)
    public int getFoliageColorAtPos(BlockPos pos)
    {
        return 6975545;
    }