WrappedGameProfile playerProfile = new WrappedGameProfile(uuid, name); for (ProfileProperty property : profile.getProperties()) { playerProfile.getProperties().put ...