WorldManager wm = ClientContextJME.getWorldManager();
WlAvatarCharacter wlc = new WlAvatarCharacter.WlAvatarCharacterBuilder(cp, wm).addEntity(false).build();
// We need to manually apply all of the colors if they are present
ConfigElement ce = params.getElement(ConfigType.HAIR_COLOR);
if (ce != null) {
float r = ((ColorConfigElement)ce).getR();
float g = ((ColorConfigElement)ce).getG();
float b = ((ColorConfigElement)ce).getB();
Manipulator.setHairColor(wlc, new Color(r, g, b));